| fb545457 | 18-Oct-2021 |
Akhil Goyal <[email protected]> |
security: add reserved bit fields
In struct rte_security_ipsec_sa_options, for every new option added, there is an ABI breakage, to avoid, a reserved_opts bitfield is added to for the remaining bits
security: add reserved bit fields
In struct rte_security_ipsec_sa_options, for every new option added, there is an ABI breakage, to avoid, a reserved_opts bitfield is added to for the remaining bits available in the structure. Now for every new sa option, these reserved_opts can be reduced and new option can be added.
Signed-off-by: Akhil Goyal <[email protected]> Acked-by: Konstantin Ananyev <[email protected]> Acked-by: Ray Kinsella <[email protected]>
show more ...
|
| f0b538a5 | 28-Sep-2021 |
Tejasree Kondoj <[email protected]> |
security: add option to configure tunnel header verification
Add option to indicate whether outer header verification need to be done as part of inbound IPsec processing.
With inline IPsec processi
security: add option to configure tunnel header verification
Add option to indicate whether outer header verification need to be done as part of inbound IPsec processing.
With inline IPsec processing, SA lookup would be happening in the Rx path of rte_ethdev. When rte_flow is configured to support more than one SA, SPI would be used to lookup SA. In such cases, additional verification would be required to ensure duplicate SPIs are not getting processed in the inline path.
For lookaside cases, the same option can be used by application to offload tunnel verification to the PMD.
These verifications would help in averting possible DoS attacks.
Signed-off-by: Tejasree Kondoj <[email protected]> Acked-by: Hemant Agrawal <[email protected]> Acked-by: Akhil Goyal <[email protected]>
show more ...
|
| ad7515a3 | 28-Sep-2021 |
Anoob Joseph <[email protected]> |
security: add SA lifetime configuration
Add SA lifetime configuration to register soft and hard expiry limits. Expiry can be in units of number of packets or bytes. Crypto op status is also updated
security: add SA lifetime configuration
Add SA lifetime configuration to register soft and hard expiry limits. Expiry can be in units of number of packets or bytes. Crypto op status is also updated to include new field, aux_flags, which can be used to indicate cases such as soft expiry in case of lookaside protocol operations.
In case of soft expiry, the packets are successfully IPsec processed but the soft expiry would indicate that SA needs to be reconfigured. For inline protocol capable ethdev, this would result in an eth event while for lookaside protocol capable cryptodev, this can be communicated via `rte_crypto_op.aux_flags` field.
In case of hard expiry, the packets will not be IPsec processed and would result in error.
Signed-off-by: Anoob Joseph <[email protected]> Acked-by: Konstantin Ananyev <[email protected]> Acked-by: Akhil Goyal <[email protected]>
show more ...
|