From: Chaoyong He <chaoyong.he@corigine.com>
To: dev@dpdk.org
Cc: oss-drivers@corigine.com, Chaoyong He <chaoyong.he@corigine.com>,
Long Wu <long.wu@corigine.com>,
Peng Zhang <peng.zhang@corigine.com>
Subject: [PATCH 1/4] net/nfp: support generic ETH flow item
Date: Tue, 28 May 2024 09:55:01 +0800 [thread overview]
Message-ID: <20240528015504.2376070-2-chaoyong.he@corigine.com> (raw)
In-Reply-To: <20240528015504.2376070-1-chaoyong.he@corigine.com>
Add support of ETH flow item with a NULL 'item->spec' value.
Signed-off-by: Chaoyong He <chaoyong.he@corigine.com>
Reviewed-by: Long Wu <long.wu@corigine.com>
Reviewed-by: Peng Zhang <peng.zhang@corigine.com>
---
drivers/net/nfp/flower/nfp_flower_flow.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/nfp/flower/nfp_flower_flow.c b/drivers/net/nfp/flower/nfp_flower_flow.c
index ae3f25e410..098a714ea5 100644
--- a/drivers/net/nfp/flower/nfp_flower_flow.c
+++ b/drivers/net/nfp/flower/nfp_flower_flow.c
@@ -1230,10 +1230,9 @@ nfp_flow_merge_eth(__rte_unused struct nfp_app_fw_flower *app_fw_flower,
}
eth->mpls_lse = 0;
-
-eth_end:
*mbuf_off += sizeof(struct nfp_flower_mac_mpls);
+eth_end:
return 0;
}
--
2.39.1
next prev parent reply other threads:[~2024-05-28 1:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-28 1:55 [PATCH 0/4] support generic " Chaoyong He
2024-05-28 1:55 ` Chaoyong He [this message]
2024-05-28 1:55 ` [PATCH 2/4] net/nfp: support generic TCP " Chaoyong He
2024-05-28 1:55 ` [PATCH 3/4] net/nfp: support generic UDP " Chaoyong He
2024-05-28 1:55 ` [PATCH 4/4] net/nfp: support generic SCTP " Chaoyong He
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=20240528015504.2376070-2-chaoyong.he@corigine.com \
--to=chaoyong.he@corigine.com \
--cc=dev@dpdk.org \
--cc=long.wu@corigine.com \
--cc=oss-drivers@corigine.com \
--cc=peng.zhang@corigine.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).