Lines Matching refs:features
227 return dev->features & NETIF_F_SG; in xennet_can_sg()
596 gso->u.gso.features = 0; in xennet_start_xmit()
1112 netdev_features_t features) in xennet_fix_features() argument
1117 if (features & NETIF_F_SG) { in xennet_fix_features()
1123 features &= ~NETIF_F_SG; in xennet_fix_features()
1126 if (features & NETIF_F_IPV6_CSUM) { in xennet_fix_features()
1132 features &= ~NETIF_F_IPV6_CSUM; in xennet_fix_features()
1135 if (features & NETIF_F_TSO) { in xennet_fix_features()
1141 features &= ~NETIF_F_TSO; in xennet_fix_features()
1144 if (features & NETIF_F_TSO6) { in xennet_fix_features()
1150 features &= ~NETIF_F_TSO6; in xennet_fix_features()
1153 return features; in xennet_fix_features()
1157 netdev_features_t features) in xennet_set_features() argument
1159 if (!(features & NETIF_F_SG) && dev->mtu > ETH_DATA_LEN) { in xennet_set_features()
1264 netdev->features = NETIF_F_IP_CSUM | NETIF_F_RXCSUM | in xennet_create_dev()
1276 netdev->features |= netdev->hw_features; in xennet_create_dev()