Home
last modified time | relevance | path

Searched refs:xdp_count (Results 1 – 5 of 5) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dxdp_redirect_map.c41 static int xdp_count(struct xdp_md *xdp, __u32 key) in xdp_count() function
64 return xdp_count(xdp, 0); in xdp_count_0()
70 return xdp_count(xdp, 1); in xdp_count_1()
76 return xdp_count(xdp, 2); in xdp_count_2()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_lib.c835 int xdp_count, int xdp_idx, in ixgbe_alloc_q_vector() argument
845 ring_count = txr_count + rxr_count + xdp_count; in ixgbe_alloc_q_vector()
935 while (xdp_count) { in ixgbe_alloc_q_vector()
956 xdp_count--; in ixgbe_alloc_q_vector()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_ethtool.c1829 int xdp_count; in mlx4_en_set_channels() local
1841 xdp_count = priv->tx_ring_num[TX_XDP] ? channel->rx_count : 0; in mlx4_en_set_channels()
1842 total_tx_count = channel->tx_count * priv->prof->num_up + xdp_count; in mlx4_en_set_channels()
1854 new_prof.tx_ring_num[TX_XDP] = xdp_count; in mlx4_en_set_channels()
/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_txrx.c1622 int xdp_count = 0, qt_count, err; in fbnic_alloc_napi_vector() local
1629 xdp_count = 1; in fbnic_alloc_napi_vector()
1704 if (xdp_count > 0) { in fbnic_alloc_napi_vector()
1709 xdp_count--; in fbnic_alloc_napi_vector()
/linux/drivers/net/ethernet/intel/ixgbevf/
H A Dixgbevf_main.c2756 int xdp_count, int xdp_idx, in ixgbevf_alloc_q_vector() argument
2764 ring_count = txr_count + xdp_count + rxr_count; in ixgbevf_alloc_q_vector()
2811 while (xdp_count) { in ixgbevf_alloc_q_vector()
2832 xdp_count--; in ixgbevf_alloc_q_vector()