Searched refs:ICE_ETH_PKT_HDR_PAD (Results 1 – 3 of 3) sorted by relevance
141 #define ICE_ETH_PKT_HDR_PAD (ETH_HLEN + ETH_FCS_LEN + (VLAN_HLEN * 2)) macro
122 #define ICE_MAX_MTU (ICE_AQ_SET_MAC_FRAME_SIZE_MAX - ICE_ETH_PKT_HDR_PAD)
2994 unsigned int frame_size = vsi->netdev->mtu + ICE_ETH_PKT_HDR_PAD; in ice_xdp_setup_prog()7793 if (new_mtu + ICE_ETH_PKT_HDR_PAD > frame_size) { in ice_change_mtu()7795 frame_size - ICE_ETH_PKT_HDR_PAD); in ice_change_mtu()7799 if (new_mtu + ICE_ETH_PKT_HDR_PAD > ICE_MAX_FRAME_LEGACY_RX) { in ice_change_mtu()7801 ICE_MAX_FRAME_LEGACY_RX - ICE_ETH_PKT_HDR_PAD); in ice_change_mtu()