Lines Matching refs:wqes
1155 static int cnic_submit_bnx2_kwqes(struct cnic_dev *dev, struct kwqe *wqes[],
1178 memcpy(prod_qe, wqes[i], sizeof(struct kwqe));
1452 static int cnic_setup_bnx2x_ctx(struct cnic_dev *dev, struct kwqe *wqes[],
1457 (struct iscsi_kwqe_conn_offload1 *) wqes[0];
1459 (struct iscsi_kwqe_conn_offload2 *) wqes[1];
1479 req3 = (struct iscsi_kwqe_conn_offload3 *) wqes[n++];
1563 req3 = (struct iscsi_kwqe_conn_offload3 *) wqes[n++];
1624 static int cnic_bnx2x_iscsi_ofld1(struct cnic_dev *dev, struct kwqe *wqes[],
1640 req1 = (struct iscsi_kwqe_conn_offload1 *) wqes[0];
1641 req2 = (struct iscsi_kwqe_conn_offload2 *) wqes[1];
1668 ret = cnic_setup_bnx2x_ctx(dev, wqes, num);
1860 static int cnic_bnx2x_connect(struct cnic_dev *dev, struct kwqe *wqes[],
1865 (struct l4_kwq_connect_req1 *) wqes[0];
1910 (struct l4_kwq_connect_req2 *) wqes[1];
1921 kwqe3 = (struct l4_kwq_connect_req3 *) wqes[*work - 1];
1998 static int cnic_submit_bnx2x_kwqes(struct cnic_dev *dev, struct kwqe *wqes[],
2009 kwqe = wqes[i];
2021 ret = cnic_bnx2x_iscsi_ofld1(dev, &wqes[i],
2031 ret = cnic_bnx2x_connect(dev, &wqes[i], num_wqes - i,
2520 struct kwqe *wqes[1];
2524 wqes[0] = (struct kwqe *) l4kwqe;
2555 return dev->submit_kwqes(dev, wqes, 1);
2562 struct kwqe *wqes[1];
2566 wqes[0] = (struct kwqe *) l4kwqe;
2583 return dev->submit_kwqes(dev, wqes, 1);
2590 struct kwqe *wqes[1];
2594 wqes[0] = (struct kwqe *) l4kwqe;
2601 return dev->submit_kwqes(dev, wqes, 1);
2610 struct kwqe *wqes[3];
2635 wqes[0] = (struct kwqe *) l4kwqe1;
2637 wqes[1] = (struct kwqe *) l4kwqe2;
2638 wqes[2] = (struct kwqe *) l4kwqe3;
2655 wqes[1] = (struct kwqe *) l4kwqe3;
2685 return dev->submit_kwqes(dev, wqes, num_wqes);
2692 struct kwqe *wqes[1];
2696 wqes[0] = (struct kwqe *) l4kwqe;
2702 return dev->submit_kwqes(dev, wqes, 1);
2709 struct kwqe *wqes[1];
2713 wqes[0] = (struct kwqe *) l4kwqe;
2719 return dev->submit_kwqes(dev, wqes, 1);
3646 struct kwqe *wqes[1], l2kwqe;
3649 wqes[0] = &l2kwqe;
3653 dev->submit_kwqes(dev, wqes, 1);