/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_tx.c | 495 struct hinic_sq_wqe *sq_wqe; in hinic_lb_xmit_frame() local 510 sq_wqe = hinic_sq_get_wqe(txq->sq, wqe_size, &prod_idx); in hinic_lb_xmit_frame() 511 if (!sq_wqe) { in hinic_lb_xmit_frame() 514 sq_wqe = hinic_sq_get_wqe(txq->sq, wqe_size, &prod_idx); in hinic_lb_xmit_frame() 515 if (sq_wqe) { in hinic_lb_xmit_frame() 531 hinic_sq_prepare_wqe(txq->sq, prod_idx, sq_wqe, txq->sges, nr_sges); in hinic_lb_xmit_frame() 532 hinic_sq_write_wqe(txq->sq, prod_idx, sq_wqe, skb, wqe_size); in hinic_lb_xmit_frame() 556 struct hinic_sq_wqe *sq_wqe; in hinic_xmit_frame() local 591 sq_wqe = hinic_sq_get_wqe(txq->sq, wqe_size, &prod_idx); in hinic_xmit_frame() 592 if (!sq_wqe) { in hinic_xmit_frame() 667 struct hinic_sq_wqe *sq_wqe; free_all_tx_skbs() local 703 struct hinic_sq_wqe *sq_wqe; free_tx_poll() local [all...] |
H A D | hinic_hw_qp.c | 593 * @sq_wqe: wqe to prepare 598 struct hinic_sq_wqe *sq_wqe, struct hinic_sge *sges, in hinic_sq_prepare_wqe() 603 sq_prepare_ctrl(&sq_wqe->ctrl, prod_idx, nr_sges); in hinic_sq_prepare_wqe() 605 sq_prepare_task(&sq_wqe->task); in hinic_sq_prepare_wqe() 608 sq_wqe->buf_descs[i].sge = sges[i]; in hinic_sq_prepare_wqe() 670 return &hw_wqe->sq_wqe; in hinic_sq_get_wqe() 687 * @sq_wqe: the wqe to write 692 struct hinic_sq_wqe *sq_wqe, in hinic_sq_write_wqe() 695 struct hinic_hw_wqe *hw_wqe = (struct hinic_hw_wqe *)sq_wqe; in hinic_sq_write_wqe() 700 hinic_cpu_to_be32(sq_wqe, wqe_siz in hinic_sq_write_wqe() 597 hinic_sq_prepare_wqe(struct hinic_sq *sq, u16 prod_idx, struct hinic_sq_wqe *sq_wqe, struct hinic_sge *sges, int nr_sges) hinic_sq_prepare_wqe() argument 691 hinic_sq_write_wqe(struct hinic_sq *sq, u16 prod_idx, struct hinic_sq_wqe *sq_wqe, struct sk_buff *skb, unsigned int wqe_size) hinic_sq_write_wqe() argument 720 struct hinic_sq_wqe *sq_wqe; hinic_sq_read_wqebb() local 781 hinic_sq_get_sges(struct hinic_sq_wqe *sq_wqe, struct hinic_sge *sges, int nr_sges) hinic_sq_get_sges() argument [all...] |
H A D | hinic_hw_wqe.h | 450 struct hinic_sq_wqe sq_wqe; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_tx.c | 497 struct hinic_sq_wqe *sq_wqe; in hinic_lb_xmit_frame() local 512 sq_wqe = hinic_sq_get_wqe(txq->sq, wqe_size, &prod_idx); in hinic_lb_xmit_frame() 513 if (!sq_wqe) { in hinic_lb_xmit_frame() 516 sq_wqe = hinic_sq_get_wqe(txq->sq, wqe_size, &prod_idx); in hinic_lb_xmit_frame() 517 if (sq_wqe) { in hinic_lb_xmit_frame() 533 hinic_sq_prepare_wqe(txq->sq, sq_wqe, txq->sges, nr_sges); in hinic_lb_xmit_frame() 534 hinic_sq_write_wqe(txq->sq, prod_idx, sq_wqe, skb, wqe_size); in hinic_lb_xmit_frame() 558 struct hinic_sq_wqe *sq_wqe; in hinic_xmit_frame() local 593 sq_wqe = hinic_sq_get_wqe(txq->sq, wqe_size, &prod_idx); in hinic_xmit_frame() 594 if (!sq_wqe) { in hinic_xmit_frame() 669 struct hinic_sq_wqe *sq_wqe; free_all_tx_skbs() local 705 struct hinic_sq_wqe *sq_wqe; free_tx_poll() local [all...] |
H A D | hinic_hw_qp.c | 590 * @sq_wqe: wqe to prepare 594 void hinic_sq_prepare_wqe(struct hinic_sq *sq, struct hinic_sq_wqe *sq_wqe, in hinic_sq_prepare_wqe() argument 599 sq_prepare_ctrl(&sq_wqe->ctrl, nr_sges); in hinic_sq_prepare_wqe() 601 sq_prepare_task(&sq_wqe->task); in hinic_sq_prepare_wqe() 604 sq_wqe->buf_descs[i].sge = sges[i]; in hinic_sq_prepare_wqe() 666 return &hw_wqe->sq_wqe; in hinic_sq_get_wqe() 683 * @sq_wqe: the wqe to write 688 struct hinic_sq_wqe *sq_wqe, in hinic_sq_write_wqe() 691 struct hinic_hw_wqe *hw_wqe = (struct hinic_hw_wqe *)sq_wqe; in hinic_sq_write_wqe() 696 hinic_cpu_to_be32(sq_wqe, wqe_siz in hinic_sq_write_wqe() 687 hinic_sq_write_wqe(struct hinic_sq *sq, u16 prod_idx, struct hinic_sq_wqe *sq_wqe, struct sk_buff *skb, unsigned int wqe_size) hinic_sq_write_wqe() argument 716 struct hinic_sq_wqe *sq_wqe; hinic_sq_read_wqebb() local 777 hinic_sq_get_sges(struct hinic_sq_wqe *sq_wqe, struct hinic_sge *sges, int nr_sges) hinic_sq_get_sges() argument [all...] |
H A D | hinic_hw_wqe.h | 425 struct hinic_sq_wqe sq_wqe; member
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/ |
H A D | hns_roce_hw_v1.c | 2181 struct hns_roce_wqe_ctrl_seg *sq_wqe; in hns_roce_v1_poll_one() local 2278 sq_wqe = hns_roce_get_send_wqe(*cur_qp, in hns_roce_v1_poll_one() 2283 switch (le32_to_cpu(sq_wqe->flag) & HNS_ROCE_WQE_OPCODE_MASK) { in hns_roce_v1_poll_one() 2304 wc->wc_flags = (le32_to_cpu(sq_wqe->flag) & HNS_ROCE_WQE_IMM ? in hns_roce_v1_poll_one()
|