Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_tx.c168 ((mbsize - ctx->mac_hdr_len) > IXGBE_LSO_MAXLEN)) || in ixgbe_ring_tx()
225 hdr_len = ctx->ip_hdr_len + ctx->mac_hdr_len + ctx->l4_hdr_len; in ixgbe_ring_tx()
588 uint32_t mac_hdr_len; in ixgbe_get_context() local
608 mac_hdr_len = 0; in ixgbe_get_context()
642 mac_hdr_len = sizeof (struct ether_vlan_header); in ixgbe_get_context()
644 mac_hdr_len = sizeof (struct ether_header); in ixgbe_get_context()
656 offset = offsetof(ipha_t, ipha_length) + mac_hdr_len; in ixgbe_get_context()
667 mac_hdr_len; in ixgbe_get_context()
687 offset = offsetof(ipha_t, ipha_protocol) + mac_hdr_len; in ixgbe_get_context()
703 offset = offsetof(ip6_t, ip6_plen) + mac_hdr_len; in ixgbe_get_context()
[all …]
H A Dixgbe_sw.h413 uint32_t mac_hdr_len; member
/illumos-gate/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()
608 uint32_t mac_hdr_len; in igb_get_tx_context() local
627 mac_hdr_len = 0; in igb_get_tx_context()
661 mac_hdr_len = sizeof (struct ether_vlan_header); in igb_get_tx_context()
663 mac_hdr_len = sizeof (struct ether_header); in igb_get_tx_context()
674 offset = mac_hdr_len; in igb_get_tx_context()
706 offset = offsetof(ip6_t, ip6_plen) + mac_hdr_len; in igb_get_tx_context()
717 offset = offsetof(ip6_t, ip6_nxt) + mac_hdr_len; in igb_get_tx_context()
748 offset = mac_hdr_len + start; in igb_get_tx_context()
[all …]
H A Digb_sw.h361 uint32_t mac_hdr_len; member
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge.c4833 int mac_hdr_len, ip_hdr_len, tcp_udp_hdr_len; in ql_hw_csum_setup() local
4840 mac_hdr_len = sizeof (struct ether_vlan_header); in ql_hw_csum_setup()
4843 mac_hdr_len = sizeof (struct ether_header); in ql_hw_csum_setup()
4847 if (IPH_HDR_VERSION((ipha_t *)(void *)(bp+mac_hdr_len)) == in ql_hw_csum_setup()
4850 iphdr = (struct ip *)(void *)(bp+mac_hdr_len); in ql_hw_csum_setup()
4866 ip_hdr_off = mac_hdr_len; in ql_hw_csum_setup()
4899 tcp_udp_hdr_off = mac_hdr_len+ip_hdr_len; in ql_hw_csum_setup()
4909 cpu_to_le16(mac_hdr_len + ip_hdr_len + in ql_hw_csum_setup()
4933 tcp_udp_hdr_off = mac_hdr_len + ip_hdr_len; in ql_hw_csum_setup()
4943 cpu_to_le16(mac_hdr_len + ip_hdr_len in ql_hw_csum_setup()
[all …]
/illumos-gate/usr/src/uts/common/io/qede/
H A Dqede_fp.c1743 int mac_hdr_len, ip_hdr_len; in qede_hash_get_txq() local
1761 mac_hdr_len = sizeof (struct ether_vlan_header); in qede_hash_get_txq()
1764 mac_hdr_len = sizeof (struct ether_header); in qede_hash_get_txq()
1769 if (IPH_HDR_VERSION((ipha_t *)(void *)(bp+mac_hdr_len)) in qede_hash_get_txq()
1771 iphdr = (struct ip *)(void *)(bp+mac_hdr_len); in qede_hash_get_txq()