[dpdk-dev] [PATCH v4 3/3] app/testpmd: add RSS offload types extending support
Ori Kam
orika at mellanox.com
Sat Sep 28 18:49:29 CEST 2019
Hi Simei,
> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Simei Su
> Sent: Friday, September 27, 2019 11:54 AM
> To: qi.z.zhang at intel.com; jingjing.wu at intel.com; xiaolong.ye at intel.com
> Cc: dev at dpdk.org; simei.su at intel.com
> Subject: [dpdk-dev] [PATCH v4 3/3] app/testpmd: add RSS offload types
> extending support
>
> This patch adds cmdline support for extended rss types configuration.
>
> Signed-off-by: Simei Su <simei.su at intel.com>
> ---
> app/test-pmd/config.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
> index 1a5a5c1..a59a69e 100644
> --- a/app/test-pmd/config.c
> +++ b/app/test-pmd/config.c
> @@ -103,6 +103,10 @@
> { "tcp", ETH_RSS_TCP },
> { "sctp", ETH_RSS_SCTP },
> { "tunnel", ETH_RSS_TUNNEL },
> + { "l3-src-only", ETH_RSS_L3_SRC_ONLY },
> + { "l3-dst-only", ETH_RSS_L3_DST_ONLY },
> + { "l4-src-only", ETH_RSS_L4_SRC_ONLY },
> + { "l4-dst-only", ETH_RSS_L4_DST_ONLY },
> { NULL, 0 },
> };
>
You must also add the new flags in app/test-pmd/cmdline.c
So they can be used when creating rte_flow.
Thanks,
Ori Kam
> --
> 1.8.3.1
More information about the dev
mailing list