Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/net/8021q/
Dvlan_dev.c648 netdev_features_t lower_features; in vlan_dev_fix_features() local
650 lower_features = netdev_intersect_features((real_dev->vlan_features | in vlan_dev_fix_features()
657 if (lower_features & (NETIF_F_IP_CSUM|NETIF_F_IPV6_CSUM)) in vlan_dev_fix_features()
658 lower_features |= NETIF_F_HW_CSUM; in vlan_dev_fix_features()
659 features = netdev_intersect_features(features, lower_features); in vlan_dev_fix_features()