Re: [dpdk-dev] [PATCH 1/2] net/ixgbe: fix lack of ip type for crypto session

2019-06-06 Thread Ananyev, Konstantin
> -Original Message- > From: Drost, MariuszX > Sent: Tuesday, June 4, 2019 11:07 AM > To: Nicolau, Radu ; akhil.go...@nxp.com; Lu, Wenzhuo > ; Ananyev, Konstantin > > Cc: dev@dpdk.org; Drost, MariuszX > Subject: [PATCH 1/2] net/ixgbe: fix lack of ip type for crypto session > > When i

[dpdk-dev] [PATCH 1/2] net/ixgbe: fix lack of ip type for crypto session

2019-06-04 Thread Mariusz Drost
When ixgbe_crypto_add_sa() is called, it checks whether the ip type is IPv6 or IPv4 to write correct addresses to the registers. Type itself is never specified, and act as IPv4, which is the default value. It causes lack of support for IPv6. To fix that, ip type needs to be stored in device privat