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)
commit2c4dc31486034fa8929a571e7a59677e92b5d6c5
tree60a3043cd8e5fcf86209b516f4472accb3857f61
parent1264d7fa3a64d8bea7aebb77253f917947ffda25
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: 8127224c2708 ("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