| /dpdk/drivers/net/nfp/ |
| H A D | nfp_ctrl.h | 212 #define NFP_NET_CFG_RSS_MASK_of(_x) ((_x) & 0x7f) argument 237 #define NFP_NET_CFG_TXR_ADDR(_x) (NFP_NET_CFG_TXR_BASE + ((_x) * 0x8)) argument 239 ((_x) * 0x8)) 240 #define NFP_NET_CFG_TXR_SZ(_x) (NFP_NET_CFG_TXR_BASE + 0x400 + (_x)) argument 241 #define NFP_NET_CFG_TXR_VEC(_x) (NFP_NET_CFG_TXR_BASE + 0x440 + (_x)) argument 242 #define NFP_NET_CFG_TXR_PRIO(_x) (NFP_NET_CFG_TXR_BASE + 0x480 + (_x)) argument 244 ((_x) * 0x4)) 261 ((_x) * 0x4)) 274 #define NFP_NET_CFG_ICR(_x) (NFP_NET_CFG_ICR_BASE + (_x)) argument 312 ((_x) * 0x10)) [all …]
|
| H A D | nfp_common.h | 36 #define NFP_QCP_QUEUE_OFF(_x) ((_x) * 0x800) argument
|
| /dpdk/lib/eal/ppc/include/ |
| H A D | rte_byteorder.h | 23 static inline uint16_t rte_arch_bswap16(uint16_t _x) in rte_arch_bswap16() argument 25 return (_x >> 8) | ((_x << 8) & 0xff00); in rte_arch_bswap16() 33 static inline uint32_t rte_arch_bswap32(uint32_t _x) in rte_arch_bswap32() argument 35 return (_x >> 24) | ((_x >> 8) & 0xff00) | ((_x << 8) & 0xff0000) | in rte_arch_bswap32() 36 ((_x << 24) & 0xff000000); in rte_arch_bswap32() 45 static inline uint64_t rte_arch_bswap64(uint64_t _x) in rte_arch_bswap64() argument 47 return (_x >> 56) | ((_x >> 40) & 0xff00) | ((_x >> 24) & 0xff0000) | in rte_arch_bswap64() 48 ((_x >> 8) & 0xff000000) | ((_x << 8) & (0xffULL << 32)) | in rte_arch_bswap64() 49 ((_x << 24) & (0xffULL << 40)) | in rte_arch_bswap64() 50 ((_x << 40) & (0xffULL << 48)) | ((_x << 56)); in rte_arch_bswap64()
|
| /dpdk/app/test-flow-perf/ |
| H A D | config.h | 5 #define FLOW_ITEM_MASK(_x) (UINT64_C(1) << _x) argument 6 #define FLOW_ACTION_MASK(_x) (UINT64_C(1) << _x) argument 7 #define FLOW_ATTR_MASK(_x) (UINT64_C(1) << _x) argument
|
| /dpdk/drivers/net/nfp/nfpcore/ |
| H A D | nfp_nsp.h | 20 typeof(_mask) _x = (_mask); \ 21 (typeof(_x))(((_reg) & (_x)) >> __bf_shf(_x)); \ 26 typeof(_mask) _x = (_mask); \ 27 !((((typeof(_x))_val) << __bf_shf(_x)) & ~(_x)); \ 32 typeof(_mask) _x = (_mask); \ 33 ((typeof(_x))(_val) << __bf_shf(_x)) & (_x); \
|
| H A D | nfp_nsp_eth.c | 21 typeof(_mask) _x = (_mask); \ 22 (typeof(_x))(((_reg) & (_x)) >> __bf_shf(_x)); \ 27 typeof(_mask) _x = (_mask); \ 28 !((((typeof(_x))_val) << __bf_shf(_x)) & ~(_x)); \ 33 typeof(_mask) _x = (_mask); \ 34 ((typeof(_x))(_val) << __bf_shf(_x)) & (_x); \ 550 typeof(mask) _x = (mask); \ 551 nfp_eth_set_bit_config(nsp, raw_idx, _x, __bf_shf(_x), \
|
| H A D | nfp_cpp_pcie_ops.c | 42 #define NFP_PCIE_BAR_PCIE2CPP_ACTION_BASEADDRESS(_x) (((_x) & 0x1f) << 16) argument 43 #define NFP_PCIE_BAR_PCIE2CPP_BASEADDRESS(_x) (((_x) & 0xffff) << 0) argument 44 #define NFP_PCIE_BAR_PCIE2CPP_LENGTHSELECT(_x) (((_x) & 0x3) << 27) argument 48 #define NFP_PCIE_BAR_PCIE2CPP_MAPTYPE(_x) (((_x) & 0x7) << 29) argument 49 #define NFP_PCIE_BAR_PCIE2CPP_MAPTYPE_OF(_x) (((_x) >> 29) & 0x7) argument 54 #define NFP_PCIE_BAR_PCIE2CPP_TARGET_BASEADDRESS(_x) (((_x) & 0xf) << 23) argument 55 #define NFP_PCIE_BAR_PCIE2CPP_TOKEN_BASEADDRESS(_x) (((_x) & 0x3) << 21) argument
|
| H A D | nfp_rtsym.c | 106 typeof(x) _x = (x); \ 107 ((((_x) - 1) | __round_mask(_x, y)) + 1); \ 112 typeof(x) _x = (x); \ 113 ((_x) & ~__round_mask(_x, y)); \
|
| H A D | nfp_nffw.c | 63 #define NFP_IMB_TGTADDRESSMODECFG_MODE_of(_x) (((_x) >> 13) & 0x7) argument
|
| /dpdk/drivers/common/sfc_efx/base/ |
| H A D | efx_types.h | 271 #define __NOSWAP16(_x) (_x) argument 272 #define __NOSWAP32(_x) (_x) argument 273 #define __NOSWAP64(_x) (_x) argument 277 #define __CPU_TO_LE_16(_x) ((uint16_t)__SWAP16(_x)) argument 278 #define __LE_TO_CPU_16(_x) ((uint16_t)__SWAP16(_x)) argument 282 #define __CPU_TO_LE_32(_x) ((uint32_t)__SWAP32(_x)) argument 283 #define __LE_TO_CPU_32(_x) ((uint32_t)__SWAP32(_x)) argument 287 #define __CPU_TO_LE_64(_x) ((uint64_t)__SWAP64(_x)) argument 315 #define __NATIVE_8(_x) (uint8_t)(_x) argument 375 #define FIX_LINT(_x) (_x + fix_lint) argument [all …]
|
| H A D | efx_annote.h | 56 #define __success(_x) argument
|
| H A D | efx_regs_mcdi.h | 222 #define MC_CMD_SENSOR_INFO_OUT_OFFSET_OFST(_x) \ argument 223 (MC_CMD_SENSOR_ENTRY_OFST + (_x))
|
| /dpdk/lib/eal/x86/include/ |
| H A D | rte_byteorder.h | 26 static inline uint16_t rte_arch_bswap16(uint16_t _x) in rte_arch_bswap16() argument 28 uint16_t x = _x; in rte_arch_bswap16() 41 static inline uint32_t rte_arch_bswap32(uint32_t _x) in rte_arch_bswap32() argument 43 uint32_t x = _x; in rte_arch_bswap32()
|
| H A D | rte_byteorder_64.h | 21 static inline uint64_t rte_arch_bswap64(uint64_t _x) in rte_arch_bswap64() argument 23 uint64_t x = _x; in rte_arch_bswap64()
|
| /dpdk/drivers/net/axgbe/ |
| H A D | axgbe_ethdev.h | 75 #define AXGMAC_FIFO_ALIGN(_x) \ argument 76 (((_x) + AXGMAC_FIFO_UNIT - 1) & ~(XGMAC_FIFO_UNIT - 1)) 87 #define AXGMAC_FLOW_CONTROL_ALIGN(_x) \ argument 88 (((_x) + AXGMAC_FLOW_CONTROL_UNIT - 1) & \ 90 #define AXGMAC_FLOW_CONTROL_VALUE(_x) \ argument 91 (((_x) < 1024) ? 0 : ((_x) / AXGMAC_FLOW_CONTROL_UNIT) - 2)
|
| /dpdk/drivers/net/nfp/nfpcore/nfp-common/ |
| H A D | nfp_resid.h | 156 typeof(x) _x = (x); \ 157 (NFP_FAMILY_IS_ARCH_TH(_x) ? NFP_CHIP_ARCH_TH : \ 158 NFP_FAMILY_IS_ARCH_YD(_x) ? NFP_CHIP_ARCH_YD : -1) \
|
| /dpdk/drivers/common/sfc_efx/ |
| H A D | efsys.h | 756 #define EFSYS_ASSERT3(_x, _op, _y, _t) EFSYS_ASSERT((_t)(_x) _op (_t)(_y)) argument 758 #define EFSYS_ASSERT3U(_x, _op, _y) EFSYS_ASSERT3(_x, _op, _y, uint64_t) argument 759 #define EFSYS_ASSERT3S(_x, _op, _y) EFSYS_ASSERT3(_x, _op, _y, int64_t) argument 760 #define EFSYS_ASSERT3P(_x, _op, _y) EFSYS_ASSERT3(_x, _op, _y, uintptr_t) argument
|
| /dpdk/lib/eal/arm/include/ |
| H A D | rte_byteorder.h | 23 static inline uint16_t rte_arch_bswap16(uint16_t _x) in rte_arch_bswap16() argument 25 uint16_t x = _x; in rte_arch_bswap16()
|
| /dpdk/lib/eal/include/generic/ |
| H A D | rte_byteorder.h | 159 static uint16_t rte_bswap16(uint16_t _x);
|
| /dpdk/drivers/net/bnxt/ |
| H A D | bnxt_ethdev.c | 4830 #define clamp_t(type, _x, min, max) min_t(type, max_t(type, _x, min), max) argument
|