Home
last modified time | relevance | path

Searched refs:ring_idx (Results 1 – 6 of 6) sorted by relevance

/drivers/net/vmxnet3/
Dvmxnet3_drv.c561 vmxnet3_rq_alloc_rx_buf(struct vmxnet3_rx_queue *rq, u32 ring_idx, in vmxnet3_rq_alloc_rx_buf() argument
565 struct vmxnet3_rx_buf_info *rbi_base = rq->buf_info[ring_idx]; in vmxnet3_rq_alloc_rx_buf()
566 struct vmxnet3_cmd_ring *ring = &rq->rx_ring[ring_idx]; in vmxnet3_rq_alloc_rx_buf()
1281 u32 idx, ring_idx; in vmxnet3_rq_rx_complete() local
1292 ring_idx = VMXNET3_GET_RING_IDX(adapter, rcd->rqID); in vmxnet3_rq_rx_complete()
1293 ring = rq->rx_ring + ring_idx; in vmxnet3_rq_rx_complete()
1294 vmxnet3_getRxDesc(rxd, &rq->rx_ring[ring_idx].base[idx].rxd, in vmxnet3_rq_rx_complete()
1296 rbi = rq->buf_info[ring_idx] + idx; in vmxnet3_rq_rx_complete()
1322 ring_idx, idx); in vmxnet3_rq_rx_complete()
1517 ring = rq->rx_ring + ring_idx; in vmxnet3_rq_rx_complete()
[all …]
Dvmxnet3_int.h407 #define VMXNET3_RX_ALLOC_THRESHOLD(rq, ring_idx, adapter) \ argument
408 ((rq)->rx_ring[ring_idx].size >> 3)
/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_rcb.c431 struct rcb_common_cb *rcb_common, int ring_idx) in hns_rcb_get_port_in_comm() argument
433 return ring_idx / (rcb_common->max_q_per_vf * rcb_common->max_vfn); in hns_rcb_get_port_in_comm()
/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c1511 static int mlx4_en_init_affinity_hint(struct mlx4_en_priv *priv, int ring_idx) in mlx4_en_init_affinity_hint() argument
1513 struct mlx4_en_rx_ring *ring = priv->rx_ring[ring_idx]; in mlx4_en_init_affinity_hint()
1519 cpumask_set_cpu(cpumask_local_spread(ring_idx, numa_node), in mlx4_en_init_affinity_hint()
1524 static void mlx4_en_free_affinity_hint(struct mlx4_en_priv *priv, int ring_idx) in mlx4_en_free_affinity_hint() argument
1526 free_cpumask_var(priv->rx_ring[ring_idx]->affinity_mask); in mlx4_en_free_affinity_hint()
/drivers/net/ethernet/broadcom/
Dbnx2.c3037 u32 ring_idx) in bnx2_rx_skb() argument
3040 u16 prod = ring_idx & 0xffff; in bnx2_rx_skb()
3045 bnx2_reuse_rx_data(bp, rxr, data, (u16) (ring_idx >> 16), prod); in bnx2_rx_skb()
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c1879 int ring_idx = j & bp->tx_ring_mask; in bnxt_free_tx_skbs() local
1882 tx_buf = &txr->tx_buf_ring[ring_idx]; in bnxt_free_tx_skbs()