DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Li, Xiaoyun" <xiaoyun.li@intel.com>
To: Maxime Coquelin <maxime.coquelin@redhat.com>,
	"dev@dpdk.org" <dev@dpdk.org>,
	"Xia, Chenbo" <chenbo.xia@intel.com>,
	"amorenoz@redhat.com" <amorenoz@redhat.com>,
	"david.marchand@redhat.com" <david.marchand@redhat.com>,
	"andrew.rybchenko@oktetlabs.ru" <andrew.rybchenko@oktetlabs.ru>,
	"Yigit, Ferruh" <ferruh.yigit@intel.com>,
	"michaelba@nvidia.com" <michaelba@nvidia.com>,
	"viacheslavo@nvidia.com" <viacheslavo@nvidia.com>
Cc: "nelio.laranjeiro@6wind.com" <nelio.laranjeiro@6wind.com>,
	"yvugenfi@redhat.com" <yvugenfi@redhat.com>,
	"ybendito@redhat.com" <ybendito@redhat.com>
Subject: Re: [dpdk-dev] [PATCH v4 5/5] app/testpmd: add missing flow types in port info
Date: Fri, 8 Oct 2021 02:01:26 +0000	[thread overview]
Message-ID: <DM4PR11MB5534AC0D9BFBC0D3B263C8DA99B29@DM4PR11MB5534.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20211004143017.51488-6-maxime.coquelin@redhat.com>

> -----Original Message-----
> From: Maxime Coquelin <maxime.coquelin@redhat.com>
> Sent: Monday, October 4, 2021 22:30
> To: dev@dpdk.org; Xia, Chenbo <chenbo.xia@intel.com>;
> amorenoz@redhat.com; david.marchand@redhat.com;
> andrew.rybchenko@oktetlabs.ru; Yigit, Ferruh <ferruh.yigit@intel.com>;
> michaelba@nvidia.com; viacheslavo@nvidia.com; Li, Xiaoyun
> <xiaoyun.li@intel.com>
> Cc: nelio.laranjeiro@6wind.com; yvugenfi@redhat.com; ybendito@redhat.com;
> Maxime Coquelin <maxime.coquelin@redhat.com>
> Subject: [PATCH v4 5/5] app/testpmd: add missing flow types in port info
> 
> This patch adds missing IPv6-Ex and GTPU flow types to port info command. It
> also add the same definitions to str2flowtype(), used to configure flow director.
> 
> Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
> ---
>  app/test-pmd/cmdline.c | 4 ++++
>  app/test-pmd/config.c  | 4 ++++
>  2 files changed, 8 insertions(+)
> 
> diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index
> a9efd027c3..2fb94df88e 100644
> --- a/app/test-pmd/cmdline.c
> +++ b/app/test-pmd/cmdline.c
> @@ -10408,6 +10408,10 @@ str2flowtype(char *string)
>  		{"ipv6-sctp", RTE_ETH_FLOW_NONFRAG_IPV6_SCTP},
>  		{"ipv6-other", RTE_ETH_FLOW_NONFRAG_IPV6_OTHER},
>  		{"l2_payload", RTE_ETH_FLOW_L2_PAYLOAD},
> +		{"ipv6-ex", RTE_ETH_FLOW_IPV6_EX},
> +		{"ipv6-tcp-ex", RTE_ETH_FLOW_IPV6_TCP_EX},
> +		{"ipv6-udp-ex", RTE_ETH_FLOW_IPV6_UDP_EX},
> +		{"gtpu", RTE_ETH_FLOW_GTPU},
>  	};
> 
>  	for (i = 0; i < RTE_DIM(flowtype_str); i++) { diff --git a/app/test-
> pmd/config.c b/app/test-pmd/config.c index 9a4a0c232b..dbad470bcd 100644
> --- a/app/test-pmd/config.c
> +++ b/app/test-pmd/config.c
> @@ -4528,11 +4528,15 @@ flowtype_to_str(uint16_t flow_type)
>  		{"ipv6-sctp", RTE_ETH_FLOW_NONFRAG_IPV6_SCTP},
>  		{"ipv6-other", RTE_ETH_FLOW_NONFRAG_IPV6_OTHER},
>  		{"l2_payload", RTE_ETH_FLOW_L2_PAYLOAD},
> +		{"ipv6-ex", RTE_ETH_FLOW_IPV6_EX},
> +		{"ipv6-tcp-ex", RTE_ETH_FLOW_IPV6_TCP_EX},
> +		{"ipv6-udp-ex", RTE_ETH_FLOW_IPV6_UDP_EX},
>  		{"port", RTE_ETH_FLOW_PORT},
>  		{"vxlan", RTE_ETH_FLOW_VXLAN},
>  		{"geneve", RTE_ETH_FLOW_GENEVE},
>  		{"nvgre", RTE_ETH_FLOW_NVGRE},
>  		{"vxlan-gpe", RTE_ETH_FLOW_VXLAN_GPE},
> +		{"gtpu", RTE_ETH_FLOW_GTPU},
>  	};
> 
>  	for (i = 0; i < RTE_DIM(flowtype_str_table); i++) {
> --
> 2.31.1

Acked-by: Xiaoyun Li <xiaoyun.li@intel.com>

      reply	other threads:[~2021-10-08  2:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-04 14:30 [dpdk-dev] [PATCH v4 0/5] Virtio PMD RSS support & RSS fixes Maxime Coquelin
2021-10-04 14:30 ` [dpdk-dev] [PATCH v4 1/5] net/virtio: add initial RSS support Maxime Coquelin
2021-10-11  8:47   ` Xia, Chenbo
2021-10-11  8:51     ` Maxime Coquelin
2021-10-04 14:30 ` [dpdk-dev] [PATCH v4 2/5] app/testpmd: fix RSS key length Maxime Coquelin
2021-10-04 14:30 ` [dpdk-dev] [PATCH v4 3/5] app/testpmd: fix RSS type display Maxime Coquelin
2021-10-04 14:30 ` [dpdk-dev] [PATCH v4 4/5] net/mlx5: fix RSS RETA update Maxime Coquelin
2021-10-04 14:30 ` [dpdk-dev] [PATCH v4 5/5] app/testpmd: add missing flow types in port info Maxime Coquelin
2021-10-08  2:01   ` Li, Xiaoyun [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DM4PR11MB5534AC0D9BFBC0D3B263C8DA99B29@DM4PR11MB5534.namprd11.prod.outlook.com \
    --to=xiaoyun.li@intel.com \
    --cc=amorenoz@redhat.com \
    --cc=andrew.rybchenko@oktetlabs.ru \
    --cc=chenbo.xia@intel.com \
    --cc=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    --cc=maxime.coquelin@redhat.com \
    --cc=michaelba@nvidia.com \
    --cc=nelio.laranjeiro@6wind.com \
    --cc=viacheslavo@nvidia.com \
    --cc=ybendito@redhat.com \
    --cc=yvugenfi@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).