Lines Matching defs:nbd
203 int nbd;
214 nbd = le16_to_cpu(tx_start_bd->nbd) - 1;
216 if ((nbd - 1) > (MAX_SKB_FRAGS + 2)) {
217 BNX2X_ERR("BAD nbd!\n");
221 new_cons = nbd + tx_buf->first_bd;
227 --nbd;
232 --nbd;
240 --nbd;
250 while (nbd > 0) {
255 if (--nbd)
3765 int nbd, txq_index;
3896 /* header nbd: indirectly zero other flags! */
3940 nbd = 2; /* start_bd + pbd + frags (updated when pages are mapped) */
3987 nbd++;
4066 nbd++;
4102 * first_bd->nbd need to be properly updated
4105 first_bd->nbd = cpu_to_le16(nbd);
4121 nbd++;
4132 first_bd->nbd = cpu_to_le16(nbd);
4139 if (TX_BD_POFF(bd_prod) < nbd)
4140 nbd++;
4170 DP(NETIF_MSG_TX_QUEUED, "doorbell: nbd %d bd %u\n", nbd, bd_prod);
4186 txdata->tx_db.data.prod += nbd;
4192 txdata->tx_bd_prod += nbd;