Lines Matching refs:nbd
41 int nbd; in bnx2x_free_tx_pkt() local
55 nbd = le16_to_cpu(tx_start_bd->nbd) - 1; in bnx2x_free_tx_pkt()
57 if ((nbd - 1) > (MAX_SKB_FRAGS + 2)) { in bnx2x_free_tx_pkt()
62 new_cons = nbd + tx_buf->first_bd; in bnx2x_free_tx_pkt()
68 --nbd; in bnx2x_free_tx_pkt()
73 --nbd; in bnx2x_free_tx_pkt()
78 while (nbd > 0) { in bnx2x_free_tx_pkt()
84 if (--nbd) in bnx2x_free_tx_pkt()
1805 u16 bd_prod, int nbd) in bnx2x_tx_split() argument
1813 h_tx_bd->nbd = cpu_to_le16(nbd); in bnx2x_tx_split()
1818 h_tx_bd->addr_lo, h_tx_bd->nbd); in bnx2x_tx_split()
2113 int nbd, fp_index; in bnx2x_start_xmit() local
2252 nbd = skb_shinfo(skb)->nr_frags + 2; /* start_bd + pbd + frags */ in bnx2x_start_xmit()
2253 tx_start_bd->nbd = cpu_to_le16(nbd); in bnx2x_start_xmit()
2260 le16_to_cpu(tx_start_bd->nbd), le16_to_cpu(tx_start_bd->nbytes), in bnx2x_start_xmit()
2275 hlen, bd_prod, ++nbd); in bnx2x_start_xmit()
2322 if (TX_BD_POFF(bd_prod) < nbd) in bnx2x_start_xmit()
2323 nbd++; in bnx2x_start_xmit()
2343 DP(NETIF_MSG_TX_QUEUED, "doorbell: nbd %d bd %u\n", nbd, bd_prod); in bnx2x_start_xmit()
2354 fp->tx_db.data.prod += nbd; in bnx2x_start_xmit()
2361 fp->tx_bd_prod += nbd; in bnx2x_start_xmit()