net/hinic: fix MTU consistency with firmware
[dpdk.git] / drivers / net / hinic / base / hinic_pmd_niccfg.h
index 04cd374..0d0a670 100644 (file)
@@ -116,15 +116,6 @@ enum hinic_link_mode {
 #define HINIC_DEFAULT_RX_MODE  (HINIC_RX_MODE_UC | HINIC_RX_MODE_MC |  \
                                HINIC_RX_MODE_BC)
 
-#define HINIC_MAX_MTU_SIZE             (9600)
-#define HINIC_MIN_MTU_SIZE             (256)
-
-/* MIN_MTU + ETH_HLEN + CRC (256+14+4) */
-#define HINIC_MIN_FRAME_SIZE           274
-
-/* MAX_MTU + ETH_HLEN + CRC + VLAN(9600+14+4+4) */
-#define HINIC_MAX_JUMBO_FRAME_SIZE     (9622)
-
 #define HINIC_PORT_DISABLE             0x0
 #define HINIC_PORT_ENABLE              0x3