aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h
diff options
context:
space:
mode:
authorIoana Ciocoi Radulescu <ruxandra.radulescu@nxp.com>2018-11-14 11:48:35 +0000
committerDavid S. Miller <davem@davemloft.net>2018-11-16 20:12:31 -0800
commitdbcdf7289870611a97cac996c2cc82b2ffbc044b (patch)
tree8c419513239c9d202211d232bdaf5ff1389099b3 /drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h
parentdpaa2-eth: Don't use multiple queues per channel (diff)
downloadlinux-dev-dbcdf7289870611a97cac996c2cc82b2ffbc044b.tar.xz
linux-dev-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 '')
-rw-r--r--drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h3
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;
};