Home
last modified time | relevance | path

Searched refs:DPAA2_ETH_BUFS_PER_CMD (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-eth.h71 (DPAA2_ETH_NUM_BUFS - DPAA2_ETH_BUFS_PER_CMD)
95 #define DPAA2_ETH_BUFS_PER_CMD 7 macro
502 u64 recycled_bufs[DPAA2_ETH_BUFS_PER_CMD];
H A Ddpaa2-eth.c314 if (ch->recycled_bufs_cnt < DPAA2_ETH_BUFS_PER_CMD) in dpaa2_eth_recycle_buf()
1679 struct xdp_buff *xdp_buffs[DPAA2_ETH_BUFS_PER_CMD]; in dpaa2_eth_add_bufs()
1681 u64 buf_array[DPAA2_ETH_BUFS_PER_CMD]; in dpaa2_eth_add_bufs()
1691 for (i = 0; i < DPAA2_ETH_BUFS_PER_CMD; i++) { in dpaa2_eth_add_bufs()
1715 } else if (xsk_buff_can_alloc(ch->xsk_pool, DPAA2_ETH_BUFS_PER_CMD)) { in dpaa2_eth_add_bufs()
1721 DPAA2_ETH_BUFS_PER_CMD); in dpaa2_eth_add_bufs()
1786 for (i = 0; i < DPAA2_ETH_NUM_BUFS; i += DPAA2_ETH_BUFS_PER_CMD) { in dpaa2_eth_seed_pool()
1790 if (new_count < DPAA2_ETH_BUFS_PER_CMD) in dpaa2_eth_seed_pool()
1827 u64 buf_array[DPAA2_ETH_BUFS_PER_CMD]; in dpaa2_eth_drain_bufs()
1855 dpaa2_eth_drain_bufs(priv, bpid, DPAA2_ETH_BUFS_PER_CMD); in dpaa2_eth_drain_pool()