|
@@ -329,6 +329,8 @@ int nfp_repr_init(struct nfp_app *app, struct net_device *netdev,
|
|
|
|
|
|
|
|
SWITCHDEV_SET_OPS(netdev, &nfp_port_switchdev_ops);
|
|
SWITCHDEV_SET_OPS(netdev, &nfp_port_switchdev_ops);
|
|
|
|
|
|
|
|
|
|
+ netdev->priv_flags |= IFF_DISABLE_NETPOLL;
|
|
|
|
|
+
|
|
|
if (nfp_app_has_tc(app)) {
|
|
if (nfp_app_has_tc(app)) {
|
|
|
netdev->features |= NETIF_F_HW_TC;
|
|
netdev->features |= NETIF_F_HW_TC;
|
|
|
netdev->hw_features |= NETIF_F_HW_TC;
|
|
netdev->hw_features |= NETIF_F_HW_TC;
|