Searched defs:swqe (Results 1 - 9 of 9) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_mac.c323 eib_wqe_t *swqe = NULL; local
330 * thread to monitor the swqe status and let the mac layer know
333 if ((swqe = eib_rsrc_grab_swqe(ss, EIB_WPRI_LO)) == NULL) {
335 "no swqe available, holding tx until resource "
364 * Return the swqe back to the pool
366 eib_rsrc_return_swqe(ss, swqe, NULL);
386 * We'll try to setup the destination in the swqe for this dmac
393 ret = eib_vnic_setup_dest(vnic, swqe, evh.eh_dmac, evh.eh_vlan);
403 eib_rsrc_return_swqe(ss, swqe, NULL);
411 ret = eib_data_prepare_frame(vnic, swqe, m
[all...]
H A Denx_fip.c62 eibnx_wqe_t *swqe; local
65 if ((swqe = eibnx_acquire_swqe(info, KM_SLEEP)) == NULL)
68 ret = eibnx_fip_make_solicit_pkt(info, swqe);
70 eibnx_release_swqe(swqe);
74 ret = eibnx_fip_send_solicit_pkt(info, swqe, NULL);
76 eibnx_rb_fip_make_solicit_pkt(swqe);
77 eibnx_release_swqe(swqe);
94 eibnx_wqe_t *swqe; local
122 swqe = gw->gw_swqe;
123 ASSERT(swqe !
179 eibnx_fip_make_solicit_pkt(eibnx_thr_info_t *info, eibnx_wqe_t *swqe) argument
247 eibnx_setup_ud_dest(eibnx_thr_info_t *info, eibnx_wqe_t *swqe, eibnx_gw_addr_t *gw_addr) argument
332 eibnx_fip_send_solicit_pkt(eibnx_thr_info_t *info, eibnx_wqe_t *swqe, eibnx_gw_addr_t *gw_addr) argument
599 eibnx_rb_fip_make_solicit_pkt(eibnx_wqe_t *swqe) argument
[all...]
H A Denx_ibt.c429 eibnx_wqe_t *swqe; local
468 swqe = &snd_p->tx_wqe[i];
488 swqe->qe_type = ENX_QETYP_SWQE;
489 swqe->qe_bufsz = mtu;
490 swqe->qe_sgl.ds_va = (ib_vaddr_t)(uintptr_t)buf;
491 swqe->qe_sgl.ds_key = snd_p->tx_lkey;
492 swqe->qe_sgl.ds_len = swqe->qe_bufsz;
493 swqe->qe_wr.send.wr_id = (ibt_wrid_t)(uintptr_t)swqe;
967 eibnx_wqe_t *swqe; local
[all...]
H A Deib_data.c343 eib_data_post_tx(eib_vnic_t *vnic, eib_wqe_t *swqe) argument
372 swqe->qe_nxt_post = NULL;
374 chan->ch_tx_tail->qe_nxt_post = swqe;
376 chan->ch_tx = swqe;
378 chan->ch_tx_tail = swqe;
545 eib_data_prepare_frame(eib_vnic_t *vnic, eib_wqe_t *swqe, mblk_t *mp, argument
553 * The swqe defaults are set to use the regular ud work request
559 eib_data_setup_lso(swqe, mp, mss, evh);
563 swqe->qe_wr.send.wr_flags |= IBT_WR_SEND_CKSUM;
565 swqe
764 eib_data_setup_lso(eib_wqe_t *swqe, mblk_t *mp, uint32_t mss, eib_ether_hdr_t *evh) argument
849 eib_data_prepare_sgl(eib_vnic_t *vnic, eib_wqe_t *swqe, mblk_t *mp) argument
[all...]
H A Deib_fip.c89 eib_wqe_t *swqe; local
94 if ((swqe = eib_rsrc_grab_swqe(ss, EIB_WPRI_LO)) == NULL) {
96 "no swqe available, not sending "
102 ret = eib_fip_make_login(ss, vnic, swqe, err);
104 eib_rsrc_return_swqe(ss, swqe, NULL);
108 ret = eib_fip_send_login(ss, vnic, swqe, err);
110 eib_rsrc_return_swqe(ss, swqe, NULL);
126 eib_wqe_t *swqe; local
131 if ((swqe = eib_rsrc_grab_swqe(ss, EIB_WPRI_LO)) == NULL) {
133 "no swqe availabl
176 eib_wqe_t *swqe; local
210 eib_wqe_t *swqe; local
486 eib_fip_make_login(eib_t *ss, eib_vnic_t *vnic, eib_wqe_t *swqe, int *err) argument
621 eib_fip_make_update(eib_t *ss, eib_vnic_t *vnic, eib_wqe_t *swqe, int req, int *err) argument
715 eib_fip_make_table(eib_t *ss, eib_vnic_t *vnic, eib_wqe_t *swqe, int *err) argument
721 eib_fip_make_ka(eib_t *ss, eib_vnic_t *vnic, eib_wqe_t *swqe, int *err) argument
727 eib_fip_make_logout(eib_t *ss, eib_vnic_t *vnic, eib_wqe_t *swqe, int *err) argument
733 eib_fip_send_login(eib_t *ss, eib_vnic_t *vnic, eib_wqe_t *swqe, int *err) argument
795 eib_fip_send_update(eib_t *ss, eib_vnic_t *vnic, eib_wqe_t *swqe, uint_t nxt_state, int *err) argument
857 eib_fip_send_table(eib_t *ss, eib_vnic_t *vnic, eib_wqe_t *swqe, int *err) argument
863 eib_fip_send_ka(eib_t *ss, eib_vnic_t *vnic, eib_wqe_t *swqe, int *err) argument
869 eib_fip_send_logout(eib_t *ss, eib_vnic_t *vnic, eib_wqe_t *swqe, int *err) argument
[all...]
H A Deib_vnic.c584 eib_vnic_setup_dest(eib_vnic_t *vnic, eib_wqe_t *swqe, uint8_t *dmac, argument
625 ret = ibt_modify_ud_dest(swqe->qe_dest, EIB_DATA_QKEY,
638 ret = ibt_modify_ud_dest(swqe->qe_dest, EIB_DATA_QKEY,
/illumos-gate/usr/src/uts/common/io/comstar/port/srpt/
H A Dsrpt_ch.c612 srpt_swqe_t *swqe; local
662 swqe = ch->ch_swqe + wcp->wc_id;
664 switch (swqe->sw_type) {
667 swqe->sw_addr, wcp->wc_status);
672 swqe->sw_addr, wcp->wc_status);
677 swqe->sw_type);
/illumos-gate/usr/src/uts/common/io/ib/clients/ibd/
H A Dibd_cm.c516 kstat_named_init(&ibd_rc_ksp->rc_scq_no_swqe, "RC: No swqe after "
520 kstat_named_init(&ibd_rc_ksp->rc_swqe_short, "RC: No swqe in ibd_send",
523 "#, swqe available", KSTAT_DATA_ULONG);
1913 ibd_swqe_t *swqe; local
1922 * Allocate and setup the swqe list
1927 swqe = chan->tx_wqes;
1928 for (i = 0; i < chan->scq_size; i++, swqe++) {
1929 swqe->swqe_next = NULL;
1930 swqe->swqe_im_mblk = NULL;
1932 swqe
2019 ibd_rc_release_swqe(ibd_rc_chan_t *chan, ibd_swqe_t *swqe) argument
2110 ibd_rc_tx_cleanup(ibd_swqe_t *swqe) argument
[all...]
H A Dibd.c2514 * can be referred to when the swqe/rwqe change is requested via
3643 ibd_swqe_t *swqe; local
3669 * Allocate and setup the swqe list
3674 swqe = state->id_tx_wqes;
3676 for (i = 0; i < state->id_ud_num_swqe; i++, swqe++, bufaddr += len) {
3677 swqe->swqe_next = NULL;
3678 swqe->swqe_im_mblk = NULL;
3680 swqe->swqe_copybuf.ic_sgl.ds_va = (ib_vaddr_t)(uintptr_t)
3682 swqe->swqe_copybuf.ic_sgl.ds_key = lkey;
3683 swqe
7738 ibd_unmap_mem(ibd_state_t *state, ibd_swqe_t *swqe) argument
7819 ibd_tx_cleanup(ibd_state_t *state, ibd_swqe_t *swqe) argument
7867 ibd_swqe_t *swqe; local
[all...]

Completed in 112 milliseconds