net/i40e/base: add defines related to DDP

This patch adds some defines related to DDP Track ID.

Signed-off-by: Artur Tyminski <arturx.tyminski@intel.com>
Signed-off-by: Robin Zhang <robinx.zhang@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
This commit is contained in:
Robin Zhang 2021-10-09 01:39:55 +00:00 committed by Qi Zhang
parent 364067380e
commit 3a386d08c3

View File

@ -1988,6 +1988,8 @@ struct i40e_metadata_segment {
struct i40e_ddp_version version;
#define I40E_DDP_TRACKID_RDONLY 0
#define I40E_DDP_TRACKID_INVALID 0xFFFFFFFF
#define I40E_DDP_TRACKID_GRP_MSK 0x00FF0000
#define I40E_DDP_TRACKID_GRP_COMP_ALL 0xFF
u32 track_id;
char name[I40E_DDP_NAME_SIZE];
};