Skip to content

Commit

Permalink
net/i40e/base: add trace buffer reading dependencies
Browse files Browse the repository at this point in the history
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>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
  • Loading branch information
jjagielsk authored and bruce-richardson committed Sep 13, 2024
1 parent 71f1711 commit 87c917e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/net/i40e/base/i40e_type.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 87c917e

Please sign in to comment.