net/sfc/base: add equal stride super-buffer prefix layout
authorAndrew Rybchenko <arybchenko@solarflare.com>
Thu, 19 Apr 2018 11:36:48 +0000 (12:36 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 27 Apr 2018 17:00:58 +0000 (18:00 +0100)
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/efx_regs_ef10.h

index 2cb96e8..968aaac 100644 (file)
@@ -698,6 +698,21 @@ extern "C" {
 #define        ES_DZ_PS_RX_PREFIX_ORIG_LEN_LBN 48
 #define        ES_DZ_PS_RX_PREFIX_ORIG_LEN_WIDTH 16
 
+/* Equal stride super-buffer RX packet prefix (see SF-119419-TC) */
+#define        ES_EZ_ESSB_RX_PREFIX_LEN 8
+#define        ES_EZ_ESSB_RX_PREFIX_DATA_LEN_LBN 0
+#define        ES_EZ_ESSB_RX_PREFIX_DATA_LEN_WIDTH 16
+#define        ES_EZ_ESSB_RX_PREFIX_MARK_LBN 16
+#define        ES_EZ_ESSB_RX_PREFIX_MARK_WIDTH 8
+#define        ES_EZ_ESSB_RX_PREFIX_HASH_VALID_LBN 28
+#define        ES_EZ_ESSB_RX_PREFIX_HASH_VALID_WIDTH 1
+#define        ES_EZ_ESSB_RX_PREFIX_MARK_VALID_LBN 29
+#define        ES_EZ_ESSB_RX_PREFIX_MARK_VALID_WIDTH 1
+#define        ES_EZ_ESSB_RX_PREFIX_MATCH_FLAG_LBN 30
+#define        ES_EZ_ESSB_RX_PREFIX_MATCH_FLAG_WIDTH 1
+#define        ES_EZ_ESSB_RX_PREFIX_HASH_LBN 32
+#define        ES_EZ_ESSB_RX_PREFIX_HASH_WIDTH 32
+
 /*
  * An extra flag for the packed stream mode,
  * signalling the start of a new buffer