drivers/net: enable promiscuous and multicast by default
[dpdk.git] / drivers / net / enetc / enetc.h
index 56454dc..8c830a5 100644 (file)
 /* BD ALIGN */
 #define BD_ALIGN       8
 
+/* minimum frame size supported */
+#define ENETC_MAC_MINFRM_SIZE  68
+/* maximum frame size supported */
+#define ENETC_MAC_MAXFRM_SIZE  9600
+
 /*
  * upper_32_bits - return bits 32-63 of a number
  * @n: the number we're accessing
@@ -64,6 +69,7 @@ struct enetc_bdr {
                void *tcisr; /* Tx */
                int next_to_alloc; /* Rx */
        };
+       uint8_t crc_len; /* 0 if CRC stripped, 4 otherwise */
 };
 
 /*