Lines Matching refs:features
1160 unsigned int old_features, features;
1162 old_features = dev->features;
1163 /* Unset features, set them as we chew on the arg. */
1164 features = (old_features & ~(NETIF_F_HW_CSUM|NETIF_F_SG|NETIF_F_FRAGLIST
1169 features |= NETIF_F_HW_CSUM|NETIF_F_SG|NETIF_F_FRAGLIST;
1174 features |= NETIF_F_TSO_ECN;
1178 features |= NETIF_F_TSO;
1180 features |= NETIF_F_TSO6;
1185 features |= NETIF_F_UFO;
1190 /* This gives the user a way to test for new features in future by
1195 dev->features = features;
1196 if (old_features != dev->features)