net: mvpp2: add RXQ flow control configurations
authorStefan Chulski <stefanc@marvell.com>
Thu, 11 Feb 2021 10:48:57 +0000 (12:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Feb 2021 22:50:23 +0000 (14:50 -0800)
commit3bd17fdc08e99c40044aed061e8f6599a1e20710
tree08457a8cdc9d0a777cbd0b6748a7916391392465
parenta59d354208a784d277cf057e8be8d17a7f5bf38e
net: mvpp2: add RXQ flow control configurations

This patch adds RXQ flow control configurations.
Flow control disabled by default.
Minimum ring size limited to 1024 descriptors.

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