Home
last modified time | relevance | path

Searched refs:eth_hdr_size (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/uts/common/io/hxge/
H A Dhxge_txdma.c264 size_t eth_hdr_size; in hxge_fill_tx_hdr() local
329 eth_hdr_size = sizeof (struct ether_header); in hxge_fill_tx_hdr()
331 eth_hdr_size = sizeof (struct ether_vlan_header); in hxge_fill_tx_hdr()
336 if (mblk_len > eth_hdr_size + sizeof (uint8_t)) { in hxge_fill_tx_hdr()
337 ip_buf = nmp->b_rptr + eth_hdr_size; in hxge_fill_tx_hdr()
338 mblk_len -= eth_hdr_size; in hxge_fill_tx_hdr()
342 ip_buf += eth_hdr_size; in hxge_fill_tx_hdr()
363 ip_buf += eth_hdr_size; in hxge_fill_tx_hdr()
370 tmp = (uint64_t)(eth_hdr_size >> 1); in hxge_fill_tx_hdr()
375 "tmp 0x%x", iph_len, hdrp->bits.l3start, eth_hdr_size, in hxge_fill_tx_hdr()
[all …]
/titanic_50/usr/src/uts/common/io/nxge/
H A Dnxge_txdma.c472 size_t eth_hdr_size; in nxge_fill_tx_hdr() local
547 eth_hdr_size = sizeof (struct ether_header); in nxge_fill_tx_hdr()
549 eth_hdr_size = sizeof (struct ether_vlan_header); in nxge_fill_tx_hdr()
554 if (mblk_len > eth_hdr_size + sizeof (uint8_t)) { in nxge_fill_tx_hdr()
555 ip_buf = nmp->b_rptr + eth_hdr_size; in nxge_fill_tx_hdr()
556 mblk_len -= eth_hdr_size; in nxge_fill_tx_hdr()
560 ip_buf += eth_hdr_size; in nxge_fill_tx_hdr()
583 ip_buf += eth_hdr_size; in nxge_fill_tx_hdr()
591 tmp = (uint64_t)(eth_hdr_size >> 1); in nxge_fill_tx_hdr()
597 iph_len, hdrp->bits.hdw.l3start, eth_hdr_size, in nxge_fill_tx_hdr()
[all …]
/titanic_50/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/fw/
H A D5710_hsi.h5835 u8_t eth_hdr_size /* Ethernet header size without eth type */; member
5839 u8_t eth_hdr_size /* Ethernet header size without eth type */; member