Home
last modified time | relevance | path

Searched refs:mac_hdr_len (Results 1 – 5 of 5) sorted by relevance

/titanic_50/usr/src/uts/common/io/ixgbe/
H A Dixgbe_tx.c141 ((mbsize - ctx->mac_hdr_len) > IXGBE_LSO_MAXLEN)) || in ixgbe_ring_tx()
191 hdr_len = ctx->ip_hdr_len + ctx->mac_hdr_len + ctx->l4_hdr_len; in ixgbe_ring_tx()
446 hdr_len = ctx->ip_hdr_len + ctx->mac_hdr_len + in ixgbe_ring_tx()
706 uint32_t mac_hdr_len; in ixgbe_get_context() local
739 mac_hdr_len = 0; in ixgbe_get_context()
773 mac_hdr_len = sizeof (struct ether_vlan_header); in ixgbe_get_context()
775 mac_hdr_len = sizeof (struct ether_header); in ixgbe_get_context()
785 offset = offsetof(ipha_t, ipha_length) + mac_hdr_len; in ixgbe_get_context()
796 mac_hdr_len; in ixgbe_get_context()
815 offset = offsetof(ipha_t, ipha_protocol) + mac_hdr_len; in ixgbe_get_context()
[all …]
H A Dixgbe_sw.h399 uint32_t mac_hdr_len; member
/titanic_50/usr/src/uts/common/io/igb/
H A Digb_tx.c145 (mbsize > (ctx->mac_hdr_len + IGB_LSO_MAXLEN))) || in igb_tx()
186 hdr_len = ctx->mac_hdr_len + ctx->ip_hdr_len + ctx->l4_hdr_len; in igb_tx()
607 uint32_t mac_hdr_len; in igb_get_tx_context() local
639 mac_hdr_len = 0; in igb_get_tx_context()
673 mac_hdr_len = sizeof (struct ether_vlan_header); in igb_get_tx_context()
675 mac_hdr_len = sizeof (struct ether_header); in igb_get_tx_context()
684 offset = mac_hdr_len; in igb_get_tx_context()
711 offset = offsetof(ip6_t, ip6_nxt) + mac_hdr_len; in igb_get_tx_context()
730 offset = mac_hdr_len + start; in igb_get_tx_context()
747 ctx->mac_hdr_len = mac_hdr_len; in igb_get_tx_context()
[all …]
H A Digb_sw.h357 uint32_t mac_hdr_len; member
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge.c4829 int mac_hdr_len, ip_hdr_len, tcp_udp_hdr_len; in ql_hw_csum_setup() local
4836 mac_hdr_len = sizeof (struct ether_vlan_header); in ql_hw_csum_setup()
4839 mac_hdr_len = sizeof (struct ether_header); in ql_hw_csum_setup()
4843 if (IPH_HDR_VERSION((ipha_t *)(void *)(bp+mac_hdr_len)) == in ql_hw_csum_setup()
4846 iphdr = (struct ip *)(void *)(bp+mac_hdr_len); in ql_hw_csum_setup()
4862 ip_hdr_off = mac_hdr_len; in ql_hw_csum_setup()
4895 tcp_udp_hdr_off = mac_hdr_len+ip_hdr_len; in ql_hw_csum_setup()
4905 cpu_to_le16(mac_hdr_len + ip_hdr_len + in ql_hw_csum_setup()
4929 tcp_udp_hdr_off = mac_hdr_len + ip_hdr_len; in ql_hw_csum_setup()
4939 cpu_to_le16(mac_hdr_len + ip_hdr_len in ql_hw_csum_setup()
[all …]