Searched refs:VLAN_TAGSZ (Results 1 - 25 of 60) sorted by relevance

123

/illumos-gate/usr/src/uts/sun4v/io/
H A Dvnet_common.c74 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 Dvsw.c1100 macp->m_margin = VLAN_TAGSZ;
1783 VLAN_TAGSZ;
2036 sizeof (struct ether_header) + VLAN_TAGSZ;
/illumos-gate/usr/src/uts/common/sys/
H A Dvlan.h37 #define VLAN_TAGSZ 4 macro
/illumos-gate/usr/src/uts/common/io/bge/
H A Dbge_recv2.c150 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 Dbge_send.c445 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 Dbge_impl.h85 #ifndef VLAN_TAGSZ
86 #define VLAN_TAGSZ 4 macro
/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_rxtx.c221 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 Datge_l1.c139 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 Datge_l1e.c150 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 Datge_l1c.c167 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 Ddmfe_impl.h53 #define DMFE_MAX_PKT_SIZE (VLAN_TAGSZ + ETHERMAX + ETHERFCSL)
/illumos-gate/usr/src/uts/common/io/efe/
H A Defe.c391 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 Ddld_str.c1164 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 Dvr.h111 #define VR_MAX_PKTSZ (ETHERMAX + ETHERFCSL + VLAN_TAGSZ + VR_SLOPSZ)
/illumos-gate/usr/src/uts/common/io/myri10ge/drv/
H A Dmyri10ge_var.h94 #define VLAN_TAGSZ 4 macro
H A Dmyri10ge.c201 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 Dbnxe.h101 #ifndef VLAN_TAGSZ
102 #define VLAN_TAGSZ 4 macro
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlge/
H A Dqlge.h279 #ifndef VLAN_TAGSZ
280 #define VLAN_TAGSZ 4 macro
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_util.c422 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 Dvnic_dev.c491 vnic->vn_margin = VLAN_TAGSZ;
515 vnic->vn_margin = VLAN_TAGSZ;
/illumos-gate/usr/src/uts/common/io/bfe/
H A Dbfe.c2243 * 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 Diprb.c395 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 Delxl.c581 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 Deib_main.c836 macp->m_margin = VLAN_TAGSZ;
/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000g_rx.c487 max_size = Adapter->max_frame_size - ETHERFCSL - VLAN_TAGSZ;

Completed in 184 milliseconds

123