]> 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)
commit14cb046ace9a801de1f1fdd971a7f654e6ff5e40
treee881e9af8a6e39d04769d7b075ee902f555ebbc9
parentf30db4ad9275f27447d1732f45053a7df86f39e1
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: 8e692895a861 ("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