OSDN Git Service

dpaa2-eth: Add software annotation types
authorIoana Radulescu <ruxandra.radulescu@nxp.com>
Fri, 1 Mar 2019 17:47:23 +0000 (17:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Mar 2019 04:41:18 +0000 (20:41 -0800)
commite3fdf6ba09a082175d3b0f85a4253702918e7582
tree52c17b186a6ecaa6683f247a3021ae5f54fd5ce4
parent3cec12ce5ad67ed6f59ed86ef51b393c35cd376b
dpaa2-eth: Add software annotation types

We write different metadata information in the software annotation
area of Tx frames, depending on frame type. Make this more explicit
by introducing a type field and separate structures for single buffer
and scatter-gather frames.

Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: Ioana Ciornei <ioana.ciornei@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