enetc: Configure the Time-Aware Scheduler via tc-taprio offload
authorPo Liu <po.liu@nxp.com>
Fri, 15 Nov 2019 03:33:33 +0000 (03:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 16 Nov 2019 20:49:16 +0000 (12:49 -0800)
commit34c6adf1977b611fca3b824ad12a2a415e1e420e
treeb2f974fcde2faedca773c20a16d2ce051ba868a1
parentc3f812cea0d7006469d1cf33a4a9f0a12bb4b3a3
enetc: Configure the Time-Aware Scheduler via tc-taprio offload

ENETC supports in hardware for time-based egress shaping according
to IEEE 802.1Qbv. This patch implement the Qbv enablement by the
hardware offload method qdisc tc-taprio method.
Also update cbdr writeback to up level since control bd ring may
writeback data to control bd ring.

Signed-off-by: Po Liu <Po.Liu@nxp.com>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/enetc/Kconfig
drivers/net/ethernet/freescale/enetc/Makefile
drivers/net/ethernet/freescale/enetc/enetc.c
drivers/net/ethernet/freescale/enetc/enetc.h
drivers/net/ethernet/freescale/enetc/enetc_cbdr.c
drivers/net/ethernet/freescale/enetc/enetc_hw.h
drivers/net/ethernet/freescale/enetc/enetc_qos.c [new file with mode: 0644]