diff options
author | Piotr Bronowski <piotrx.bronowski@intel.com> | 2022-10-09 23:05:00 +0000 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2022-11-28 21:20:28 +0000 |
commit | 14bf6a8fb03545b587d99e9db36871cc62b5729d (patch) | |
tree | f8b2ada034fe4724f57efa1cc048dfd2e35275fc /src/vnet/ipsec/ipsec_spd.h | |
parent | 797562c86066411c29116cc099864f12c98561d9 (diff) |
ipsec: remove redundant policy array in fast path spd
Fast path spd was explicitely storing array of policy id vectors.
This information was redundand, as this inofrmation is already stored
in bihash table. This additional array was affecting performance
when adding and removing fast path policies.
The other place that needed refactoring after removing this array was
cli command showing fast path policies.
Type: feature
Signed-off-by: Piotr Bronowski <piotrx.bronowski@intel.com>
Change-Id: I78d45653f71539e7ba90ff5d2834451f83ead4be
Diffstat (limited to 'src/vnet/ipsec/ipsec_spd.h')
-rw-r--r-- | src/vnet/ipsec/ipsec_spd.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/vnet/ipsec/ipsec_spd.h b/src/vnet/ipsec/ipsec_spd.h index 3a4fd0ec91c..3b1e4b40747 100644 --- a/src/vnet/ipsec/ipsec_spd.h +++ b/src/vnet/ipsec/ipsec_spd.h @@ -55,8 +55,6 @@ typedef struct */ typedef struct { - /** vectors for each of the fast path policy types */ - u32 *fp_policies[IPSEC_SPD_POLICY_N_TYPES]; ipsec_fp_mask_id_t *fp_mask_ids[IPSEC_SPD_POLICY_N_TYPES]; /* names of bihash tables */ u8 *name4_out; |