[v1,28/30] net/i40e/base: add trace buffer reading dependencies
Checks
Commit Message
From: Jedrzej Jagielski <jedrzej.jagielski@intel.com>
Some driver versions need to use "Read alternate - Indirect" command
in order to get the content of trace buffer. This patch adds a couple of
defines related to that functionality.
Signed-off-by: Jedrzej Jagielski <jedrzej.jagielski@intel.com>
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
---
drivers/net/i40e/base/i40e_type.h | 4 ++++
1 file changed, 4 insertions(+)
@@ -1910,6 +1910,10 @@ struct i40e_lldp_variables {
#define I40E_ALT_BW_RELATIVE_MASK 0x40000000
#define I40E_ALT_BW_VALID_MASK 0x80000000
+/* Alternate Ram Trace Buffer*/
+#define I40E_ALT_CANARY 0xABCDEFAB
+#define I40E_ALT_BUFF_DWORD_SIZE 0x14 /* in dwords */
+
/* RSS Hash Table Size */
#define I40E_PFQF_CTL_0_HASHLUTSIZE_512 0x00010000