dpaa2-eth: bql support
authorIoana Ciocoi Radulescu <ruxandra.radulescu@nxp.com>
Wed, 14 Nov 2018 11:48:36 +0000 (11:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 Nov 2018 04:12:31 +0000 (20:12 -0800)
commit569dac6a5a0da48b7dd3e9439fbb5d57bc8fe72d
tree97f4522ff97ae027686b474b200b0cdc07c4bb18
parentdbcdf7289870611a97cac996c2cc82b2ffbc044b
dpaa2-eth: bql support

Add support for byte queue limit.

On NAPI poll, we save the total number of Tx confirmed frames/bytes
and register them with bql at the end of the poll function.

Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h