Home
last modified time | relevance | path

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

/drivers/scsi/cxgb3i/
Dcxgb3i_offload.c618 int wrs_needed = skb_wrs[frags]; in c3cn_push_tx_frames() local
620 if (wrs_needed > 1 && len + sizeof(struct tx_data_wr) <= wrlen) in c3cn_push_tx_frames()
621 wrs_needed = 1; in c3cn_push_tx_frames()
623 WARN_ON(frags >= SKB_WR_LIST_SIZE || wrs_needed < 1); in c3cn_push_tx_frames()
625 if (c3cn->wr_avail < wrs_needed) { in c3cn_push_tx_frames()
629 wrs_needed, c3cn->wr_avail); in c3cn_push_tx_frames()
635 skb->csum = wrs_needed; /* remember this until the WR_ACK */ in c3cn_push_tx_frames()
636 c3cn->wr_avail -= wrs_needed; in c3cn_push_tx_frames()
637 c3cn->wr_unacked += wrs_needed; in c3cn_push_tx_frames()
643 wrs_needed, c3cn->wr_avail, c3cn->wr_unacked); in c3cn_push_tx_frames()
[all …]