From: Qi Zhang Date: Mon, 13 Apr 2020 09:32:51 +0000 (+0800) Subject: common/iavf: add packet type aborted code X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=6c8cf785ebe032a29bc77b0c79f3cabf5a3420ba;p=dpdk.git common/iavf: add packet type aborted code 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 Signed-off-by: Paul M Stillwell Jr Signed-off-by: Qi Zhang Acked-by: Beilei Xing --- diff --git a/drivers/common/iavf/iavf_type.h b/drivers/common/iavf/iavf_type.h index a5834e50fe..905e1afb63 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 {