Home
last modified time | relevance | path

Searched refs:rte_bswap16 (Results 1 – 14 of 14) sorted by relevance

/dpdk/lib/eal/ppc/include/
H A Drte_byteorder.h54 #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ? \ macro
70 #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ? \ macro
85 #define rte_cpu_to_be_16(x) rte_bswap16(x)
93 #define rte_be_to_cpu_16(x) rte_bswap16(x)
99 #define rte_cpu_to_le_16(x) rte_bswap16(x)
107 #define rte_le_to_cpu_16(x) rte_bswap16(x)
/dpdk/lib/eal/arm/include/
H A Drte_byteorder.h34 #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ? \ macro
46 #define rte_cpu_to_be_16(x) rte_bswap16(x)
54 #define rte_be_to_cpu_16(x) rte_bswap16(x)
60 #define rte_cpu_to_le_16(x) rte_bswap16(x)
68 #define rte_le_to_cpu_16(x) rte_bswap16(x)
/dpdk/lib/eal/x86/include/
H A Drte_byteorder.h51 #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ? \ macro
67 #define rte_bswap16(x) ((uint16_t)(__builtin_constant_p(x) ? \ macro
77 #define rte_cpu_to_be_16(x) rte_bswap16(x)
85 #define rte_be_to_cpu_16(x) rte_bswap16(x)
/dpdk/app/test/
H A Dtest_byteorder.c33 res_u16 = rte_bswap16(u16); in test_byteorder()
48 res_u16 = rte_bswap16(0x1337); in test_byteorder()
H A Dtest_table_acl.c665 five_tuple.port_src = rte_bswap16(100 + j); in test_pipeline_single_filter()
666 five_tuple.port_dst = rte_bswap16(200 + j); in test_pipeline_single_filter()
/dpdk/lib/eal/include/generic/
H A Drte_byteorder.h159 static uint16_t rte_bswap16(uint16_t _x);
238 #define rte_bswap16(x) __builtin_bswap16(x) macro
/dpdk/drivers/net/txgbe/base/
H A Dtxgbe_osdep.h101 #define le_to_be16(v) rte_bswap16((u16)(v))
104 #define be_to_le16(v) rte_bswap16((u16)(v))
/dpdk/drivers/net/ngbe/base/
H A Dngbe_osdep.h104 #define le_to_be16(v) rte_bswap16((u16)(v))
107 #define be_to_le16(v) rte_bswap16((u16)(v))
/dpdk/drivers/common/dpaax/caamflib/
H A Dcompat.h101 #define swab16(x) rte_bswap16(x)
/dpdk/drivers/net/bnxt/tf_core/
H A Dtfp.h216 #define tfp_bswap_16(val) rte_bswap16(val)
/dpdk/drivers/net/sfc/
H A Dsfc_flow.c361 efx_spec->efs_ether_type = rte_bswap16(spec->type); in sfc_flow_parse_eth()
419 vid = rte_bswap16(spec->tci & mask->tci); in sfc_flow_parse_vlan()
450 efx_spec->efs_ether_type = rte_bswap16(spec->inner_type); in sfc_flow_parse_vlan()
722 efx_spec->efs_rem_port = rte_bswap16(spec->hdr.src_port); in sfc_flow_parse_tcp()
729 efx_spec->efs_loc_port = rte_bswap16(spec->hdr.dst_port); in sfc_flow_parse_tcp()
804 efx_spec->efs_rem_port = rte_bswap16(spec->hdr.src_port); in sfc_flow_parse_udp()
811 efx_spec->efs_loc_port = rte_bswap16(spec->hdr.dst_port); in sfc_flow_parse_udp()
/dpdk/examples/l3fwd-acl/
H A Dmain.c608 rte_bswap16(*(uint16_t *)(ipv4_hdr + 1)), in dump_acl4_rule()
609 rte_bswap16(*((uint16_t *)(ipv4_hdr + 1) + 1))); in dump_acl4_rule()
637 rte_bswap16(*(uint16_t *)(ipv6_hdr + 1)), in dump_acl6_rule()
638 rte_bswap16(*((uint16_t *)(ipv6_hdr + 1) + 1))); in dump_acl6_rule()
/dpdk/lib/net/
H A Drte_ip.h269 tmp = rte_bswap16((uint16_t)tmp); in rte_raw_cksum_mbuf()
/dpdk/drivers/crypto/qat/dev/
H A Dqat_crypto_pmd_gens.h779 rte_bswap16(aad_ccm_real_len); in enqueue_one_aead_job_gen1()