Searched refs:mac_hdr_len (Results 1 – 11 of 11) sorted by relevance
12 int mac_hdr_len = skb_network_offset(skb); in tso_build_hdr() local16 struct iphdr *iph = (void *)(hdr + mac_hdr_len); in tso_build_hdr()19 iph->tot_len = htons(size + hdr_len - mac_hdr_len); in tso_build_hdr()22 struct ipv6hdr *iph = (void *)(hdr + mac_hdr_len); in tso_build_hdr()
647 u32 mac_hdr_len = ETH_HLEN; in xgene_cle_set_rss_sband() local654 hdr_len = (mac_hdr_len << 5) | ipv4_ihl; in xgene_cle_set_rss_sband()659 hdr_len = (mac_hdr_len << 5) | ipv4_ihl; in xgene_cle_set_rss_sband()668 hdr_len = (mac_hdr_len << 5) | ipv4_ihl; in xgene_cle_set_rss_sband()674 hdr_len = (mac_hdr_len << 5); in xgene_cle_set_rss_sband()
234 u16 mac_hdr_len; member252 u16 mac_hdr_len; member
995 u16 frame_8023_len, payload_8023_len, mac_hdr_len, amsdu_len; in aggr_slice_amsdu() local998 mac_hdr_len = sizeof(struct ethhdr); in aggr_slice_amsdu()999 framep = skb->data + mac_hdr_len; in aggr_slice_amsdu()1000 amsdu_len = skb->len - mac_hdr_len; in aggr_slice_amsdu()1002 while (amsdu_len > mac_hdr_len) { in aggr_slice_amsdu()1013 frame_8023_len = payload_8023_len + mac_hdr_len; in aggr_slice_amsdu()
2625 unsigned int network_hdr_len, mac_hdr_len; in igbvf_features_check() local2628 mac_hdr_len = skb_network_header(skb) - skb->data; in igbvf_features_check()2629 if (unlikely(mac_hdr_len > IGBVF_MAX_MAC_HDR_LEN)) in igbvf_features_check()
1467 u8 mac_hdr_len = ieee80211_get_hdrlen_from_skb(skb); in rtl_skb_ether_type_ptr() local1486 offset = mac_hdr_len + SNAP_SIZE; in rtl_skb_ether_type_ptr()
4413 unsigned int network_hdr_len, mac_hdr_len; in ixgbevf_features_check() local4416 mac_hdr_len = skb_network_header(skb) - skb->data; in ixgbevf_features_check()4417 if (unlikely(mac_hdr_len > IXGBEVF_MAX_MAC_HDR_LEN)) in ixgbevf_features_check()
424 int mac_hdr_len = skb_network_offset(skb); in enetc_tso_hdr_csum() local440 struct iphdr *iph = (void *)(hdr + mac_hdr_len); in enetc_tso_hdr_csum()
5155 unsigned int network_hdr_len, mac_hdr_len; in igc_features_check() local5158 mac_hdr_len = skb_network_header(skb) - skb->data; in igc_features_check()5159 if (unlikely(mac_hdr_len > IGC_MAX_MAC_HDR_LEN)) in igc_features_check()
2538 unsigned int network_hdr_len, mac_hdr_len; in igb_features_check() local2541 mac_hdr_len = skb_network_header(skb) - skb->data; in igb_features_check()2542 if (unlikely(mac_hdr_len > IGB_MAX_MAC_HDR_LEN)) in igb_features_check()
10228 unsigned int network_hdr_len, mac_hdr_len; in ixgbe_features_check() local10231 mac_hdr_len = skb_network_header(skb) - skb->data; in ixgbe_features_check()10232 if (unlikely(mac_hdr_len > IXGBE_MAX_MAC_HDR_LEN)) in ixgbe_features_check()
Completed in 80 milliseconds