]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvpp2: add ethtool flow control configuration support
authorStefan Chulski <stefanc@marvell.com>
Thu, 11 Feb 2021 10:48:58 +0000 (12:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Feb 2021 22:50:23 +0000 (14:50 -0800)
commit6f677ff623e87b9974699b3689b7cde860b618be
tree92265ad8ca533ab7cb20db118bc0d4bb287d61ce
parentb291d2c1a22ae52148e44b6386b8be061b2ba24e
net: mvpp2: add ethtool flow control configuration support

This patch add ethtool flow control configuration support.

Tx flow control retrieved correctly by ethtool get function.
FW per port ethtool configuration capability added.

Patch also takes care about mtu change procedure, if PPv2 switch
BM pools during mtu change.

Signed-off-by: Stefan Chulski <stefanc@marvell.com>
Acked-by: Marcin Wojtas <mw@semihalf.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2/mvpp2.h
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c