From: Qi Zhang <qi.z.zhang@intel.com>
To: beilei.xing@intel.com
Cc: xiaolong.ye@intel.com, dev@dpdk.org,
Qi Zhang <qi.z.zhang@intel.com>,
Przemyslaw Patynowski <przemyslawx.patynowski@intel.com>,
Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Subject: [dpdk-dev] [PATCH 1/6 v2] common/iavf: add PTYPE definition
Date: Mon, 13 Apr 2020 17:32:51 +0800 [thread overview]
Message-ID: <20200413093256.20767-2-qi.z.zhang@intel.com> (raw)
In-Reply-To: <20200413093256.20767-1-qi.z.zhang@intel.com>
Add IAVF_RX_PTYPE_PARSER_ABORTED definition, so iavf driver will know
opcode for parser aborted packets.
Without this definition driver would have to rely on magic numbers.
Signed-off-by: Przemyslaw Patynowski <przemyslawx.patynowski@intel.com>
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
---
drivers/common/iavf/iavf_type.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/common/iavf/iavf_type.h b/drivers/common/iavf/iavf_type.h
index a5834e50f..905e1afb6 100644
--- a/drivers/common/iavf/iavf_type.h
+++ b/drivers/common/iavf/iavf_type.h
@@ -552,7 +552,8 @@ enum iavf_rx_l2_ptype {
IAVF_RX_PTYPE_GRENAT4_MAC_PAY3 = 58,
IAVF_RX_PTYPE_GRENAT4_MACVLAN_IPV6_ICMP_PAY4 = 87,
IAVF_RX_PTYPE_GRENAT6_MAC_PAY3 = 124,
- IAVF_RX_PTYPE_GRENAT6_MACVLAN_IPV6_ICMP_PAY4 = 153
+ IAVF_RX_PTYPE_GRENAT6_MACVLAN_IPV6_ICMP_PAY4 = 153,
+ IAVF_RX_PTYPE_PARSER_ABORTED = 255
};
struct iavf_rx_ptype_decoded {
--
2.13.6
next prev parent reply other threads:[~2020-04-13 9:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-13 9:32 [dpdk-dev] [PATCH 0/6 v2] iavf share code update Qi Zhang
2020-04-13 9:32 ` Qi Zhang [this message]
2020-04-13 9:32 ` [dpdk-dev] [PATCH 2/6 v2] common/iavf: add DDP package query in virtual channel Qi Zhang
2020-04-13 9:32 ` [dpdk-dev] [PATCH 3/6 v2] common/iavf: add virtual channel support for Flex RXD Qi Zhang
2020-04-13 9:32 ` [dpdk-dev] [PATCH 4/6 v2] common/iavf: add virtual channel protocol header Qi Zhang
2020-04-13 9:32 ` [dpdk-dev] [PATCH 5/6 v2] common/iavf: add advanced RSS input set change support Qi Zhang
2020-04-13 9:32 ` [dpdk-dev] [PATCH 6/6 v2] common/iavf: add flow director support in virtual channel Qi Zhang
2020-04-13 14:35 ` [dpdk-dev] [PATCH 0/6 v2] iavf share code update Ye Xiaolong
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=20200413093256.20767-2-qi.z.zhang@intel.com \
--to=qi.z.zhang@intel.com \
--cc=beilei.xing@intel.com \
--cc=dev@dpdk.org \
--cc=paul.m.stillwell.jr@intel.com \
--cc=przemyslawx.patynowski@intel.com \
--cc=xiaolong.ye@intel.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).