Home
last modified time | relevance | path

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

/Linux-v5.15/net/core/
Dtso.c20 int mac_hdr_len = skb_network_offset(skb); in tso_build_hdr() local
24 struct iphdr *iph = (void *)(hdr + mac_hdr_len); in tso_build_hdr()
27 iph->tot_len = htons(size + hdr_len - mac_hdr_len); in tso_build_hdr()
30 struct ipv6hdr *iph = (void *)(hdr + mac_hdr_len); in tso_build_hdr()
/Linux-v5.15/drivers/net/ethernet/apm/xgene/
Dxgene_enet_cle.c647 u32 mac_hdr_len = ETH_HLEN; in xgene_cle_set_rss_sband() local
654 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()
/Linux-v5.15/drivers/crypto/caam/
Dpdb.h234 u16 mac_hdr_len; member
252 u16 mac_hdr_len; member
/Linux-v5.15/drivers/net/wireless/ath/ath6kl/
Dtxrx.c995 u16 frame_8023_len, payload_8023_len, mac_hdr_len, amsdu_len; in aggr_slice_amsdu() local
998 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()
/Linux-v5.15/drivers/net/ethernet/intel/igbvf/
Dnetdev.c2626 unsigned int network_hdr_len, mac_hdr_len; in igbvf_features_check() local
2629 mac_hdr_len = skb_network_header(skb) - skb->data; in igbvf_features_check()
2630 if (unlikely(mac_hdr_len > IGBVF_MAX_MAC_HDR_LEN)) in igbvf_features_check()
/Linux-v5.15/drivers/net/wireless/realtek/rtlwifi/
Dbase.c1466 u8 mac_hdr_len = ieee80211_get_hdrlen_from_skb(skb); in rtl_skb_ether_type_ptr() local
1485 offset = mac_hdr_len + SNAP_SIZE; in rtl_skb_ether_type_ptr()
/Linux-v5.15/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c4388 unsigned int network_hdr_len, mac_hdr_len; in ixgbevf_features_check() local
4391 mac_hdr_len = skb_network_header(skb) - skb->data; in ixgbevf_features_check()
4392 if (unlikely(mac_hdr_len > IXGBEVF_MAX_MAC_HDR_LEN)) in ixgbevf_features_check()
/Linux-v5.15/drivers/net/ethernet/intel/igc/
Digc_main.c4962 unsigned int network_hdr_len, mac_hdr_len; in igc_features_check() local
4965 mac_hdr_len = skb_network_header(skb) - skb->data; in igc_features_check()
4966 if (unlikely(mac_hdr_len > IGC_MAX_MAC_HDR_LEN)) in igc_features_check()
/Linux-v5.15/drivers/net/ethernet/intel/igb/
Digb_main.c2512 unsigned int network_hdr_len, mac_hdr_len; in igb_features_check() local
2515 mac_hdr_len = skb_network_header(skb) - skb->data; in igb_features_check()
2516 if (unlikely(mac_hdr_len > IGB_MAX_MAC_HDR_LEN)) in igb_features_check()
/Linux-v5.15/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c10074 unsigned int network_hdr_len, mac_hdr_len; in ixgbe_features_check() local
10077 mac_hdr_len = skb_network_header(skb) - skb->data; in ixgbe_features_check()
10078 if (unlikely(mac_hdr_len > IXGBE_MAX_MAC_HDR_LEN)) in ixgbe_features_check()