numam-dpdk/drivers/net/ixgbe
Mariusz Drost 655df688f8 net/ixgbe: fix IP type for crypto session
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 private data, based on
crypto session ip type field, before the checking is done.

Fixes: ec17993a14 ("examples/ipsec-secgw: support security offload")
Fixes: 9a0752f498 ("net/ixgbe: enable inline IPsec")
Cc: stable@dpdk.org

Signed-off-by: Mariusz Drost <mariuszx.drost@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Tested-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2019-07-05 15:28:14 +02:00
..
base build: warn on unused parameter 2019-06-04 00:22:50 +02:00
ixgbe_82599_bypass.c drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
ixgbe_bypass_api.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
ixgbe_bypass_defines.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
ixgbe_bypass.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
ixgbe_bypass.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
ixgbe_ethdev.c net/ixgbevf: add full link status check option 2019-06-14 00:01:06 +09:00
ixgbe_ethdev.h net/ixgbevf: add full link status check option 2019-06-14 00:01:06 +09:00
ixgbe_fdir.c net/ixgbe: fix mask bits register set error for FDIR 2018-07-03 01:35:58 +02:00
ixgbe_flow.c net: move TCP flags from ethdev header 2019-07-03 12:57:30 +02:00
ixgbe_ipsec.c net/ixgbe: fix IP type for crypto session 2019-07-05 15:28:14 +02:00
ixgbe_ipsec.h net/ixgbe: check security enable bits 2018-01-29 10:04:28 +01:00
ixgbe_logs.h net/ixgbe: implement dynamic logging 2018-01-16 18:47:49 +01:00
ixgbe_pf.c net: add rte prefix to ether defines 2019-05-24 13:34:45 +02:00
ixgbe_regs.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
ixgbe_rxtx_vec_common.h net/ixgbe: convert to new Rx offloads API 2018-04-14 00:40:21 +02:00
ixgbe_rxtx_vec_neon.c net/ixgbe: convert to new Rx offloads API 2018-04-14 00:40:21 +02:00
ixgbe_rxtx_vec_sse.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
ixgbe_rxtx.c net/ixgbe: fix Tx prepare to set positive rte_errno 2019-06-13 23:54:30 +09:00
ixgbe_rxtx.h net/ixgbe: do not start on unsupported loopback mode 2019-03-01 18:17:36 +01:00
ixgbe_tm.c drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
ixgbe_vf_representor.c net: add rte prefix to ether structures 2019-05-24 13:34:45 +02:00
Makefile net/ixgbe: add support for representor ports 2018-04-27 18:00:57 +01:00
meson.build drivers/net: use sleep delay by default for Intel NICs 2018-10-26 22:14:06 +02:00
rte_pmd_ixgbe_version.map net/ixgbe: add API to update SBP bit 2018-05-14 22:31:47 +01:00
rte_pmd_ixgbe.c remove experimental tags from all symbol definitions 2019-06-29 19:04:43 +02:00
rte_pmd_ixgbe.h enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00