From: Bernard Iremonger Date: Wed, 15 Apr 2020 11:14:14 +0000 (+0100) Subject: app/testpmd: handle RSS offload types ESP and AH X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=d3bd79713be1399c51163349b74275862ff4663f;p=dpdk.git app/testpmd: handle RSS offload types ESP and AH Parse RSS offload types ESP and AH add printf for rss_hf Signed-off-by: Bernard Iremonger Acked-by: Ori Kam --- diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index 7dc4eec48c..a36c505c59 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -2338,8 +2338,10 @@ cmd_config_rss_parsed(void *parsed_result, i, -diag, strerror(-diag)); } } - if (all_updated && !use_default) + if (all_updated && !use_default) { rss_hf = rss_conf.rss_hf; + printf("rss_hf %#"PRIx64"\n", rss_hf); + } } cmdline_parse_token_string_t cmd_config_rss_port = diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index 71aeb5413c..69c5633e85 100644 --- a/app/test-pmd/config.c +++ b/app/test-pmd/config.c @@ -108,6 +108,8 @@ const struct rss_type_info rss_type_table[] = { { "l3-dst-only", ETH_RSS_L3_DST_ONLY }, { "l4-src-only", ETH_RSS_L4_SRC_ONLY }, { "l4-dst-only", ETH_RSS_L4_DST_ONLY }, + { "esp", ETH_RSS_ESP }, + { "ah", ETH_RSS_AH }, { NULL, 0 }, };