add ITEM_ESP
add ITEM_ESP_SPI
update release notes for testpmd changes
add sample ESP rules in testpmd guide
Signed-off-by: Bernard Iremonger
Acked-by: Ori Kam
---
app/test-pmd/cmdline_flow.c | 34 ++---
doc/guides/rel_notes/release_20_02.rst | 4
Add flow structures for the following patterns in i40e_ethdev files:
eth/ipv4/esp
eth/ipv6/esp
eth/ipv4/udp/esp
eth/ipv6/esp/udp
add oip_type in filter
add is_udp in filter
use tenant_id in filter for spi
Signed-off-by: Bernard Iremonger
Acked-by: Qi Zhang
---
drivers/net/i40e/i40e_ethdev.h
handle ESP tunnel in rte_pmd_i40e.c
Signed-off-by: Bernard Iremonger
Acked-by: Qi Zhang
---
drivers/net/i40e/rte_pmd_i40e.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/i40e/rte_pmd_i40e.c b/drivers/net/i40e/rte_pmd_i40e.c
index fdcb1a4..b987346 100644
parameter to fill_ip6_head() in i40e_fdir.c
set is_udp to false in i40e_flow_fdir_get_pctype_value() in i40e_flow.c
Bernard Iremonger (10):
app/testpmd: parse flow command line for ESP
app/testpmd: improve debug
net/i40e: improve RSS debug
net/i40e: handle ESP tunnel
net/i40e: suppor
add CONFIG_RTE_LIBRTE_I40E_DEBUG_FD to config/common_base file
Signed-off-by: Bernard Iremonger
Acked-by: Qi Zhang
---
config/common_base | 1 +
1 file changed, 1 insertion(+)
diff --git a/config/common_base b/config/common_base
index 7dec7ed..7a76c26 100644
--- a/config/common_base
+++ b
add fill_ip6_head()
hardcode udp destination port to 4500
handle ESP and AH pctypes in ESP-AH profile
update the i40e user guide with ESP information.
update release notes for i40e changes
Signed-off-by: Bernard Iremonger
Acked-by: Qi Zhang
---
doc/guides/nics/i40e.rst | 4
include rte_config.h in i40e_fdir.c
In debug mode call rte_hexdump in i40e_flow_fdir_construct_pkt()
and in i40e_fdir_construct_pkt()
Signed-off-by: Bernard Iremonger
Acked-by: Qi Zhang
---
drivers/net/i40e/i40e_fdir.c | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff
update customized code for ESP
Signed-off-by: Bernard Iremonger
Acked-by: Qi Zhang
---
drivers/net/i40e/i40e_ethdev.c | 44 +-
1 file changed, 43 insertions(+), 1 deletion(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
add eth/ipv4/esp and eth/ipv6/esp patterns
add eth/ipv4/udp/esp and eth/ipv6/esp/udp patterns
update i40e_flow_parse_fdir_filter()
add i40e_flow_set_filter_spi()
Signed-off-by: Bernard Iremonger
Acked-by: Qi Zhang
---
drivers/net/i40e/i40e_flow.c | 135
Merge of i40e_fdir.c added checks on cus_pctype->index which are not
necessary and caused flow creation for ESP to fail.
Removed the added lines to fix the issue.
Fixes: c5f8365bc85d ("net/i40e: support flow director for L2TPv3 over IP")
Signed-off-by: Bernard Iremonger
---
dri
2TPv3 over IP")
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_fdir.c | 139 ---
1 file changed, 64 insertions(+), 75 deletions(-)
diff --git a/drivers/net/i40e/i40e_fdir.c b/drivers/net/i40e/i40e_fdir.c
index c346073..b7a207d 100644
---
parse RSS offload types ESP and AH
add printf for rss_hf
Signed-off-by: Bernard Iremonger
Acked-by: Ori Kam
---
app/test-pmd/cmdline.c | 4 +++-
app/test-pmd/config.c | 2 ++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index
add ETH_RSS_ESP and ETH_RSS_AH macros
Signed-off-by: Bernard Iremonger
---
lib/librte_ethdev/rte_ethdev.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h
index d1a593a..26381a1 100644
--- a/lib/librte_ethdev/rte_ethdev.h
add ESP patterns to i40e_flow_parse_rss_pattern().
update i40e PMD user guide with download link for esp-ah.pkg file.
Signed-off-by: Bernard Iremonger
---
doc/guides/nics/i40e.rst | 3 ++-
drivers/net/i40e/i40e_flow.c | 4
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a
Bernard Iremonger (3):
librte_ethdev: add RSS offload types for ESP and AH
app/testpmd: handle RSS offload types ESP and AH
net/i40e: add ESP patterns
app/test-pmd/cmdline.c | 4 +++-
app/test-pmd/config.c | 2 ++
doc/guides/nics/i40e.rst | 3 ++-
drivers/net/i40e
Add map action to rte_flow API to map a Packet Classification type (pctype)
to a flowtype for the i40e PMD.
This feature requires changes to be made to the rte_flow code in librte_ethdev,
testpmd and the i40e PMD.
Bernard Iremonger (8):
librte_ethdev: add new flow types and action
add MK_FLOW_ACTION(MAP, sizeof(struct rte_flow_action_map))
add case RTE_FLOW_ACTION_TYPE_MAP
Signed-off-by: Bernard Iremonger
---
lib/librte_ethdev/rte_flow.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/lib/librte_ethdev/rte_flow.c b/lib/librte_ethdev/rte_flow.c
index
add RTE_ETH_FILTER_MAP in rte_eth_ctrl.h
Signed-off-by: Bernard Iremonger
---
lib/librte_ethdev/rte_eth_ctrl.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/librte_ethdev/rte_eth_ctrl.h b/lib/librte_ethdev/rte_eth_ctrl.h
index 1416c37..c9c0ea4 100644
--- a/lib/librte_ethdev
In rte_flow.h:
add RTE_FLOW_ITEM_TYPE_PCTYPE
add RTE_FLOW_ITEM_TYPE_FLOWTYPE
add RTE_FLOW_ACTION_TYPE_MAP
add structs and masks for new flow types
In rte_flow.rst:
add items for pctype and flowtype
add action for map
Signed-off-by: Bernard Iremonger
---
doc/guides/prog_guide/rte_flow.rst | 55
add i40e_map_conf_init()
add i40e_config_map_filter()
initialize map_config_list in pf
call rte_pmd_i40e_flow_type_mapping_update()
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev.c | 56 ++
1 file changed, 56 insertions(+)
diff --git
Parse map, pctype and flowtype on testpmd command line.
In cmdline_flow.c add the following:
ACTION_MAP
ACTION_MAP_PCTYPE
ACTION_MAP_FLOWTYPE
add parse_vc_action_map()
Update testpmd user guide with map action and
sample map action rules.
Signed-off-by: Bernard Iremonger
---
app/test-pmd
In i40e_ethdev.h add the following:
struct i40e_map_filter
struct i40e_rte_flow_map_conf
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev.h | 24
1 file changed, 24 insertions(+)
diff --git a/drivers/net/i40e/i40e_ethdev.h b/drivers/net/i40e
Parse the map pattern and action in i40e_flow.c
Add the following functions:
i40e_flow_parse_map_pattern()
i40e_flow_parse_map_action()
i40e_parse_map_filter()
i40e_config_map_filter_set()
i40e_config_map_filter_del()
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_flow.c | 196
Signed-off-by: Bernard Iremonger
---
doc/guides/rel_notes/release_20_08.rst | 18 ++
1 file changed, 18 insertions(+)
diff --git a/doc/guides/rel_notes/release_20_08.rst
b/doc/guides/rel_notes/release_20_08.rst
index 39064af..55eb32b 100644
--- a/doc/guides/rel_notes
add ETH_RSS_ESP and ETH_RSS_AH macros
Signed-off-by: Bernard Iremonger
---
lib/librte_ethdev/rte_ethdev.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h
index d1a593a..113e953 100644
--- a/lib/librte_ethdev/rte_ethdev.h
.
Changes in v2:
--
i40e changes are based on http://patches.dpdk.org/patch/67042/
update i40e PMD user guide.
Add more types to testpmd patch
Bernard Iremonger (3):
librte_ethdev: add RSS offload types for ESP and AH
app/testpmd: handle RSS offload types ESP and AH
net/i40e: add
add ESP patterns to i40e_flow_parse_rss_pattern().
update i40e PMD user guide with download link for esp-ah.pkg file.
Signed-off-by: Bernard Iremonger
---
doc/guides/nics/i40e.rst | 3 ++-
drivers/net/i40e/i40e_flow.c | 4
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a
parse RSS offload types ESP and AH
add printf for rss_hf
Signed-off-by: Bernard Iremonger
---
app/test-pmd/cmdline.c | 4 +++-
app/test-pmd/config.c | 2 ++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index a037a55..997f063
tically")
Fixes: 4149825bbdb9 ("net/i40e: finish integration FDIR with generic flow API")
CC: sta...@dpdk.org
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_fdir.c | 4 ++--
drivers/net/i40e/i40e_flow.c | 7 +--
2 files changed, 3 insertions(+), 8 deletions(-)
2TPv3 over IP")
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_fdir.c | 139 ---
1 file changed, 64 insertions(+), 75 deletions(-)
diff --git a/drivers/net/i40e/i40e_fdir.c b/drivers/net/i40e/i40e_fdir.c
index c346073..931f259 100644
---
Configure the RSS hash for the i40e PMD using the
rte_flow API RSS action.
Bernard Iremonger (3):
librte_ethdev: add RSS offload types for ESP and AH
app/testpmd: handle RSS offload types ESP and AH
net/i40e: configure RSS hash from RSS action
app/test-pmd/cmdline.c | 4
add ETH_RSS_ESP and ETH_RSS_AH macros
Signed-off-by: Bernard Iremonger
---
lib/librte_ethdev/rte_ethdev.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h
index d1a593a..113e953 100644
--- a/lib/librte_ethdev/rte_ethdev.h
parse RSS offload types ESP and AH
add printf for rss_hf
Signed-off-by: Bernard Iremonger
---
app/test-pmd/cmdline.c | 4 +++-
app/test-pmd/config.c | 2 ++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index a037a55..997f063
handle RSS offload types in RSS action
handle ipv4, ipv6 and udp RSS patterns
handle queue_num 0 in RSS action
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_flow.c | 46
1 file changed, 34 insertions(+), 12 deletions(-)
diff --git a
/patch/67042/
update i40e PMD user guide.
Add more types to testpmd patch
Bernard Iremonger (3):
librte_ethdev: add RSS offload types for ESP and AH
app/testpmd: handle RSS offload types ESP and AH
net/i40e: add ESP patterns
app/test-pmd/cmdline.c | 4 +++-
app/test-pmd/config.c
add ETH_RSS_ESP and ETH_RSS_AH macros
Signed-off-by: Bernard Iremonger
---
lib/librte_ethdev/rte_ethdev.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h
index d1a593a..113e953 100644
--- a/lib/librte_ethdev/rte_ethdev.h
parse RSS offload types ESP and AH
add printf for rss_hf
Signed-off-by: Bernard Iremonger
---
app/test-pmd/cmdline.c | 4 +++-
app/test-pmd/config.c | 6 ++
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index a037a55..997f063
add ESP patterns to i40e_flow_parse_rss_pattern().
update i40e PMD user guide with download link for esp-ah.pkg file.
Signed-off-by: Bernard Iremonger
---
doc/guides/nics/i40e.rst | 3 ++-
drivers/net/i40e/i40e_flow.c | 4
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a
Add support for ESP flows to testpmd.
Improve debug information in testpmd and the i40e PMD.
Process ESP flows on the i40e Flow Director and RSS.
Bernard Iremonger (9):
app/testpmd: parse flow command line for ESP
app/testpmd: dump Rx and Tx mbuf
net/i40e: improve RSS debug
net/i40e
add ITEM_ESP
add ITEM_ESP_SPI
add debug to cmdline_flow.c
improve debug in config.c
Signed-off-by: Bernard Iremonger
---
app/test-pmd/cmdline_flow.c | 37 ++---
app/test-pmd/config.c | 2 +-
2 files changed, 35 insertions(+), 4 deletions(-)
diff --git a
add call to rte_pktmbuf_dump() in dump_pkt_burst in util.c
Signed-off-by: Bernard Iremonger
---
app/test-pmd/util.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/app/test-pmd/util.c b/app/test-pmd/util.c
index b514be5..bf03873 100644
--- a/app/test-pmd/util.c
+++ b/app/test-pmd/util.c
in ESP-AH profile
update customized code for ESP
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev.c | 44 -
drivers/net/i40e/i40e_ethdev.h | 25 +++
drivers/net/i40e/i40e_fdir.c | 144 ++---
drivers/net/i40e/i40e_flow.c
Release note for ESP support on the i40e PMD.
Release note for ESP support on testpmd.
Signed-off-by: Bernard Iremonger
---
doc/guides/rel_notes/release_20_02.rst | 9 +
1 file changed, 9 insertions(+)
diff --git a/doc/guides/rel_notes/release_20_02.rst
b/doc/guides/rel_notes
Add flow types for the following PCTYPE's in the DDP ipsec profile:
14: IPV6 ESP
15: IPV4 ESP
16: IPV6 AH
17: IPV4 AH
18: IPV6 UDP ESP
19: IPV4 UDP ESP
Add the following RSS macros for IPsec:
ETH_RSS_ESP
ETH_RSS_AH
ETH_RSS_IPSEC
Signed-off-by: Bernard Iremonger
---
lib/librte_e
call rte_hexdump in i40e_flow_fdir_construct_pkt() in i40e_fdir.c
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_fdir.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/net/i40e/i40e_fdir.c b/drivers/net/i40e/i40e_fdir.c
index d58cee9..08cbbf6 100644
improve RSS debug in i40e_ethdev.c
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index 5999c96..5f1cf8a 100644
--- a/drivers/net/i40e
handle ESP tunnel in rte_pmd_i40e.c
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/rte_pmd_i40e.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/i40e/rte_pmd_i40e.c b/drivers/net/i40e/rte_pmd_i40e.c
index fdcb1a4..b987346 100644
--- a/drivers/net/i40e
Update the i40e user guide with ESP information.
Signed-off-by: Bernard Iremonger
---
doc/guides/nics/i40e.rst | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/doc/guides/nics/i40e.rst b/doc/guides/nics/i40e.rst
index 38acf59..5cf34d9 100644
--- a/doc/guides/nics/i40e.rst
This patch fixes the out-of-bounds coverity issue by removing the
offending line of code at line 107 in rte_flow_classify_parse.c
which is never executed.
Coverity issue: 343454
Fixes: be41ac2a330f ("flow_classify: introduce flow classify library")
Cc: sta...@dpdk.org
Signed-off-b
()
create_inline_session()
Bernard Iremonger (2):
examples/ipsec-secgw: fix 1st pkt dropped for inline crypto
examples/ipsec-secgw/test: fix inline test scripts
examples/ipsec-secgw/ipsec-secgw.c | 244 +++
examples/ipsec-secgw/ipsec.c | 449
dd IPsec sample application")
Cc: sta...@dpdk.org
Signed-off-by: Bernard Iremonger
Acked-by: Konstantin Ananyev
---
examples/ipsec-secgw/ipsec-secgw.c | 244 +--
examples/ipsec-secgw/ipsec.c | 456 ++-
examples/ipsec-secgw/i
Remove workaround in tun_aesgcm_defs.sh and trs_aesgcm_defs.sh
to get around the bug where the first inbound packet is dropped
for inline crypto.
Fixes: 929784452094 ("examples/ipsec-secgw: add scripts for functional test")
Cc: sta...@dpdk.org
Signed-off-by: Bernard Iremonger
All the functionality of the legacy code path in now available in
the librte_ipsec library. It is planned to deprecate the legacy
code path in the 19.11 release and remove the legacy code path in
the 20.02 release.
Signed-off-by: Bernard Iremonger
---
doc/guides/rel_notes/deprecation.rst | 5
All the functionality of the legacy code path in now available in
the librte_ipsec library. It is planned to deprecate the legacy
code path in the 19.11 release and remove the legacy code path in
the 20.02 release.
Signed-off-by: Bernard Iremonger
Acked-by: Konstantin Ananyev
Acked-by: Fan
Update release notes for changes to the IPsec library.
Signed-off-by: Bernard Iremonger
---
doc/guides/rel_notes/release_19_08.rst | 16 +++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/doc/guides/rel_notes/release_19_08.rst
b/doc/guides/rel_notes/release_19_08
Update release notes for changes to the IPsec library.
Signed-off-by: Bernard Iremonger
---
changes in v2:
revised content.
doc/guides/rel_notes/release_19_08.rst | 8
1 file changed, 8 insertions(+)
diff --git a/doc/guides/rel_notes/release_19_08.rst
b/doc/guides/rel_notes
Update release notes for changes to the IPsec library.
Signed-off-by: Bernard Iremonger
---
changes in v3:
revised content
doc/guides/rel_notes/release_19_08.rst | 8
1 file changed, 8 insertions(+)
diff --git a/doc/guides/rel_notes/release_19_08.rst
b/doc/guides/rel_notes
Update release notes for changes to the IPsec Security Gateway application
Signed-off-by: Bernard Iremonger
---
doc/guides/rel_notes/release_19_08.rst | 5 +
1 file changed, 5 insertions(+)
diff --git a/doc/guides/rel_notes/release_19_08.rst
b/doc/guides/rel_notes/release_19_08.rst
index
Update release notes for changes to the IPsec library.
Update release notes for changes to the IPsec Security Gateway application
Signed-off-by: Bernard Iremonger
---
doc/guides/rel_notes/release_19_08.rst | 17 +
1 file changed, 13 insertions(+), 4 deletions(-)
diff --git a
Update release notes for recently supported features in IPsec library and
IPsec Security Gateway application.
Signed-off-by: Bernard Iremonger
---
doc/guides/rel_notes/release_19_08.rst | 13 +
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/doc/guides/rel_notes
Check the return value of the rte_eth_dev_rss_hash_conf_get function.
Coverity issue: 344970
Fixes: 3a690d5a65e2 ("examples/ipsec-secgw: fix first packet with inline
crypto")
Cc: sta...@dpdk.org
Signed-off-by: Bernard Iremonger
---
examples/ipsec-secgw/ipsec.c | 9 -
1 file
The patches in this patch set depend on the following patches:
http://patches.dpdk.org/patch/54541/
http://patches.dpdk.org/patch/54542/
http://patches.dpdk.org/patch/54543/
Bernard Iremonger (2):
test/ipsec: fix teardown function
test/ipsec: fix destroy sa function
app/test/test_ipsec.c
Call rte_cryptodev_sym_session_clear() function.
Cc: sta...@dpdk.org
Fixes: 05fe65eb66b2 ("test/ipsec: introduce functional test")
Signed-off-by: Bernard Iremonger
---
app/test/test_ipsec.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/app/test/test_ipsec.c b/app/test/test_ips
Set freed cop pointers to NULL
Set other freed pointers to NULL instead of 0
Fixes: 05fe65eb66b2 ("test/ipsec: introduce functional test")
Cc: sta...@dpdk.org
Signed-off-by: Bernard Iremonger
---
app/test/test_ipsec.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletion
Drop SGW_CMD_XPRM=l, as default is IPsec library now.
Signed-off-by: Bernard Iremonger
---
examples/ipsec-secgw/test/pkttest.sh | 1 -
1 file changed, 1 deletion(-)
diff --git a/examples/ipsec-secgw/test/pkttest.sh
b/examples/ipsec-secgw/test/pkttest.sh
index 04cd96b..7c78de7 100755
--- a
notes.
Signed-off-by: Bernard Iremonger
Acked-by: Konstantin Ananyev
Tested-by: Konstantin Ananyev
---
doc/guides/rel_notes/release_19_11.rst | 8 ++
doc/guides/sample_app_ug/ipsec_secgw.rst | 6 +++--
examples/ipsec-secgw/ipsec-secgw.c | 46 +---
3
drop the -l option.
Bernard Iremonger (3):
examples/ipsec-secgw: set default to IPsec library mode
examples/ipsec-secgw: add -l 0 parameter to old scripts
examples/ipsec-secgw: update pktest.sh script
doc/guides/rel_notes/release_19_11.rst | 8
doc/guides/sample_app_ug
enable legacy mode in *_old scripts
Signed-off-by: Bernard Iremonger
---
examples/ipsec-secgw/test/trs_3descbc_sha1_old_defs.sh | 2 +-
examples/ipsec-secgw/test/trs_aescbc_sha1_old_defs.sh | 2 +-
examples/ipsec-secgw/test/trs_aesctr_sha1_old_defs.sh | 2 +-
examples
Call rte_crypto_dequeue_burst() in a loop with
a delay to ensure that all the packets are dequeued
from the crtpto device.
Fixes: 59d7353b0df0 ("test/ipsec: fix test suite setup")
Cc: sta...@dpdk.org
Signed-off-by: Bernard Iremonger
---
app/test/test_ip
Added crypto_dequeue_burst() function to call
rte_crypto_dequeue_burst() in a loop with a
delay to ensure that all the packets are
dequeued from the crtpto device.
Fixes: 59d7353b0df0 ("test/ipsec: fix test suite setup")
Cc: sta...@dpdk.org
Signed-off-by: Bernard Iremonger
Acked-by: F
been dropped from this patchset.
A patch to fix the test scripts has been added.
Bernard Iremonger (2):
examples/ipsec-secgw: fix 1st packet dropped for inline crypto
examples/ipsec-secgw/test: fix inline test scripts
examples/ipsec-secgw/ipsec-secgw.c | 271 +++--
examples
les/ipsec-secgw: add IPsec sample application")
Cc: sta...@dpdk.org
Signed-off-by: Bernard Iremonger
Acked-by: Konstantin Ananyev
---
examples/ipsec-secgw/ipsec-secgw.c | 271
examples/ipsec-secgw/ipsec.c | 581 +++
examples
Remove workaround in tun_aesgcm_defs.sh and trs_aesgcm_defs.sh
to get around the bug where the first inbound packet is dropped
for inline crypto.
Fixes: 929784452094 ("examples/ipsec-secgw: add scripts for functional test")
Cc: sta...@dpdk.org
Signed-off-by: Bernard Iremonger
Error lLog messages after the create_sa() function calls
were using the wrong function name.
The function name is replaced with create_sa.
Fixes: 05fe65eb66b2 ("test/ipsec: introduce functional test")
Cc: sta...@dpdk.org
Signed-off-by: Bernard Iremonger
---
app/test/test_ip
Dump invalid mbuf data in case of error in tests 12 and 13
Signed-off-by: Bernard Iremonger
---
app/test/test_ipsec.c | 21 ++---
1 file changed, 18 insertions(+), 3 deletions(-)
diff --git a/app/test/test_ipsec.c b/app/test/test_ipsec.c
index b99e5f0..5d668cd 100644
--- a/app
Add extra test configuration for BURST_SIZE packets
Signed-off-by: Bernard Iremonger
---
app/test/test_ipsec.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/test/test_ipsec.c b/app/test/test_ipsec.c
index 755b4da..b99e5f0 100644
--- a/app/test/test_ipsec.c
+++ b
g
Signed-off-by: Bernard Iremonger
---
app/test/test_ipsec.c | 34 +++---
1 file changed, 19 insertions(+), 15 deletions(-)
diff --git a/app/test/test_ipsec.c b/app/test/test_ipsec.c
index 64e56c0..9859cb9 100644
--- a/app/test/test_ipsec.c
+++ b/app/test/test_ipsec.c
@@
Run outbound test configuration before inbound.
Signed-off-by: Bernard Iremonger
---
app/test/test_ipsec.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/test/test_ipsec.c b/app/test/test_ipsec.c
index 85a120a..755b4da 100644
--- a/app/test/test_ipsec.c
+++ b/app
The following patches contain two fixes and
improvements to test_ipsec.c
Bernard Iremonger (5):
test/ipsec: fix failures in tests 12 and 13
test/ipsec: fix log messages in tests
test/ipsec: reorder tests
test/ipsec: add extra test configuration
test/ipsec: improve debug in tests 12 and
deletions(-)
Changes in v2:
-
The first three patches of the v1 have been squashed.
The commit message for the squashed patch has been updated.
Patches 4,5 and 6 of the v1 have been dropped from this patchset.
A patch to fix the test scripts has been added.
Bernard Iremonger (2):
examples
dd IPsec sample application")
Cc: sta...@dpdk.org
Signed-off-by: Bernard Iremonger
---
examples/ipsec-secgw/ipsec-secgw.c | 244 +--
examples/ipsec-secgw/ipsec.c | 122 --
examples/ipsec-secgw/ipsec.h | 5 +-
examples/ipsec-s
Remove workaround in tun_aesgcm_defs.sh and trs_aesgcm_defs.sh
to get around the bug where the first inbound packet is dropped
for inline crypto.
Fixes: 929784452094 ("examples/ipsec-secgw: add scripts for functional test")
Cc: sta...@dpdk.org
Signed-off-by: Bernard Iremonger
---
Add dump_grp_pkt() function.
Dump invalid mbuf data in case of error in group tests 12 and 13.
Signed-off-by: Bernard Iremonger
---
app/test/test_ipsec.c | 19 ---
1 file changed, 16 insertions(+), 3 deletions(-)
diff --git a/app/test/test_ipsec.c b/app/test/test_ipsec.c
index
patch 5 has been changed, now patch 3.
Bernard Iremonger (3):
test/ipsec: fix log messages in tests
test/ipsec: add extra test configuration
test/ipsec: improve debug in group tests
app/test/test_ipsec.c | 67 +--
1 file changed, 33 insertions
Error log messages after the create_sa() function calls
were using the wrong function name.
The function name is replaced with create_sa.
Fixes: 05fe65eb66b2 ("test/ipsec: introduce functional test")
Cc: sta...@dpdk.org
Signed-off-by: Bernard Iremonger
---
app/test/test_ip
Add extra test configuration for BURST_SIZE packets
Signed-off-by: Bernard Iremonger
---
app/test/test_ipsec.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/test/test_ipsec.c b/app/test/test_ipsec.c
index cce15a7..b92068e 100644
--- a/app/test/test_ipsec.c
+++ b
This patchset fixes the issue of the first inbound packet
being dropped for inline crypto.
Changes in v6:
--
Rebased to latest master.
Minor changes to the following functions in ipsec.c:
create_lookaside_session()
create_inline_session()
Bernard Iremonger (2):
examples/ipsec-secgw
dd IPsec sample application")
Cc: sta...@dpdk.org
Signed-off-by: Bernard Iremonger
---
examples/ipsec-secgw/ipsec-secgw.c | 244 ++-
examples/ipsec-secgw/ipsec.c | 449 +++
examples/ipsec-secgw/ipsec.h | 5 +-
Remove workaround in tun_aesgcm_defs.sh and trs_aesgcm_defs.sh
to get around the bug where the first inbound packet is dropped
for inline crypto.
Fixes: 929784452094 ("examples/ipsec-secgw: add scripts for functional test")
Cc: sta...@dpdk.org
Signed-off-by: Bernard Iremonger
---
: Bernard Iremonger
---
doc/guides/rel_notes/release_19_11.rst | 8 ++
doc/guides/sample_app_ug/ipsec_secgw.rst | 6 +++--
examples/ipsec-secgw/ipsec-secgw.c | 44
3 files changed, 40 insertions(+), 18 deletions(-)
diff --git a/doc/guides/rel_notes
enable legacy mode in *_old scripts
Signed-off-by: Bernard Iremonger
---
examples/ipsec-secgw/test/trs_3descbc_sha1_old_defs.sh | 2 +-
examples/ipsec-secgw/test/trs_aescbc_sha1_old_defs.sh | 2 +-
examples/ipsec-secgw/test/trs_aesctr_sha1_old_defs.sh | 2 +-
examples
This patch set, sets the default code path in the ipsec-secgw
application to use the librte_ipsec.
The _old test scripts have been modified to use the legacy code
patch
Bernard Iremonger (2):
examples/ipsec-secgw: set default to IPsec library mode
examples/ipsec-secgw: add -l 0 parameter to
enable legacy mode in *_old scripts
Signed-off-by: Bernard Iremonger
---
examples/ipsec-secgw/test/trs_3descbc_sha1_old_defs.sh | 2 +-
examples/ipsec-secgw/test/trs_aescbc_sha1_old_defs.sh | 2 +-
examples/ipsec-secgw/test/trs_aesctr_sha1_old_defs.sh | 2 +-
examples
This patch set, sets the default code path in the ipsec-secgw
application to use the librte_ipsec.
The _old test scripts have been modified to use the legacy code
patch
Bernard Iremonger (2):
examples/ipsec-secgw: set default to IPsec library mode
examples/ipsec-secgw: add -l 0 parameter to
: Bernard Iremonger
---
doc/guides/rel_notes/release_19_11.rst | 8 ++
doc/guides/sample_app_ug/ipsec_secgw.rst | 6 +++--
examples/ipsec-secgw/ipsec-secgw.c | 44
3 files changed, 40 insertions(+), 18 deletions(-)
diff --git a/doc/guides/rel_notes
: Bernard Iremonger
---
doc/guides/rel_notes/release_19_11.rst | 8 ++
doc/guides/sample_app_ug/ipsec_secgw.rst | 6 +++--
examples/ipsec-secgw/ipsec-secgw.c | 44
3 files changed, 40 insertions(+), 18 deletions(-)
diff --git a/doc/guides/rel_notes
enable legacy mode in *_old scripts
Signed-off-by: Bernard Iremonger
---
examples/ipsec-secgw/test/trs_3descbc_sha1_old_defs.sh | 2 +-
examples/ipsec-secgw/test/trs_aescbc_sha1_old_defs.sh | 2 +-
examples/ipsec-secgw/test/trs_aesctr_sha1_old_defs.sh | 2 +-
examples
This patch set, sets the default code path in the ipsec-secgw
application to use the librte_ipsec.
The _old test scripts have been modified to use the legacy code
patch
Bernard Iremonger (2):
examples/ipsec-secgw: set default to IPsec library mode
examples/ipsec-secgw: add -l 0 parameter to
e been made to the ixgbe_rcv_msg_from_vf function to
use the callback functions.
Changes have been made to testpmd to facilitate testing of the new API's.
The testpmd documentation has been updated to document the testpmd changes.
Note:
Adding new functions to the eth_dev_ops structure will cause an
.
Signed-off-by: azelezniak
Signed-off-by: Bernard Iremonger
---
lib/librte_ether/rte_ethdev.c | 17 ++
lib/librte_ether/rte_ethdev.h | 61 ++
lib/librte_ether/rte_ether_version.map | 7
3 files changed, 85 insertions(+)
diff --git a
801 - 900 of 1001 matches
Mail list logo