net/mlx5: fix locking in xstats functions
[dpdk.git] / drivers / net / enic / enic_res.h
index 955db71..1135d2e 100644 (file)
 #define ENIC_MAX_RQ_DESCS              4096
 
 #define ENIC_MIN_MTU                   68
-#define ENIC_MAX_MTU                   9000
+
+/* Does not include (possible) inserted VLAN tag and FCS */
+#define ENIC_DEFAULT_RX_MAX_PKT_SIZE   9022
+
+/* Does not include (possible) inserted VLAN tag and FCS */
+#define ENIC_TX_MAX_PKT_SIZE           9208
 
 #define ENIC_MULTICAST_PERFECT_FILTERS 32
 #define ENIC_UNICAST_PERFECT_FILTERS   32
 
 #define ENIC_NON_TSO_MAX_DESC          16
 #define ENIC_DEFAULT_RX_FREE_THRESH    32
-#define ENIC_TX_POST_THRESH            (ENIC_MIN_WQ_DESCS / 2)
+#define ENIC_TX_XMIT_MAX               64
 
 #define ENIC_SETTING(enic, f) ((enic->config.flags & VENETF_##f) ? 1 : 0)