]> git.baikalelectronics.ru Git - kernel.git/commit
dpaa2-eth: Update callback signature
authorIoana Ciocoi Radulescu <ruxandra.radulescu@nxp.com>
Wed, 14 Nov 2018 11:48:35 +0000 (11:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 Nov 2018 04:12:31 +0000 (20:12 -0800)
commite5121d531d3526ef2d138c35692d2d662eee1899
tree8c419513239c9d202211d232bdaf5ff1389099b3
parent8b279b224e2fd17dfc9ac80fc5ba0604f484d199
dpaa2-eth: Update callback signature

Change the frame consume callback signature:
* the entire FQ structure is passed to the callback instead
of just the queue index
* the NAPI structure can be easily obtained from the channel
it is associated to, so we don't need to pass it explicitly

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