fsl/fman: define frame description command UPD
authorYangbo Lu <yangbo.lu@nxp.com>
Mon, 25 Jun 2018 12:37:14 +0000 (20:37 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Jun 2018 13:15:14 +0000 (22:15 +0900)
Defined frame description command FM_FD_CMD_UPD for
prepended data updating.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Acked-by: Madalin Bucur <madalin.bucur@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fman/fman.h

index bfa02e0014ae01f4a08a600e0ba27a856c0371f6..935c317fa69642c9707fc583d1f34a12061b390e 100644 (file)
@@ -41,6 +41,7 @@
 /* Frame queue Context Override */
 #define FM_FD_CMD_FCO                   0x80000000
 #define FM_FD_CMD_RPD                   0x40000000  /* Read Prepended Data */
+#define FM_FD_CMD_UPD                  0x20000000  /* Update Prepended Data */
 #define FM_FD_CMD_DTC                   0x10000000  /* Do L4 Checksum */
 
 /* TX-Port: Unsupported Format */