mbox series

[v2,net-next,0/3] net: dsa: felix: tc taprio and CBS offload support

Message ID 20200513022510.18457-1-xiaoliang.yang_1@nxp.com
Headers show
Series net: dsa: felix: tc taprio and CBS offload support | expand

Message

Xiaoliang Yang May 13, 2020, 2:25 a.m. UTC
This patch series support tc taprio and CBS hardware offload according
to IEEE 802.1Qbv and IEEE-802.1Qav on VSC9959.

v1->v2 changes:
 - Move port_qos_map_init() function to be common felix codes.
 - Keep const for dsa_switch_ops structs, add felix_port_setup_tc
   function to call port_setup_tc of felix.info.
 - fix code style for cbs_set, rename variables.

Xiaoliang Yang (3):
  net: dsa: felix: qos classified based on pcp
  net: dsa: felix: Configure Time-Aware Scheduler via taprio offload
  net: dsa: felix: add support Credit Based Shaper(CBS) for hardware
    offload

 drivers/net/dsa/ocelot/felix.c         |  45 ++++++
 drivers/net/dsa/ocelot/felix.h         |   5 +
 drivers/net/dsa/ocelot/felix_vsc9959.c | 190 ++++++++++++++++++++++++-
 3 files changed, 239 insertions(+), 1 deletion(-)