Home
last modified time | relevance | path

Searched refs:lower_features (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/netronome/nfp/
Dnfp_net_repr.c240 netdev_features_t lower_features; in nfp_repr_fix_features() local
245 lower_features = lower_dev->features; in nfp_repr_fix_features()
246 if (lower_features & (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM)) in nfp_repr_fix_features()
247 lower_features |= NETIF_F_HW_CSUM; in nfp_repr_fix_features()
249 features = netdev_intersect_features(features, lower_features); in nfp_repr_fix_features()
/linux-6.6.21/net/8021q/
Dvlan_dev.c667 netdev_features_t lower_features; in vlan_dev_fix_features() local
669 lower_features = netdev_intersect_features((real_dev->vlan_features | in vlan_dev_fix_features()
676 if (lower_features & (NETIF_F_IP_CSUM|NETIF_F_IPV6_CSUM)) in vlan_dev_fix_features()
677 lower_features |= NETIF_F_HW_CSUM; in vlan_dev_fix_features()
678 features = netdev_intersect_features(features, lower_features); in vlan_dev_fix_features()