]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/net/ethernet/marvell/octeontx2/af/mbox.h
octeontx2-af: Support for changing RSS algorithm
[linux.git] / drivers / net / ethernet / marvell / octeontx2 / af / mbox.h
index 0e2552c717374482a4331d3697bf89271c86a0b6..32d70bf25023bef4a36e8d346c728834b1083170 100644 (file)
@@ -157,7 +157,8 @@ M(NIX_TXSCH_ALLOC,  0x8004, nix_txsch_alloc_req, nix_txsch_alloc_rsp) \
 M(NIX_TXSCH_FREE,      0x8005, nix_txsch_free_req, msg_rsp)            \
 M(NIX_TXSCHQ_CFG,      0x8006, nix_txschq_config, msg_rsp)             \
 M(NIX_STATS_RST,       0x8007, msg_req, msg_rsp)                       \
-M(NIX_VTAG_CFG,        0x8008, nix_vtag_config, msg_rsp)
+M(NIX_VTAG_CFG,        0x8008, nix_vtag_config, msg_rsp)               \
+M(NIX_RSS_FLOWKEY_CFG,  0x8009, nix_rss_flowkey_cfg, msg_rsp)
 
 /* Messages initiated by AF (range 0xC00 - 0xDFF) */
 #define MBOX_UP_CGX_MESSAGES                                           \
@@ -499,4 +500,11 @@ struct nix_vtag_config {
        };
 };
 
+struct nix_rss_flowkey_cfg {
+       struct mbox_msghdr hdr;
+       int     mcam_index;  /* MCAM entry index to modify */
+       u32     flowkey_cfg; /* Flowkey types selected */
+       u8      group;       /* RSS context or group */
+};
+
 #endif /* MBOX_H */