Lines Matching refs:features
226 return dev->features & NETIF_F_SG; in xennet_can_sg()
647 gso->u.gso.features = 0; in xennet_start_xmit()
1163 netdev_features_t features) in xennet_fix_features() argument
1168 if (features & NETIF_F_SG) { in xennet_fix_features()
1174 features &= ~NETIF_F_SG; in xennet_fix_features()
1177 if (features & NETIF_F_IPV6_CSUM) { in xennet_fix_features()
1183 features &= ~NETIF_F_IPV6_CSUM; in xennet_fix_features()
1186 if (features & NETIF_F_TSO) { in xennet_fix_features()
1192 features &= ~NETIF_F_TSO; in xennet_fix_features()
1195 if (features & NETIF_F_TSO6) { in xennet_fix_features()
1201 features &= ~NETIF_F_TSO6; in xennet_fix_features()
1204 return features; in xennet_fix_features()
1208 netdev_features_t features) in xennet_set_features() argument
1210 if (!(features & NETIF_F_SG) && dev->mtu > ETH_DATA_LEN) { in xennet_set_features()
1311 netdev->features = NETIF_F_IP_CSUM | NETIF_F_RXCSUM | in xennet_create_dev()
1323 netdev->features |= netdev->hw_features; in xennet_create_dev()