Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_ethtool.c2497 struct bnx2x_fastpath *fp_rx = &bp->fp[0]; in bnx2x_run_loopback() local
2553 skb = netdev_alloc_skb(bp->dev, fp_rx->rx_buf_size); in bnx2x_run_loopback()
2577 rx_start_idx = le16_to_cpu(*fp_rx->rx_cons_sb); in bnx2x_run_loopback()
2654 rx_idx = le16_to_cpu(*fp_rx->rx_cons_sb); in bnx2x_run_loopback()
2658 cqe = &fp_rx->rx_comp_ring[RCQ_BD(fp_rx->rx_comp_cons)]; in bnx2x_run_loopback()
2668 rx_buf = &fp_rx->rx_buf_ring[RX_BD(fp_rx->rx_bd_cons)]; in bnx2x_run_loopback()
2671 fp_rx->rx_buf_size, DMA_FROM_DEVICE); in bnx2x_run_loopback()
2681 fp_rx->rx_bd_cons = NEXT_RX_IDX(fp_rx->rx_bd_cons); in bnx2x_run_loopback()
2682 fp_rx->rx_bd_prod = NEXT_RX_IDX(fp_rx->rx_bd_prod); in bnx2x_run_loopback()
2683 fp_rx->rx_comp_cons = NEXT_RCQ_IDX(fp_rx->rx_comp_cons); in bnx2x_run_loopback()
[all …]
/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_main.c980 u8 fp_combined, fp_rx = edev->fp_num_rx; in qede_alloc_fp_array() local
1001 fp_combined = QEDE_QUEUE_CNT(edev) - fp_rx - edev->fp_num_tx; in qede_alloc_fp_array()
1017 if (fp_rx) { in qede_alloc_fp_array()
1019 fp_rx--; in qede_alloc_fp_array()