/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vnet_common.c | 74 if (DB_REF(mp) == 1 && MBLKHEAD(mp) >= VLAN_TAGSZ) { in vnet_vlan_insert_tag() 81 ovbcopy(mp->b_rptr, mp->b_rptr - VLAN_TAGSZ, 2 * ETHERADDRL); in vnet_vlan_insert_tag() 82 mp->b_rptr -= VLAN_TAGSZ; in vnet_vlan_insert_tag() 113 bcopy(mp->b_rptr + n, nmp->b_rptr + n + VLAN_TAGSZ, in vnet_vlan_insert_tag() 144 ovbcopy(mp->b_rptr, mp->b_rptr + VLAN_TAGSZ, 2 * ETHERADDRL); in vnet_vlan_remove_tag() 145 mp->b_rptr += VLAN_TAGSZ; in vnet_vlan_remove_tag() 163 bcopy(mp->b_rptr + n + VLAN_TAGSZ, nmp->b_rptr + n, in vnet_vlan_remove_tag()
|
H A D | vsw.c | 1100 macp->m_margin = VLAN_TAGSZ; in vsw_mac_register() 1783 VLAN_TAGSZ; in vsw_get_initial_md_properties() 2036 sizeof (struct ether_header) + VLAN_TAGSZ; in vsw_mtu_update()
|
/illumos-gate/usr/src/uts/common/io/bge/ |
H A D | bge_recv2.c | 150 maxsize = bgep->chipid.ethmax_size + VLAN_TAGSZ + ETHERFCSL; in bge_receive_packet() 159 minsize = ETHERMIN + ETHERFCSL - VLAN_TAGSZ; in bge_receive_packet() 178 mp = allocb(BGE_HEADROOM + len + VLAN_TAGSZ, 0); in bge_receive_packet() 207 mp->b_rptr = dp = mp->b_rptr + BGE_HEADROOM - VLAN_TAGSZ; in bge_receive_packet() 213 dp + 2 * ETHERADDRL + VLAN_TAGSZ, in bge_receive_packet() 223 mp->b_wptr = dp + len + VLAN_TAGSZ - ETHERFCSL; in bge_receive_packet()
|
H A D | bge_send.c | 445 hw_sbd_p->host_buf_addr += VLAN_TAGSZ; in bge_send_serial() 536 pbuf = memmove(pbuf + VLAN_TAGSZ, pbuf, 2 * ETHERADDRL); in bge_ring_tx() 537 txbuf->copy_len -= VLAN_TAGSZ; in bge_ring_tx()
|
H A D | bge_impl.h | 85 #ifndef VLAN_TAGSZ 86 #define VLAN_TAGSZ 4 macro
|
/illumos-gate/usr/src/uts/common/io/rge/ |
H A D | rge_rxtx.c | 221 minsize -= VLAN_TAGSZ; in rge_receive_packet() 274 (void) memmove(mp->b_rptr - VLAN_TAGSZ, mp->b_rptr, in rge_receive_packet() 276 mp->b_rptr -= VLAN_TAGSZ; in rge_receive_packet() 280 rgep->stats.rbytes += VLAN_TAGSZ; in rge_receive_packet() 528 ASSERT(mblen >= 2 * ETHERADDRL + VLAN_TAGSZ); in rge_send_copy() 529 mblen -= 2 * ETHERADDRL + VLAN_TAGSZ; in rge_send_copy() 531 bcopy(bp->b_rptr + 2 * ETHERADDRL + VLAN_TAGSZ, in rge_send_copy() 536 rgep->stats.obytes += VLAN_TAGSZ; in rge_send_copy()
|
/illumos-gate/usr/src/uts/intel/io/viona/ |
H A D | viona_rx.c | 58 #define NEED_VLAN_PAD_SIZE (MIN_BUF_SIZE - VLAN_TAGSZ) 70 mp = allocb_wait(VLAN_TAGSZ, BPRI_HI, STR_NOSIG, NULL); in viona_rx_init() 71 bzero(mp->b_rptr, VLAN_TAGSZ); in viona_rx_init() 72 mp->b_wptr += VLAN_TAGSZ; in viona_rx_init() 538 ASSERT(MBLKL(viona_vlan_pad_mp) == VLAN_TAGSZ); in viona_rx_common() 545 size += VLAN_TAGSZ; in viona_rx_common()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | vlan.h | 37 #define VLAN_TAGSZ 4 macro
|
/illumos-gate/usr/src/uts/common/io/atge/ |
H A D | atge_l1.c | 139 sizeof (struct ether_header) + VLAN_TAGSZ + ETHERFCSL; in atge_l1_alloc_dma() 167 sizeof (struct ether_header) + VLAN_TAGSZ + ETHERFCSL; in atge_l1_alloc_dma() 673 mp = allocb(totlen + VLAN_TAGSZ, BPRI_MED); in atge_l1_rx() 675 mp->b_rptr += VLAN_TAGSZ; in atge_l1_rx()
|
H A D | atge_l1e.c | 150 sizeof (struct ether_header) + VLAN_TAGSZ + ETHERFCSL; in atge_l1e_alloc_dma() 178 sizeof (struct ether_header) + VLAN_TAGSZ + ETHERFCSL; in atge_l1e_alloc_dma() 536 mp = allocb(len + VLAN_TAGSZ, BPRI_MED); in atge_l1e_receive() 538 mp->b_rptr += VLAN_TAGSZ; in atge_l1e_receive()
|
H A D | atge_l1c.c | 167 sizeof (struct ether_header) + VLAN_TAGSZ + ETHERFCSL; in atge_l1c_alloc_dma() 195 sizeof (struct ether_header) + VLAN_TAGSZ + ETHERFCSL; in atge_l1c_alloc_dma()
|
/illumos-gate/usr/src/lib/varpd/libvarpd/common/ |
H A D | libvarpd_arp.c | 37 char vaq_buf[ETHERMAX + VLAN_TAGSZ]; 50 char vdq_buf[ETHERMAX + VLAN_TAGSZ]; 397 char resp[ETHERMAX + VLAN_TAGSZ]; in libvarpd_proxy_ndp_fini()
|
/illumos-gate/usr/src/uts/common/io/dmfe/ |
H A D | dmfe_impl.h | 53 #define DMFE_MAX_PKT_SIZE (VLAN_TAGSZ + ETHERMAX + ETHERFCSL)
|
/illumos-gate/usr/src/uts/common/io/bnx/ |
H A D | bnx.h | 372 #define VLAN_TAGSZ 4 macro
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlge/ |
H A D | qlge.h | 279 #ifndef VLAN_TAGSZ 280 #define VLAN_TAGSZ 4 macro
|
/illumos-gate/usr/src/uts/common/io/dld/ |
H A D | dld_str.c | 1181 ovbcopy(mp->b_rptr, mp->b_rptr + VLAN_TAGSZ, 2 * ETHERADDRL); in i_dld_ether_header_strip_tag() 1182 mp->b_rptr += VLAN_TAGSZ; in i_dld_ether_header_strip_tag() 1305 offset = VLAN_TAGSZ; in dld_str_rx_fastpath() 1358 offset = VLAN_TAGSZ; in dld_str_rx_unitdata()
|
/illumos-gate/usr/src/uts/common/io/bfe/ |
H A D | bfe.c | 2251 if ((mp = allocb(len + VLAN_TAGSZ, BPRI_MED)) != NULL) { in bfe_receive() 2252 mp->b_rptr += VLAN_TAGSZ; in bfe_receive() 2773 VLAN_TAGSZ + ETHERFCSL; in bfe_rings_alloc() 2782 VLAN_TAGSZ + ETHERFCSL + RX_HEAD_ROOM; in bfe_rings_alloc() 2909 macreg->m_margin = VLAN_TAGSZ; in bfe_attach()
|
/illumos-gate/usr/src/uts/common/io/vr/ |
H A D | vr.h | 111 #define VR_MAX_PKTSZ (ETHERMAX + ETHERFCSL + VLAN_TAGSZ + VR_SLOPSZ)
|
/illumos-gate/usr/src/uts/common/io/ena/ |
H A D | ena_gld.c | 452 regp->m_margin = VLAN_TAGSZ; in ena_mac_register()
|
/illumos-gate/usr/src/uts/common/io/efe/ |
H A D | efe.c | 391 macp->m_margin = VLAN_TAGSZ; in efe_attach() 1379 if (len > ETHERMAX + VLAN_TAGSZ) { in efe_recv_pkt() 1428 if (len > ETHERMAX + VLAN_TAGSZ) { in efe_send()
|
/illumos-gate/usr/src/uts/common/io/vnic/ |
H A D | vnic_dev.c | 508 vnic->vn_margin = VLAN_TAGSZ; in vnic_dev_create() 532 vnic->vn_margin = VLAN_TAGSZ; in vnic_dev_create()
|
/illumos-gate/usr/src/uts/common/io/myri10ge/drv/ |
H A D | myri10ge_var.h | 94 #define VLAN_TAGSZ 4 macro
|
/illumos-gate/usr/src/uts/common/io/bnxe/ |
H A D | bnxe.h | 102 #ifndef VLAN_TAGSZ 103 #define VLAN_TAGSZ 4 macro
|
/illumos-gate/usr/src/uts/common/io/elxl/ |
H A D | elxl.c | 582 macp->m_margin = VLAN_TAGSZ; in elxl_attach() 1157 if (len > (ETHERMAX + VLAN_TAGSZ)) { in elxl_m_tx() 1292 if (len > (ETHERMAX + VLAN_TAGSZ)) { in elxl_recv()
|
/illumos-gate/usr/src/uts/common/io/iprb/ |
H A D | iprb.c | 397 macp->m_margin = VLAN_TAGSZ; in iprb_attach() 1087 if ((sz = msgsize(mp)) > (ETHERMAX + VLAN_TAGSZ)) { in iprb_send() 1186 if (cnt > (ETHERMAX + VLAN_TAGSZ)) { in iprb_rx()
|