]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6147aa64fd23b09f9a20db4f1aaf83116ece92da
tree97f4522ff97ae027686b474b200b0cdc07c4bb18
parent044e8c90c8bd9abf90741078b5a3032abf586a6a
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