Lines Matching refs:bdr
3025 struct enetc_bdr *bdr; in enetc_alloc_msix() local
3036 bdr = &v->rx_ring; in enetc_alloc_msix()
3037 bdr->index = i; in enetc_alloc_msix()
3038 bdr->ndev = priv->ndev; in enetc_alloc_msix()
3039 bdr->dev = priv->dev; in enetc_alloc_msix()
3040 bdr->bd_count = priv->rx_bd_count; in enetc_alloc_msix()
3041 bdr->buffer_offset = ENETC_RXB_PAD; in enetc_alloc_msix()
3042 priv->rx_ring[i] = bdr; in enetc_alloc_msix()
3044 err = xdp_rxq_info_reg(&bdr->xdp.rxq, priv->ndev, i, 0); in enetc_alloc_msix()
3050 err = xdp_rxq_info_reg_mem_model(&bdr->xdp.rxq, in enetc_alloc_msix()
3053 xdp_rxq_info_unreg(&bdr->xdp.rxq); in enetc_alloc_msix()
3073 bdr = &v->tx_ring[j]; in enetc_alloc_msix()
3074 bdr->index = idx; in enetc_alloc_msix()
3075 bdr->ndev = priv->ndev; in enetc_alloc_msix()
3076 bdr->dev = priv->dev; in enetc_alloc_msix()
3077 bdr->bd_count = priv->tx_bd_count; in enetc_alloc_msix()
3078 priv->tx_ring[idx] = bdr; in enetc_alloc_msix()