app/testpmd: remove duplicated flow type name table
[dpdk.git] / drivers / net / mvpp2 / mrvl_ethdev.h
index fda239a..3b69a6e 100644 (file)
@@ -72,9 +72,8 @@
 /** Minimum number of sent buffers to release from shadow queue to BM */
 #define MRVL_PP2_BUF_RELEASE_BURST_SIZE        64
 
-#define MRVL_PP2_VLAN_TAG_LEN  4
 #define MRVL_PP2_ETH_HDRS_LEN  (RTE_ETHER_HDR_LEN + RTE_ETHER_CRC_LEN + \
-                               (2 * MRVL_PP2_VLAN_TAG_LEN))
+                               (2 * RTE_VLAN_HLEN))
 #define MRVL_PP2_HDRS_LEN              (MV_MH_SIZE + MRVL_PP2_ETH_HDRS_LEN)
 #define MRVL_PP2_MTU_TO_MRU(mtu)       ((mtu) + MRVL_PP2_HDRS_LEN)
 #define MRVL_PP2_MRU_TO_MTU(mru)       ((mru) - MRVL_PP2_HDRS_LEN)
@@ -186,6 +185,8 @@ struct mrvl_priv {
 
        uint8_t forward_bad_frames;
        uint32_t fill_bpool_buffs;
+
+       uint8_t configured; /** indicates if device has been configured */
 };
 
 /** Flow operations forward declaration. */