+ /*
+ * Indicate whether ignore the outer VLAN field in the Rx BD reported
+ * by the Hardware. Because the outer VLAN is the PVID if the PVID is
+ * set for some version of hardware network engine whose vlan mode is
+ * HNS3_SW_SHIFT_AND_DISCARD_MODE, such as kunpeng 920. And this VLAN
+ * should not be transitted to the upper-layer application. For hardware
+ * network engine whose vlan mode is HNS3_HW_SHIFT_AND_DISCARD_MODE,
+ * such as kunpeng 930, PVID will not be reported to the BDs. So, PMD
+ * driver does not need to perform PVID-related operation in Rx. At this
+ * point, the pvid_sw_discard_en will be false.
+ */
+ bool pvid_sw_discard_en;
+ bool enabled; /* indicate if Rx queue has been enabled */