Searched refs:nr_sges (Results 1 – 4 of 4) sorted by relevance
/drivers/net/ethernet/huawei/hinic/ |
D | hinic_tx.c | 467 int nr_sges, err = NETDEV_TX_OK; in hinic_xmit_frame() local 485 nr_sges = skb_shinfo(skb)->nr_frags + 1; in hinic_xmit_frame() 486 if (nr_sges > 17) { in hinic_xmit_frame() 492 if (nr_sges > txq->max_sges) { in hinic_xmit_frame() 501 wqe_size = HINIC_SQ_WQE_SIZE(nr_sges); in hinic_xmit_frame() 527 hinic_sq_prepare_wqe(txq->sq, prod_idx, sq_wqe, txq->sges, nr_sges); in hinic_xmit_frame() 582 int nr_sges; in free_all_tx_skbs() local 590 nr_sges = skb_shinfo(skb)->nr_frags + 1; in free_all_tx_skbs() 592 hinic_sq_get_sges(sq_wqe, txq->free_sges, nr_sges); in free_all_tx_skbs() 617 int nr_sges, pkts = 0; in free_tx_poll() local [all …]
|
D | hinic_hw_qp.h | 170 int nr_sges); 195 int nr_sges);
|
D | hinic_hw_qp.c | 594 int nr_sges) in hinic_sq_prepare_wqe() argument 598 sq_prepare_ctrl(&sq_wqe->ctrl, prod_idx, nr_sges); in hinic_sq_prepare_wqe() 602 for (i = 0; i < nr_sges; i++) in hinic_sq_prepare_wqe() 776 int nr_sges) in hinic_sq_get_sges() argument 780 for (i = 0; i < nr_sges && i < HINIC_MAX_SQ_BUFDESCS; i++) { in hinic_sq_get_sges()
|
D | hinic_hw_wqe.h | 198 #define HINIC_SQ_WQE_SIZE(nr_sges) \ argument 201 (nr_sges) * sizeof(struct hinic_sq_bufdesc))
|