Searched refs:nr_sges (Results 1 – 4 of 4) sorted by relevance
/drivers/net/ethernet/huawei/hinic/ |
D | hinic_tx.c | 496 int nr_sges, err = NETDEV_TX_OK; in hinic_lb_xmit_frame() local 504 nr_sges = skb_shinfo(skb)->nr_frags + 1; in hinic_lb_xmit_frame() 510 wqe_size = HINIC_SQ_WQE_SIZE(nr_sges); in hinic_lb_xmit_frame() 533 hinic_sq_prepare_wqe(txq->sq, sq_wqe, txq->sges, nr_sges); in hinic_lb_xmit_frame() 557 int nr_sges, err = NETDEV_TX_OK; in hinic_xmit_frame() local 575 nr_sges = skb_shinfo(skb)->nr_frags + 1; in hinic_xmit_frame() 576 if (nr_sges > 17) { in hinic_xmit_frame() 582 if (nr_sges > txq->max_sges) { in hinic_xmit_frame() 591 wqe_size = HINIC_SQ_WQE_SIZE(nr_sges); in hinic_xmit_frame() 617 hinic_sq_prepare_wqe(txq->sq, sq_wqe, txq->sges, nr_sges); in hinic_xmit_frame() [all …]
|
D | hinic_hw_qp.h | 179 struct hinic_sge *sges, int nr_sges); 204 int nr_sges);
|
D | hinic_hw_qp.c | 595 struct hinic_sge *sges, int nr_sges) in hinic_sq_prepare_wqe() argument 599 sq_prepare_ctrl(&sq_wqe->ctrl, nr_sges); in hinic_sq_prepare_wqe() 603 for (i = 0; i < nr_sges; i++) in hinic_sq_prepare_wqe() 778 int nr_sges) in hinic_sq_get_sges() argument 782 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))
|