This API was introduced in 17.11, removing experimental tag
to promote to stable state.
Signed-off-by: Bernard Iremonger
---
examples/flow_classify/meson.build| 2 +-
lib/flow_classify/rte_flow_classify.h | 7 ---
lib/flow_classify/version.map | 2 +-
3 files changed, 2
This API was introduced in 17.11, removing experimental tag
to promote to stable state.
Signed-off-by: Bernard Iremonger
---
lib/flow_classify/rte_flow_classify.h | 7 ---
lib/flow_classify/version.map | 2 +-
2 files changed, 1 insertion(+), 8 deletions(-)
diff --git a/lib
Hi Sowmini,
Could you rebase this patchset to the latest DPDK-21.05-rc1 code.
Regards,
Bernard
remove Bernard Iremonger
remove Wenzhuo Lu
Signed-off-by: Bernard Iremonger
---
MAINTAINERS | 2 --
1 file changed, 2 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 77a2273..4e9fb0a 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1581,9 +1581,7 @@ F: app/test/sample_packet_forward.c
In the Testpmd Flow rules management section, correct
the TPID values in the Sample QinQ flow rules sub section.
Also replace the keyword qinq_strip with extend in the
vlan set command.
Fixes: bef3bfe7d5f4 ("doc: revise sample testpmd flow commands")
Cc: sta...@dpdk.org
Signed-off-b
In the Testpmd Flow rules management section, correct
the TPID values in the Sample QinQ flow rules sub section.
Fixes: bef3bfe7d5f4 ("doc: revise sample testpmd flow commands")
Cc: sta...@dpdk.org
Signed-off-by: Bernard Iremonger
---
doc/guides/testpmd_app_ug/testpmd_funcs.rst |
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
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
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
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
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 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 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
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 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
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
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(-)
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
.
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 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
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 | 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 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
/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
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
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
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
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
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
---
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
---
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
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
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
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 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
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 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
print function name in port_flow_complain()
Signed-off-by: Bernard Iremonger
---
app/test-pmd/config.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
index d599682..2753ec5 100644
--- a/app/test-pmd/config.c
+++ b/app/test-pmd
improve RSS debug in i40e_ethdev.c
Signed-off-by: Bernard Iremonger
Acked-by: Qi Zhang
---
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
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
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
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
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 CONFIG_RTE_LIBRTE_I40E_DEBUG_FD to config/common_base file
Signed-off-by: Bernard Iremonger
---
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/config/common_base
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
---
drivers/net/i40e/i40e_flow.c | 135 ++-
1 file changed
update customized code for ESP
Signed-off-by: Bernard Iremonger
---
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
index 5f1cf8a
add fill_ip6_head()
hardcode udp destination port to 4500
handle ESP and AH pctypes in ESP-AH profile
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_fdir.c | 126 ---
1 file changed, 118 insertions(+), 8 deletions(-)
diff --git a/drivers/net
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
---
drivers/net/i40e/i40e_ethdev.h | 38
print function name in port_flow_complain()
Signed-off-by: Bernard Iremonger
---
app/test-pmd/config.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
index d599682..2753ec5 100644
--- a/app/test-pmd/config.c
+++ b/app/test-pmd
add ITEM_ESP
add ITEM_ESP_SPI
Signed-off-by: Bernard Iremonger
Acked-by: Ori Kam
---
app/test-pmd/cmdline_flow.c | 34 +++---
1 file changed, 31 insertions(+), 3 deletions(-)
diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c
index 99dade7
improve RSS debug in i40e_ethdev.c
Signed-off-by: Bernard Iremonger
Acked-by: Qi Zhang
---
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
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
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
_head() in i40e_fdir.c
set is_udp to false in i40e_flow_fdir_get_pctype_value() in i40e_flow.c
Bernard Iremonger (13):
app/testpmd: parse flow command line for ESP
app/testpmd: improve debug
app/testpmd: dump Rx and Tx mbuf
net/i40e: improve RSS debug
net/i40e: handle ESP tunnel
net/i40e: sup
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
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
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
---
drivers/net/i40e/i40e_fdir.c | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/drivers/net
add fill_ip6_head()
hardcode udp destination port to 4500
handle ESP and AH pctypes in ESP-AH profile
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_fdir.c | 126 ---
1 file changed, 118 insertions(+), 8 deletions(-)
diff --git a/drivers/net
Add macros for the following protocols in the DDP esp-ah profile:
ESP
AH
Add the following RSS macro for IPsec:
ETH_RSS_IPSEC
Signed-off-by: Bernard Iremonger
---
lib/librte_ethdev/rte_ethdev.h | 14 +-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/lib/librte_ethdev
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
---
drivers/net/i40e/i40e_flow.c | 135 ++-
1 file changed
add CONFIG_RTE_LIBRTE_I40E_DEBUG_FD to config/common_base file
Signed-off-by: Bernard Iremonger
---
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/config/common_base
update customized code for ESP
Signed-off-by: Bernard Iremonger
---
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
index 5f1cf8a
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
improve RSS debug in i40e_ethdev.c
Signed-off-by: Bernard Iremonger
Acked-by: Qi Zhang
---
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
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
---
drivers/net/i40e/i40e_ethdev.h | 38
res into 4 instead of 2 in i40e_ethdev.h
Dropped extra printf from commandline_flow.c
Changes in V2:
--
Moved change in app/test-pmd/config.c to a seperate patch.
Added extra 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
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
print function name in port_flow_complain()
Signed-off-by: Bernard Iremonger
---
app/test-pmd/config.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
index d599682..2753ec5 100644
--- a/app/test-pmd/config.c
+++ b/app/test-pmd
add ITEM_ESP
add ITEM_ESP_SPI
Signed-off-by: Bernard Iremonger
Acked-by: Ori Kam
---
app/test-pmd/cmdline_flow.c | 4 +---
app/test-pmd/config.c | 2 +-
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c
index 9643148
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
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
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
---
drivers/net/i40e/i40e_fdir.c | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/drivers/net
add CONFIG_RTE_LIBRTE_I40E_DEBUG_FD to config/common_base file
Signed-off-by: Bernard Iremonger
---
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/config/common_base
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
add fill_ip6_head()
hardcode udp destination port to 4500
handle ESP and AH pctypes in ESP-AH profile
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_fdir.c | 126 ---
1 file changed, 118 insertions(+), 8 deletions(-)
diff --git a/drivers/net
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
---
drivers/net/i40e/i40e_flow.c | 135 ++-
1 file changed
update customized code for ESP
Signed-off-by: Bernard Iremonger
---
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
index 5f1cf8a
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
---
drivers/net/i40e/i40e_ethdev.h | 38
add ITEM_ESP
add ITEM_ESP_SPI
Signed-off-by: Bernard Iremonger
Acked-by: Ori Kam
---
app/test-pmd/cmdline_flow.c | 4 +---
app/test-pmd/config.c | 2 +-
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c
index 9643148
nge in app/test-pmd/config.c to a seperate patch.
Added extra 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 (14):
app/testpmd: parse flow command line for ESP
app/testpmd: improve debug
app/testpmd: dump Rx a
print function name in port_flow_complain()
Signed-off-by: Bernard Iremonger
---
app/test-pmd/config.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
index d599682..2753ec5 100644
--- a/app/test-pmd/config.c
+++ b/app/test-pmd
improve RSS debug in i40e_ethdev.c
Signed-off-by: Bernard Iremonger
Acked-by: Qi Zhang
---
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
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
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
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
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
is_udp in filter
use tenant_id in filter for spi
handle ESP and AH pctypes in ESP-AH profile
update customized code for ESP
hardcode udp destination port to 4500
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev.c | 44 +-
drivers/net/i40e/i40e_ethdev.h | 38
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
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
() in i40e_flow.c
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: handle ESP tunnel
net/i40e: process ESP flows
net/i40e: display Flow Director packet
librte_ethdev: add ESP and AH flow types to
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
add ITEM_ESP
add ITEM_ESP_SPI
add debug to cmdline_flow.c
Signed-off-by: Bernard Iremonger
Acked-by: Ori Kam
---
app/test-pmd/cmdline_flow.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c
index 9643148..9c6edb8
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
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 3fa6297..78329d2 100644
1 - 100 of 1001 matches
Mail list logo