From: Liron Himi <lironh@marvell.com> To: Thomas Monjalon <thomas@monjalon.net>, "dev@dpdk.org" <dev@dpdk.org> Cc: "david.marchand@redhat.com" <david.marchand@redhat.com>, "stable@dpdk.org" <stable@dpdk.org>, Natalie Samsonov <nsamsono@marvell.com>, Tomasz Duszynski <tdu@semihalf.com>, Liron Himi <lironh@marvell.com> Subject: Re: [dpdk-stable] [EXT] [PATCH 1/4] net/mvpp2: fix build with gcc 10 Date: Wed, 20 May 2020 14:05:52 +0000 Message-ID: <DM5PR18MB2214873446EC5FE0FABCD8EAC6B60@DM5PR18MB2214.namprd18.prod.outlook.com> (raw) In-Reply-To: <20200520135830.1178242-2-thomas@monjalon.net> Acked-by: Liron Himi <lironh@marvell.com> Regards, Liron -----Original Message----- From: Thomas Monjalon <thomas@monjalon.net> Sent: Wednesday, 20 May 2020 16:58 To: dev@dpdk.org Cc: david.marchand@redhat.com; stable@dpdk.org; Liron Himi <lironh@marvell.com>; Natalie Samsonov <nsamsono@marvell.com>; Tomasz Duszynski <tdu@semihalf.com> Subject: [EXT] [PATCH 1/4] net/mvpp2: fix build with gcc 10 External Email ---------------------------------------------------------------------- GCC 10 is detecting the enum mismatch when assigning UDP variables with MUSDK constants for TCP. Fixes: 7235341d7517 ("net/mrvl: support classifier") Cc: stable@dpdk.org Signed-off-by: Thomas Monjalon <thomas@monjalon.net> --- drivers/net/mvpp2/mrvl_flow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/mvpp2/mrvl_flow.c b/drivers/net/mvpp2/mrvl_flow.c index 381b54e291..ea43255284 100644 --- a/drivers/net/mvpp2/mrvl_flow.c +++ b/drivers/net/mvpp2/mrvl_flow.c @@ -2511,14 +2511,14 @@ mrvl_create_cls_table(struct rte_eth_dev *dev, struct rte_flow *first_flow) if (first_flow->pattern & F_UDP_SPORT) { key->proto_field[key->num_fields].proto = MV_NET_PROTO_UDP; - key->proto_field[key->num_fields].field.tcp = MV_NET_TCP_F_SP; + key->proto_field[key->num_fields].field.udp = MV_NET_UDP_F_SP; key->key_size += 2; key->num_fields += 1; } if (first_flow->pattern & F_UDP_DPORT) { key->proto_field[key->num_fields].proto = MV_NET_PROTO_UDP; - key->proto_field[key->num_fields].field.udp = MV_NET_TCP_F_DP; + key->proto_field[key->num_fields].field.udp = MV_NET_UDP_F_DP; key->key_size += 2; key->num_fields += 1; } -- 2.26.2
next prev parent reply other threads:[~2020-05-20 14:06 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <20200520135830.1178242-1-thomas@monjalon.net> 2020-05-20 13:58 ` [dpdk-stable] " Thomas Monjalon 2020-05-20 14:05 ` Liron Himi [this message] 2020-05-20 13:58 ` [dpdk-stable] [PATCH 2/4] examples/vm_power: fix build with -fno-common Thomas Monjalon 2020-05-20 13:58 ` [dpdk-stable] [PATCH 3/4] examples/vm_power: drop Unix path limit redefinition Thomas Monjalon
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=DM5PR18MB2214873446EC5FE0FABCD8EAC6B60@DM5PR18MB2214.namprd18.prod.outlook.com \ --to=lironh@marvell.com \ --cc=david.marchand@redhat.com \ --cc=dev@dpdk.org \ --cc=nsamsono@marvell.com \ --cc=stable@dpdk.org \ --cc=tdu@semihalf.com \ --cc=thomas@monjalon.net \ /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
patches for DPDK stable branches This inbox may be cloned and mirrored by anyone: git clone --mirror http://inbox.dpdk.org/stable/0 stable/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 stable stable/ http://inbox.dpdk.org/stable \ stable@dpdk.org public-inbox-index stable Example config snippet for mirrors. Newsgroup available over NNTP: nntp://inbox.dpdk.org/inbox.dpdk.stable AGPL code for this site: git clone https://public-inbox.org/public-inbox.git