Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ice/virtchnl_inline_ipsec.h
Show First 20 Lines • Show All 464 Lines • ▼ Show 20 Lines | struct virtchnl_ipsec_sa_read { | ||||
*/ | */ | ||||
u16 spd_ref; | u16 spd_ref; | ||||
/* crypto configuration. Salt and keys are set to 0 */ | /* crypto configuration. Salt and keys are set to 0 */ | ||||
struct virtchnl_ipsec_sym_crypto_cfg crypto_cfg; | struct virtchnl_ipsec_sym_crypto_cfg crypto_cfg; | ||||
}; | }; | ||||
#pragma pack() | #pragma pack() | ||||
/* Add whitelist entry in IES */ | /* Add allowlist entry in IES */ | ||||
struct virtchnl_ipsec_sp_cfg { | struct virtchnl_ipsec_sp_cfg { | ||||
u32 spi; | u32 spi; | ||||
u32 dip[4]; | u32 dip[4]; | ||||
/* Drop frame if true or redirect to QAT if false. */ | /* Drop frame if true or redirect to QAT if false. */ | ||||
u8 drop; | u8 drop; | ||||
/* Congestion domain. For future use. */ | /* Congestion domain. For future use. */ | ||||
u8 cgd; | u8 cgd; | ||||
/* 0 for IPv4 table, 1 for IPv6 table. */ | /* 0 for IPv4 table, 1 for IPv6 table. */ | ||||
u8 table_id; | u8 table_id; | ||||
/* Set TC (congestion domain) if true. For future use. */ | /* Set TC (congestion domain) if true. For future use. */ | ||||
u8 set_tc; | u8 set_tc; | ||||
}; | }; | ||||
#pragma pack(1) | #pragma pack(1) | ||||
/* Delete whitelist entry in IES */ | /* Delete allowlist entry in IES */ | ||||
struct virtchnl_ipsec_sp_destroy { | struct virtchnl_ipsec_sp_destroy { | ||||
/* 0 for IPv4 table, 1 for IPv6 table. */ | /* 0 for IPv4 table, 1 for IPv6 table. */ | ||||
u8 table_id; | u8 table_id; | ||||
u32 rule_id; | u32 rule_id; | ||||
}; | }; | ||||
#pragma pack() | #pragma pack() | ||||
/* Response from IES to whitelist operations */ | /* Response from IES to allowlist operations */ | ||||
struct virtchnl_ipsec_sp_cfg_resp { | struct virtchnl_ipsec_sp_cfg_resp { | ||||
u32 rule_id; | u32 rule_id; | ||||
}; | }; | ||||
struct virtchnl_ipsec_sa_cfg_resp { | struct virtchnl_ipsec_sa_cfg_resp { | ||||
u32 sa_handle; | u32 sa_handle; | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 86 Lines • Show Last 20 Lines |