net: dsa: felix: add support Credit Based Shaper(CBS) for hardware offload
authorXiaoliang Yang <xiaoliang.yang_1@nxp.com>
Wed, 13 May 2020 02:25:10 +0000 (10:25 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 May 2020 18:54:46 +0000 (11:54 -0700)
commit0fbabf875d184eee21b94d8b8a9c83d5df5cb3d4
tree085430ed48277152b008c90564cfe51dac496a21
parentde143c0e274b95ba0513acf8e60b3b87d24335fa
net: dsa: felix: add support Credit Based Shaper(CBS) for hardware offload

VSC9959 hardware support the Credit Based Shaper(CBS) which part
of the IEEE-802.1Qav. This patch support sch_cbs set for VSC9959.

Signed-off-by: Xiaoliang Yang <xiaoliang.yang_1@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/ocelot/felix_vsc9959.c