[dpdk-users] l2fwd-crypto sample application

De Lara Guarch, Pablo pablo.de.lara.guarch at intel.com
Mon Jan 22 10:19:45 CET 2018


Hi Avi,

> -----Original Message-----
> From: users [mailto:users-bounces at dpdk.org] On Behalf Of Avi Cohen (A)
> Sent: Sunday, January 21, 2018 4:36 PM
> To: users at dpdk.org
> Subject: [dpdk-users] l2fwd-crypto sample application
> 
> Hi
> Is it possible to run this application for the following use-case:
> 
> [similar to ipsec-secgw application]
> 
> 2 hosts  A and B connected back to back via port 2
> 
> In A:
> -  Clear-text  packet received on port 1
> - Packet is encrypted and sent  to port 2
> 
> In B:
> - the encrypted packet is received on port 2 in server B
> - packet is decrypted and sent to port 1

Yes, the idea would be running L2fwd-crypto on both hosts and both ports.
The command line on host A would be (example: AES-CBC only encryption) :

./l2fwd-crypto -l 1 -n 4 --vdev crypto_X -- --chain CIPHER_ONLY --cipher_algo aes-cbc --cipher_op ENCRYPT /
--cipher_iv_random_size 16 --cipher_key_random_size 16

Whereas, on host B:

./l2fwd-crypto -l 1 -n 4 --vdev crypto_X -- --chain CIPHER_ONLY --cipher_algo aes-cbc --cipher_op DECRYPT /
--cipher_iv_random_size 16 --cipher_key_random_size 16

Pablo

> 
> Best Regards
> Avi
> 


More information about the users mailing list