]> git.baikalelectronics.ru Git - kernel.git/commit
dpaa2-eth: fix command version for Tx shaping
authorIoana Ciornei <ioana.ciornei@nxp.com>
Fri, 25 Sep 2020 14:35:30 +0000 (17:35 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Sep 2020 00:08:48 +0000 (17:08 -0700)
commitfe938687d571b007a09c823de7f7d290e0824c43
treee881e9af8a6e39d04769d7b075ee902f555ebbc9
parent4811a1794e310b0fc3542551f2824369c131e5d2
dpaa2-eth: fix command version for Tx shaping

When adding the support for TBF offload, the improper command version
was added even though the command format is for the V2 of
dpni_set_tx_shaping(). This does not affect the functionality of TBF
since the only change between these two versions is the addition of the
exceeded parameters which are not used in TBF. Still, fix the bug so
that we keep things in sync.

Fixes: 2b73b016865a ("dpaa2-eth: add API for Tx shaping")
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa2/dpni-cmd.h