Lines Matching defs:vswp

72 static int vsw_init_multipools(vsw_ldc_t *ldcp, vsw_t *vswp);
112 vsw_t *vswp = ldcp->ldc_vswp;
114 D1(vswp, "%s enter\n", __func__);
139 D1(vswp, "%s exit\n", __func__);
151 vsw_t *vswp = ldcp->ldc_vswp;
164 DERR(vswp, "vsw_create_tx_dring(%lld): ldc dring create "
174 DERR(vswp, "vsw_create_tx_dring(%lld): dring info failed\n",
194 DERR(vswp, "%s: unable to setup ring", __func__);
202 DERR(vswp, "vsw_create_tx_dring: unable to bind to channel "
228 vsw_t *vswp = ldcp->ldc_vswp;
247 data_sz = vswp->max_frame_size + VNET_IPALIGN + VNET_LDCALIGN;
276 D2(vswp, "%s: allocated %lld bytes at 0x%llx\n", name,
294 DERR(vswp, "%s: alloc mem handle failed", name);
305 DERR(vswp, "%s(%lld): ldc_mem_bind_handle failed "
311 D2(vswp, "%s: %d: memcookie 0 : addr 0x%llx : size 0x%llx",
316 DERR(vswp, "%s(%lld) ldc_mem_bind_handle returned "
326 DERR(vswp, "%s: ldc_mem_nextcookie "
330 D3(vswp, "%s: memcookie %d : addr 0x%llx : "
454 vsw_t *vswp = ldcp->ldc_vswp;
466 rv = vsw_init_multipools(ldcp, vswp);
473 DWARN(vswp, "%s: unable to create free mblk pools for"
487 vsw_t *vswp = ldcp->ldc_vswp;
504 (void) ddi_taskq_dispatch(vswp->rxp_taskq,
516 vsw_init_multipools(vsw_ldc_t *ldcp, vsw_t *vswp)
529 data_sz = vswp->max_frame_size + VNET_IPALIGN + VNET_LDCALIGN;
632 vsw_t *vswp = ldcp->ldc_vswp;
639 D1(vswp, "vsw_send_msg (%lld) enter : sending %d bytes",
642 D2(vswp, "send_msg: type 0x%llx", tag->vio_msgtype);
643 D2(vswp, "send_msg: stype 0x%llx", tag->vio_subtype);
644 D2(vswp, "send_msg: senv 0x%llx", tag->vio_subtype_env);
674 DERR(vswp, "vsw_send_msg:ldc_write failed: chan(%lld) rv(%d) "
687 DWARN(vswp, "%s (%lld) channel reset", __func__, ldcp->ldc_id);
706 vsw_t *vswp = ldcp->ldc_vswp;
708 D1(vswp, "%s(%lld):enter\n", __func__, ldcp->ldc_id);
729 D2(vswp, "%s(%lld):Rx thread stopped\n",
735 D1(vswp, "%s(%lld):calling vsw_process_pkt\n",
750 D1(vswp, "%s(%lld):exit\n", __func__, ldcp->ldc_id);
759 vsw_t *vswp = ldcp->ldc_vswp;
761 D1(vswp, "%s(%lld):enter\n", __func__, ldcp->ldc_id);
777 D1(vswp, "%s(%lld):exit\n", __func__, ldcp->ldc_id);
790 vsw_t *vswp = ldcp->ldc_vswp;
799 D1(vswp, "%s(%lld): enter\n", __func__, ldcp->ldc_id);
804 DWARN(vswp, "%s(%lld) status(%d) lstate(0x%llx), dropping "
812 DERR(vswp, "%s(%lld): no dring for outbound lane on"
820 DERR(vswp, "%s(%lld) invalid size (%ld)\n", __func__,
834 D2(vswp, "%s(%lld): no descriptor available for ring "
842 D2(vswp, "%s(%lld): free private descriptor found at pos %ld "
909 D3(vswp, "%s(%lld): dring 0x%llx : ident 0x%llx\n", __func__,
911 D3(vswp, "%s(%lld): start %lld : end %lld :\n",
922 D2(vswp, "%s(%lld): updating descp %d", __func__,
928 D1(vswp, "%s(%lld): exit\n", __func__, ldcp->ldc_id);
1027 vsw_t *vswp = ldcp->ldc_vswp;
1044 D1(vswp, "%s(%lld): enter", __func__, ldcp->ldc_id);
1060 D2(vswp, "%s(%lld): VIO_SUBTYPE_INFO", __func__, ldcp->ldc_id);
1064 DERR(vswp, "%s(%lld): unable to find dring from "
1080 D2(vswp, "%s(%lld): start index %ld : end %ld\n",
1090 DERR(vswp, "%s(%lld): endpoint %lld outside "
1098 DERR(vswp, "%s(%lld): invalid endpoint %lld",
1111 DERR(vswp, "%s(%lld): unable to copy "
1137 DERR(vswp, "%s(%lld): descriptor not READY "
1156 D2(vswp, "%s(%lld): updating range start to be "
1162 D2(vswp, "%s(%lld): processing desc %lld at pos"
1204 DERR(vswp, "%s(%ld): allocb failed",
1218 DERR(vswp, "%s(%d): unable to copy in data "
1230 D2(vswp, "%s(%d): copied in %ld bytes"
1280 DERR(vswp, "%s(%lld): unable to update "
1294 DERR(vswp, "%s(%lld): processed %d %d, ACK"
1326 D3(vswp, "%s(%lld): switching chain of %d "
1335 D3(vswp, "%s(%lld): switching chain of %d msgs",
1337 vswp->vsw_switch_frame(vswp, bp, VSW_VNETPORT,
1382 D2(vswp, "%s(%lld) processed : %d : %d, now stopping",
1393 D2(vswp, "%s(%lld): VIO_SUBTYPE_ACK", __func__, ldcp->ldc_id);
1400 DERR(vswp, "%s: unknown ident in ACK", __func__);
1425 D2(vswp, "%s(%lld): got stopping msg : %d : %d",
1458 D2(vswp, "%s(%lld) : sending restart msg:"
1479 DWARN(vswp, "%s(%lld): VIO_SUBTYPE_NACK",
1490 DERR(vswp, "%s(%lld): Unknown vio_subtype %x\n", __func__,
1494 D1(vswp, "%s(%lld) exit", __func__, ldcp->ldc_id);