diff options
author | Ioana Ciornei <ioana.ciornei@nxp.com> | 2020-04-22 15:05:11 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-04-22 20:11:29 -0700 |
commit | 6ff8044751bdc40fd3199813bfe9b93d056fc15d (patch) | |
tree | 2977f015d339d8770fc2134a0695fb05b12f9281 /drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h | |
parent | 48c0481e5ad1d1eec6ccfaee6bb8a030fbbd07f7 (diff) |
dpaa2-eth: use the bulk ring mode enqueue interface
Update the dpaa2-eth driver to use the bulk enqueue function introduced
with the change to QBMAN ring mode. At the moment, no functional changes
are made but rather the driver just transitions to the new interface
while still enqueuing just one frame at a time.
Signed-off-by: Ioana Ciornei <ioana.ciornei@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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h b/drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h index 085ff750e4b5..2440ba6b21ef 100644 --- a/drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h +++ b/drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h @@ -372,6 +372,7 @@ struct dpaa2_eth_priv { int (*enqueue)(struct dpaa2_eth_priv *priv, struct dpaa2_eth_fq *fq, struct dpaa2_fd *fd, u8 prio, + u32 num_frames, int *frames_enqueued); u8 num_channels; |