Commit fbf60e37 authored by Jakub Kicinski's avatar Jakub Kicinski Committed by David S. Miller
Browse files

nfp: run don't require Qdiscs on representor netdevs



Our representors are software devices built on top of the PF
vNIC, the queuing should only happen at the vNIC netdevice.
Allow representors to run qdisc-less.

Signed-off-by: default avatarJakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: default avatarJohn Hurley <john.hurley@netronome.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9db8bbcb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -299,6 +299,7 @@ int nfp_repr_init(struct nfp_app *app, struct net_device *netdev,

	SWITCHDEV_SET_OPS(netdev, &nfp_port_switchdev_ops);

	netdev->priv_flags |= IFF_NO_QUEUE;
	netdev->features |= NETIF_F_LLTX;

	if (nfp_app_has_tc(app)) {