]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: ti: add NETIF_F_HW_TC hw feature flag for taprio offload
authorMurali Karicheri <m-karicheri2@ti.com>
Fri, 17 Jul 2020 12:19:32 +0000 (15:19 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Jul 2020 01:32:34 +0000 (18:32 -0700)
commit2d02ba1cdbf18cdec1f459436af2d975010d1787
tree60a3043cd8e5fcf86209b516f4472accb3857f61
parentcb2f86be36ca5e6db02adea8b83ed629bf0fb3cf
net: ethernet: ti: add NETIF_F_HW_TC hw feature flag for taprio offload

Currently drive supports taprio offload which is a tc feature offloaded
to cpsw hardware. So driver has to set the hw feature flag, NETIF_F_HW_TC
in the net device to be compliant. This patch adds the flag.

Fixes: 6428ce65275e ("ethernet: ti: am65-cpsw-qos: add TAPRIO offload support")
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/am65-cpsw-nuss.c