Lines Matching refs:features
156 netdev_features_t features) in aq_ndev_set_features() argument
158 bool is_vlan_tx_insert = !!(features & NETIF_F_HW_VLAN_CTAG_TX); in aq_ndev_set_features()
159 bool is_vlan_rx_strip = !!(features & NETIF_F_HW_VLAN_CTAG_RX); in aq_ndev_set_features()
168 if (!(features & NETIF_F_NTUPLE)) { in aq_ndev_set_features()
169 if (aq_nic->ndev->features & NETIF_F_NTUPLE) { in aq_ndev_set_features()
175 if (!(features & NETIF_F_HW_VLAN_CTAG_FILTER)) { in aq_ndev_set_features()
176 if (aq_nic->ndev->features & NETIF_F_HW_VLAN_CTAG_FILTER) { in aq_ndev_set_features()
183 aq_cfg->features = features; in aq_ndev_set_features()
186 is_lro = features & NETIF_F_LRO; in aq_ndev_set_features()
194 if ((aq_nic->ndev->features ^ features) & NETIF_F_RXCSUM) { in aq_ndev_set_features()
221 netdev_features_t features) in aq_ndev_fix_features() argument
226 if (!(features & NETIF_F_RXCSUM)) in aq_ndev_fix_features()
227 features &= ~NETIF_F_LRO; in aq_ndev_fix_features()
231 aq_nic->xdp_prog && features & NETIF_F_LRO) { in aq_ndev_fix_features()
233 features &= ~NETIF_F_LRO; in aq_ndev_fix_features()
236 return features; in aq_ndev_fix_features()
459 if (prog && ndev->features & NETIF_F_LRO) { in aq_xdp_setup()
462 ndev->features &= ~NETIF_F_LRO; in aq_xdp_setup()