• Home
  • Raw
  • Download

Lines Matching refs:sq_wqe

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()
598 sq_wqe = hinic_sq_get_wqe(txq->sq, wqe_size, &prod_idx); in hinic_xmit_frame()
599 if (sq_wqe) { in hinic_xmit_frame()
615 hinic_sq_prepare_wqe(txq->sq, prod_idx, sq_wqe, txq->sges, nr_sges); in hinic_xmit_frame()
617 err = hinic_tx_offload(skb, &sq_wqe->task, &sq_wqe->ctrl.queue_info); in hinic_xmit_frame()
621 hinic_sq_write_wqe(txq->sq, prod_idx, sq_wqe, skb, wqe_size); in hinic_xmit_frame()
667 struct hinic_sq_wqe *sq_wqe; in free_all_tx_skbs() local
673 while ((sq_wqe = hinic_sq_read_wqebb(sq, &skb, &wqe_size, &ci))) { in free_all_tx_skbs()
674 sq_wqe = hinic_sq_read_wqe(sq, &skb, wqe_size, &ci); in free_all_tx_skbs()
675 if (!sq_wqe) in free_all_tx_skbs()
680 hinic_sq_get_sges(sq_wqe, txq->free_sges, nr_sges); in free_all_tx_skbs()
703 struct hinic_sq_wqe *sq_wqe; in free_tx_poll() local
716 sq_wqe = hinic_sq_read_wqebb(sq, &skb, &wqe_size, &sw_ci); in free_tx_poll()
717 if ((!sq_wqe) || in free_tx_poll()
725 sq_wqe = hinic_sq_read_wqe(sq, &skb, wqe_size, &sw_ci); in free_tx_poll()
726 if (unlikely(!sq_wqe)) in free_tx_poll()
735 hinic_sq_get_sges(sq_wqe, txq->free_sges, nr_sges); in free_tx_poll()