Searched refs:mac_hdr_len (Results 1 – 5 of 5) sorted by relevance
139 ((mbsize - ctx->mac_hdr_len) > IXGBE_LSO_MAXLEN)) || in ixgbe_ring_tx()189 hdr_len = ctx->ip_hdr_len + ctx->mac_hdr_len + ctx->l4_hdr_len; in ixgbe_ring_tx()444 hdr_len = ctx->ip_hdr_len + ctx->mac_hdr_len + in ixgbe_ring_tx()704 uint32_t mac_hdr_len; in ixgbe_get_context() local737 mac_hdr_len = 0; in ixgbe_get_context()771 mac_hdr_len = sizeof (struct ether_vlan_header); in ixgbe_get_context()773 mac_hdr_len = sizeof (struct ether_header); in ixgbe_get_context()783 offset = offsetof(ipha_t, ipha_length) + mac_hdr_len; in ixgbe_get_context()794 mac_hdr_len; in ixgbe_get_context()813 offset = offsetof(ipha_t, ipha_protocol) + mac_hdr_len; in ixgbe_get_context()[all …]
396 uint32_t mac_hdr_len; member
145 (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() local639 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 …]
356 uint32_t mac_hdr_len; member
4829 int mac_hdr_len, ip_hdr_len, tcp_udp_hdr_len; in ql_hw_csum_setup() local4836 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 …]