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>
This commit is contained in:

committed by
David S. Miller

父節點
18c2e770e6
當前提交
99e43521a0
@@ -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 */
|
||||
|
Reference in New Issue
Block a user