net/hns3: fix queue state when concurrent with reset
[dpdk.git] / drivers / net / dpaa / dpaa_ethdev.h
index 659bceb..b5728e0 100644 (file)
@@ -9,7 +9,7 @@
 
 /* System headers */
 #include <stdbool.h>
-#include <rte_ethdev_driver.h>
+#include <ethdev_driver.h>
 #include <rte_event_eth_rx_adapter.h>
 
 #include <fsl_usd.h>
 #define VLAN_TAG_SIZE   4 /** < Vlan Header Length */
 #endif
 
+#define DPAA_ETH_MAX_LEN (RTE_ETHER_MTU + \
+                         RTE_ETHER_HDR_LEN + RTE_ETHER_CRC_LEN + \
+                         VLAN_TAG_SIZE)
+
 /* PCD frame queues */
 #define DPAA_DEFAULT_NUM_PCD_QUEUES    1
 #define DPAA_VSP_PROFILE_MAX_NUM       8