[dpdk-dev] [PATCH v5 05/11] mbuf: add security crypto flags and mbuf fields

Akhil Goyal akhil.goyal at nxp.com
Wed Oct 25 14:05:39 CEST 2017


Hi Olivier,
On 10/25/2017 3:08 PM, Olivier MATZ wrote:
> On Tue, Oct 24, 2017 at 07:45:39PM +0530, Akhil Goyal wrote:
>> From: Boris Pismenny <borisp at mellanox.com>
>>
>> Add security crypto flags and update mbuf fields to support
>> IPsec crypto offload for transmitted packets, and to indicate
>> crypto result for received packets.
>>
>> Signed-off-by: Aviad Yehezkel <aviadye at mellanox.com>
>> Signed-off-by: Boris Pismenny <borisp at mellanox.com>
>> Signed-off-by: Radu Nicolau <radu.nicolau at intel.com>
> 
> [...]
> 
>> --- a/lib/librte_mbuf/rte_mbuf.h
>> +++ b/lib/librte_mbuf/rte_mbuf.h
>> @@ -189,11 +189,26 @@ extern "C" {
>>    */
>>   #define PKT_RX_TIMESTAMP     (1ULL << 17)
>>   
>> +/**
>> + * Indicate that security offload processing was applied on the RX packet.
>> + */
>> +#define PKT_RX_SEC_OFFLOAD		(1ULL << 18)
>> +
>> +/**
>> + * Indicate that security offload processing failed on the RX packet.
>> + */
>> +#define PKT_RX_SEC_OFFLOAD_FAILED  (1ULL << 19)
>> +
> 
> in case you do a v6, please fix the alignment, else we'll
> fix it globally in another patch later.
> 
> Acked-by: Olivier Matz <olivier.matz at 6wind.com>
> 

will fix the alignment of the defines made in this patch.

Thanks,
Akhil


More information about the dev mailing list