/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vnet_common.c | 74 if (DB_REF(mp) == 1 && MBLKHEAD(mp) >= VLAN_TAGSZ) { 79 * move src and dst mac addrs in the header back by VLAN_TAGSZ. 81 ovbcopy(mp->b_rptr, mp->b_rptr - VLAN_TAGSZ, 2 * ETHERADDRL); 82 mp->b_rptr -= VLAN_TAGSZ; 113 bcopy(mp->b_rptr + n, nmp->b_rptr + n + VLAN_TAGSZ, 143 /* move src & dst addrs in the header forward by VLAN_TAGSZ */ 144 ovbcopy(mp->b_rptr, mp->b_rptr + VLAN_TAGSZ, 2 * ETHERADDRL); 145 mp->b_rptr += VLAN_TAGSZ; 163 bcopy(mp->b_rptr + n + VLAN_TAGSZ, nmp->b_rptr + n,
|
H A D | vsw.c | 1100 macp->m_margin = VLAN_TAGSZ; 1783 VLAN_TAGSZ; 2036 sizeof (struct ether_header) + VLAN_TAGSZ;
|
/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/bge/ |
H A D | bge_recv2.c | 150 maxsize = bgep->chipid.ethmax_size + VLAN_TAGSZ + ETHERFCSL; 159 minsize = ETHERMIN + ETHERFCSL - VLAN_TAGSZ; 178 mp = allocb(BGE_HEADROOM + len + VLAN_TAGSZ, 0); 207 mp->b_rptr = dp = mp->b_rptr + BGE_HEADROOM - VLAN_TAGSZ; 213 dp + 2 * ETHERADDRL + VLAN_TAGSZ, 223 mp->b_wptr = dp + len + VLAN_TAGSZ - ETHERFCSL;
|
H A D | bge_send.c | 445 hw_sbd_p->host_buf_addr += VLAN_TAGSZ; 535 pbuf = memmove(pbuf + VLAN_TAGSZ, pbuf, 2 * ETHERADDRL); 536 txbuf->copy_len -= VLAN_TAGSZ;
|
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; 274 (void) memmove(mp->b_rptr - VLAN_TAGSZ, mp->b_rptr, 276 mp->b_rptr -= VLAN_TAGSZ; 280 rgep->stats.rbytes += VLAN_TAGSZ; 528 ASSERT(mblen >= 2 * ETHERADDRL + VLAN_TAGSZ); 529 mblen -= 2 * ETHERADDRL + VLAN_TAGSZ; 531 bcopy(bp->b_rptr + 2 * ETHERADDRL + VLAN_TAGSZ, 536 rgep->stats.obytes += VLAN_TAGSZ;
|
/illumos-gate/usr/src/uts/common/io/atge/ |
H A D | atge_l1.c | 139 sizeof (struct ether_header) + VLAN_TAGSZ + ETHERFCSL; 167 sizeof (struct ether_header) + VLAN_TAGSZ + ETHERFCSL; 673 mp = allocb(totlen + VLAN_TAGSZ, BPRI_MED); 675 mp->b_rptr += VLAN_TAGSZ;
|
H A D | atge_l1e.c | 150 sizeof (struct ether_header) + VLAN_TAGSZ + ETHERFCSL; 178 sizeof (struct ether_header) + VLAN_TAGSZ + ETHERFCSL; 536 mp = allocb(len + VLAN_TAGSZ, BPRI_MED); 538 mp->b_rptr += VLAN_TAGSZ;
|
H A D | atge_l1c.c | 167 sizeof (struct ether_header) + VLAN_TAGSZ + ETHERFCSL; 195 sizeof (struct ether_header) + VLAN_TAGSZ + ETHERFCSL;
|
/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/efe/ |
H A D | efe.c | 391 macp->m_margin = VLAN_TAGSZ; 1379 if (len > ETHERMAX + VLAN_TAGSZ) { 1428 if (len > ETHERMAX + VLAN_TAGSZ) {
|
/illumos-gate/usr/src/uts/common/io/dld/ |
H A D | dld_str.c | 1164 ovbcopy(mp->b_rptr, mp->b_rptr + VLAN_TAGSZ, 2 * ETHERADDRL); 1165 mp->b_rptr += VLAN_TAGSZ; 1288 offset = VLAN_TAGSZ; 1341 offset = VLAN_TAGSZ;
|
/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/myri10ge/drv/ |
H A D | myri10ge_var.h | 94 #define VLAN_TAGSZ 4 macro
|
H A D | myri10ge.c | 201 int myri10ge_mtu = MYRI10GE_MAX_ETHER_MTU + MXGEFW_PAD + VLAN_TAGSZ; 204 int myri10ge_mtu = ETHERMAX + MXGEFW_PAD + VLAN_TAGSZ; 2344 hdrlen += VLAN_TAGSZ; 4711 sizeof (struct ether_header) + MXGEFW_PAD + VLAN_TAGSZ; 5425 MXGEFW_PAD + VLAN_TAGSZ; 5973 (sizeof (struct ether_header) + MXGEFW_PAD + VLAN_TAGSZ); 5975 macp->m_margin = VLAN_TAGSZ;
|
/illumos-gate/usr/src/uts/common/io/bnxe/ |
H A D | bnxe.h | 101 #ifndef VLAN_TAGSZ 102 #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/mac/ |
H A D | mac_util.c | 422 ovbcopy(mp->b_rptr, mp->b_rptr + VLAN_TAGSZ, 2 * ETHERADDRL); 423 mp->b_rptr += VLAN_TAGSZ;
|
/illumos-gate/usr/src/uts/common/io/vnic/ |
H A D | vnic_dev.c | 491 vnic->vn_margin = VLAN_TAGSZ; 515 vnic->vn_margin = VLAN_TAGSZ;
|
/illumos-gate/usr/src/uts/common/io/bfe/ |
H A D | bfe.c | 2243 * MTU + VLAN_TAGSZ. 2251 if ((mp = allocb(len + VLAN_TAGSZ, BPRI_MED)) != NULL) { 2252 mp->b_rptr += VLAN_TAGSZ; 2782 VLAN_TAGSZ + ETHERFCSL; 2791 VLAN_TAGSZ + ETHERFCSL + RX_HEAD_ROOM; 2918 macreg->m_margin = VLAN_TAGSZ;
|
/illumos-gate/usr/src/uts/common/io/iprb/ |
H A D | iprb.c | 395 macp->m_margin = VLAN_TAGSZ; 1085 if ((sz = msgsize(mp)) > (ETHERMAX + VLAN_TAGSZ)) { 1184 if (cnt > (ETHERMAX + VLAN_TAGSZ)) {
|
/illumos-gate/usr/src/uts/common/io/elxl/ |
H A D | elxl.c | 581 macp->m_margin = VLAN_TAGSZ; 1156 if (len > (ETHERMAX + VLAN_TAGSZ)) { 1292 if (len > (ETHERMAX + VLAN_TAGSZ)) {
|
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | eib_main.c | 836 macp->m_margin = VLAN_TAGSZ;
|
/illumos-gate/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_rx.c | 487 max_size = Adapter->max_frame_size - ETHERFCSL - VLAN_TAGSZ;
|