/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_debugfs.c | 64 static void debugfs_dim_ring_init(struct dim *dim, int ring_idx, in debugfs_dim_ring_init() argument 69 snprintf(qname, 10, "%d", ring_idx); in debugfs_dim_ring_init()
|
D | bnxt_ulp.h | 25 u32 ring_idx; member
|
D | bnxt_ulp.c | 106 ent[i].ring_idx = idx + i; in bnxt_fill_msix_vecs()
|
D | bnxt.c | 2525 int ring_idx = j & bp->tx_ring_mask; in bnxt_free_tx_skbs() local 2528 tx_buf = &txr->tx_buf_ring[ring_idx]; in bnxt_free_tx_skbs()
|
/drivers/net/vmxnet3/ |
D | vmxnet3_drv.c | 566 vmxnet3_rq_alloc_rx_buf(struct vmxnet3_rx_queue *rq, u32 ring_idx, in vmxnet3_rq_alloc_rx_buf() argument 570 struct vmxnet3_rx_buf_info *rbi_base = rq->buf_info[ring_idx]; in vmxnet3_rq_alloc_rx_buf() 571 struct vmxnet3_cmd_ring *ring = &rq->rx_ring[ring_idx]; in vmxnet3_rq_alloc_rx_buf() 1302 u32 idx, ring_idx; in vmxnet3_rq_rx_complete() local 1319 ring_idx = VMXNET3_GET_RING_IDX(adapter, rcd->rqID); in vmxnet3_rq_rx_complete() 1320 ring = rq->rx_ring + ring_idx; in vmxnet3_rq_rx_complete() 1321 vmxnet3_getRxDesc(rxd, &rq->rx_ring[ring_idx].base[idx].rxd, in vmxnet3_rq_rx_complete() 1323 rbi = rq->buf_info[ring_idx] + idx; in vmxnet3_rq_rx_complete() 1349 ring_idx, idx); in vmxnet3_rq_rx_complete() 1545 ring = rq->rx_ring + ring_idx; in vmxnet3_rq_rx_complete() [all …]
|
D | vmxnet3_int.h | 405 #define VMXNET3_RX_ALLOC_THRESHOLD(rq, ring_idx, adapter) \ argument 406 ((rq)->rx_ring[ring_idx].size >> 3)
|
/drivers/net/wireless/ath/wil6210/ |
D | debugfs.c | 1084 int ring_idx = dbg_ring_index; in txdesc_show() local 1092 if (ring_idx >= WIL6210_MAX_TX_RINGS) { in txdesc_show() 1093 seq_printf(s, "invalid ring index %d\n", ring_idx); in txdesc_show() 1096 tx = ring_idx > 0; /* desc ring 0 is reserved for RX */ in txdesc_show() 1099 if (ring_idx > WIL6210_MAX_TX_RINGS) { in txdesc_show() 1100 seq_printf(s, "invalid ring index %d\n", ring_idx); in txdesc_show() 1103 tx = (ring_idx < WIL6210_MAX_TX_RINGS); in txdesc_show() 1106 ring = tx ? &wil->ring_tx[ring_idx] : &wil->ring_rx; in txdesc_show() 1110 seq_printf(s, "No Tx[%2d] RING\n", ring_idx); in txdesc_show() 1119 ring_idx, txdesc_idx, ring->size); in txdesc_show() [all …]
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_lib.c | 1102 adapter->rx_ring[i]->ring_idx = i; in ixgbe_alloc_q_vectors() 1107 adapter->tx_ring[i]->ring_idx = i; in ixgbe_alloc_q_vectors() 1112 adapter->xdp_ring[i]->ring_idx = i; in ixgbe_alloc_q_vectors()
|
D | ixgbe_xsk.c | 15 int qid = ring->ring_idx; in ixgbe_xsk_umem()
|
D | ixgbe.h | 355 u16 ring_idx; /* {rx,tx,xdp}_ring back reference idx */ member
|
/drivers/net/ethernet/hisilicon/hns/ |
D | hns_enet.c | 1233 static int hns_nic_init_affinity_mask(int q_num, int ring_idx, in hns_nic_init_affinity_mask() argument 1244 cpu = ring_idx; in hns_nic_init_affinity_mask() 1246 cpu = ring_idx - q_num; in hns_nic_init_affinity_mask() 1249 cpu = ring_idx * 2; in hns_nic_init_affinity_mask() 1251 cpu = (ring_idx - q_num) * 2 + 1; in hns_nic_init_affinity_mask()
|
D | hns_dsaf_rcb.c | 491 struct rcb_common_cb *rcb_common, int ring_idx) in hns_rcb_get_port_in_comm() argument 493 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/ |
D | en_netdev.c | 1586 static int mlx4_en_init_affinity_hint(struct mlx4_en_priv *priv, int ring_idx) in mlx4_en_init_affinity_hint() argument 1588 struct mlx4_en_rx_ring *ring = priv->rx_ring[ring_idx]; in mlx4_en_init_affinity_hint() 1594 cpumask_set_cpu(cpumask_local_spread(ring_idx, numa_node), in mlx4_en_init_affinity_hint() 1599 static void mlx4_en_free_affinity_hint(struct mlx4_en_priv *priv, int ring_idx) in mlx4_en_free_affinity_hint() argument 1601 free_cpumask_var(priv->rx_ring[ring_idx]->affinity_mask); in mlx4_en_free_affinity_hint()
|
/drivers/infiniband/hw/bnxt_re/ |
D | main.c | 1013 rdev->msix_entries[i + 1].ring_idx, in bnxt_re_alloc_res() 1390 ridx = rdev->msix_entries[BNXT_RE_AEQ_IDX].ring_idx; in bnxt_re_ib_reg()
|
/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 3033 u32 ring_idx) in bnx2_rx_skb() argument 3036 u16 prod = ring_idx & 0xffff; in bnx2_rx_skb() 3041 bnx2_reuse_rx_data(bp, rxr, data, (u16) (ring_idx >> 16), prod); in bnx2_rx_skb()
|