build: replace meson OS detection with variable
[dpdk.git] / drivers / net / pfe / pfe_eth.h
index 5811b54..9820d7b 100644 (file)
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: BSD-3-Clause
- * Copyright 2019 NXP
+ * Copyright 2018-2019 NXP
  */
 
 #ifndef _PFE_ETH_H_
@@ -17,6 +17,8 @@ extern unsigned int pfe_svr;
 #define SVR_LS1012A_REV2       0x87040020
 #define SVR_LS1012A_REV1       0x87040010
 
+#define PFE_ETH_OVERHEAD        (RTE_ETHER_HDR_LEN + RTE_ETHER_CRC_LEN)
+#define MAX_MTU_ON_REV1         1878
 struct ls1012a_eth_platform_data {
        /* device specific information */
        u32 device_flags;
@@ -53,6 +55,7 @@ struct ls1012a_pfe_platform_data {
 
 struct  pfe_eth_priv_s {
        struct pfe              *pfe;
+       struct hif_client_s     client;
        int                     low_tmu_q;
        int                     high_tmu_q;
        struct rte_eth_dev      *ndev;