aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/freescale/enetc/enetc_vf.c
diff options
context:
space:
mode:
authorCamelia Groza <camelia.groza@nxp.com>2019-05-27 18:21:31 +0300
committerDavid S. Miller <davem@davemloft.net>2019-05-28 17:11:02 -0700
commitcbe9e835946fc792b061d51527c6f006a10419e6 (patch)
tree8571f17a637ffc5594f9ae01eba618f9566e46ef /drivers/net/ethernet/freescale/enetc/enetc_vf.c
parentMerge branch 'stmmac-SPDX' (diff)
downloadlinux-dev-cbe9e835946fc792b061d51527c6f006a10419e6.tar.xz
linux-dev-cbe9e835946fc792b061d51527c6f006a10419e6.zip
enetc: Enable TC offloading with mqprio
Add support to configure multiple prioritized TX traffic classes with mqprio. Configure one BD ring per TC for the moment, one netdev queue per TC. Signed-off-by: Camelia Groza <camelia.groza@nxp.com> Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--drivers/net/ethernet/freescale/enetc/enetc_vf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/freescale/enetc/enetc_vf.c b/drivers/net/ethernet/freescale/enetc/enetc_vf.c
index 17f72644c5a1..ebd21bf4cfa1 100644
--- a/drivers/net/ethernet/freescale/enetc/enetc_vf.c
+++ b/drivers/net/ethernet/freescale/enetc/enetc_vf.c
@@ -112,6 +112,7 @@ static const struct net_device_ops enetc_ndev_ops = {
.ndo_set_mac_address = enetc_vf_set_mac_addr,
.ndo_set_features = enetc_vf_set_features,
.ndo_do_ioctl = enetc_ioctl,
+ .ndo_setup_tc = enetc_setup_tc,
};
static void enetc_vf_netdev_setup(struct enetc_si *si, struct net_device *ndev,