Lines Matching full:features
155 netdev_features_t features) in aq_ndev_set_features() argument
157 bool is_vlan_tx_insert = !!(features & NETIF_F_HW_VLAN_CTAG_TX); in aq_ndev_set_features()
158 bool is_vlan_rx_strip = !!(features & NETIF_F_HW_VLAN_CTAG_RX); in aq_ndev_set_features()
167 if (!(features & NETIF_F_NTUPLE)) { in aq_ndev_set_features()
168 if (aq_nic->ndev->features & NETIF_F_NTUPLE) { in aq_ndev_set_features()
174 if (!(features & NETIF_F_HW_VLAN_CTAG_FILTER)) { in aq_ndev_set_features()
175 if (aq_nic->ndev->features & NETIF_F_HW_VLAN_CTAG_FILTER) { in aq_ndev_set_features()
182 aq_cfg->features = features; in aq_ndev_set_features()
185 is_lro = features & NETIF_F_LRO; in aq_ndev_set_features()
193 if ((aq_nic->ndev->features ^ features) & NETIF_F_RXCSUM) { in aq_ndev_set_features()
220 netdev_features_t features) in aq_ndev_fix_features() argument
225 if (!(features & NETIF_F_RXCSUM)) in aq_ndev_fix_features()
226 features &= ~NETIF_F_LRO; in aq_ndev_fix_features()
230 aq_nic->xdp_prog && features & NETIF_F_LRO) { in aq_ndev_fix_features()
232 features &= ~NETIF_F_LRO; in aq_ndev_fix_features()
235 return features; in aq_ndev_fix_features()
458 if (prog && ndev->features & NETIF_F_LRO) { in aq_xdp_setup()
461 ndev->features &= ~NETIF_F_LRO; in aq_xdp_setup()