diff options
author | Ioana Ciocoi Radulescu <ruxandra.radulescu@nxp.com> | 2018-11-26 17:27:33 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-28 19:57:45 +0100 |
commit | 99e43521a06906b6936f0c7b547a2bef856b7d64 (patch) | |
tree | 885166e32905726cc73172f646e8f9c8b1dbd073 /drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h | |
parent | dpaa2-eth: Map Rx buffers as bidirectional (diff) | |
download | linux-99e43521a06906b6936f0c7b547a2bef856b7d64.tar.xz linux-99e43521a06906b6936f0c7b547a2bef856b7d64.zip |
dpaa2-eth: Add support for XDP_TX
Send frames back on the same port for XDP_TX action.
Since the frame buffers have been allocated by us, we can recycle
them directly into the Rx buffer pool instead of requesting a
confirmation frame upon transmission complete.
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h b/drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h index 23cf9d94f233..5530a0ea8620 100644 --- a/drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h +++ b/drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h @@ -139,7 +139,9 @@ struct dpaa2_faead { }; #define DPAA2_FAEAD_A2V 0x20000000 +#define DPAA2_FAEAD_A4V 0x08000000 #define DPAA2_FAEAD_UPDV 0x00001000 +#define DPAA2_FAEAD_EBDDV 0x00002000 #define DPAA2_FAEAD_UPD 0x00000010 /* Accessors for the hardware annotation fields that we use */ |