diff options
author | Ioana Ciocoi Radulescu <ruxandra.radulescu@nxp.com> | 2018-11-14 11:48:35 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-16 20:12:31 -0800 |
commit | dbcdf7289870611a97cac996c2cc82b2ffbc044b (patch) | |
tree | 8c419513239c9d202211d232bdaf5ff1389099b3 /drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h | |
parent | b0e4f37b0175e60a475a6b94c2b7f010860dc357 (diff) | |
download | linux-stable-dbcdf7289870611a97cac996c2cc82b2ffbc044b.tar.gz linux-stable-dbcdf7289870611a97cac996c2cc82b2ffbc044b.tar.bz2 linux-stable-dbcdf7289870611a97cac996c2cc82b2ffbc044b.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h')
-rw-r--r-- | drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h b/drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h index b7837cf01a5d..3af706a88491 100644 --- a/drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h +++ b/drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h @@ -277,8 +277,7 @@ struct dpaa2_eth_fq { void (*consume)(struct dpaa2_eth_priv *priv, struct dpaa2_eth_channel *ch, const struct dpaa2_fd *fd, - struct napi_struct *napi, - u16 queue_id); + struct dpaa2_eth_fq *fq); struct dpaa2_eth_fq_stats stats; }; |