Lines Matching refs:features
754 netdev_features_t features) in ibmveth_fix_features() argument
765 if (!(features & NETIF_F_RXCSUM)) in ibmveth_fix_features()
766 features &= ~NETIF_F_ALL_CSUM; in ibmveth_fix_features()
768 return features; in ibmveth_fix_features()
817 dev->features &= ~NETIF_F_IP_CSUM; in ibmveth_set_csum_offload()
835 dev->features &= ~NETIF_F_IPV6_CSUM; in ibmveth_set_csum_offload()
895 dev->features &= ~(NETIF_F_TSO | NETIF_F_TSO6); in ibmveth_set_tso()
907 dev->features &= ~NETIF_F_TSO6; in ibmveth_set_tso()
920 netdev_features_t features) in ibmveth_set_features() argument
923 int rx_csum = !!(features & NETIF_F_RXCSUM); in ibmveth_set_features()
924 int large_send = !!(features & (NETIF_F_TSO | NETIF_F_TSO6)); in ibmveth_set_features()
930 dev->features = in ibmveth_set_features()
931 features & ~(NETIF_F_ALL_CSUM | NETIF_F_RXCSUM); in ibmveth_set_features()
937 dev->features = in ibmveth_set_features()
938 features & ~(NETIF_F_TSO | NETIF_F_TSO6); in ibmveth_set_features()
1539 netdev->features |= netdev->hw_features; in ibmveth_probe()
1547 netdev->features |= netdev->hw_features; in ibmveth_probe()
1578 ibmveth_set_features(netdev, netdev->features); in ibmveth_probe()