net/iavf: fix mbuf leak
[dpdk.git] / drivers / net / hinic / base / hinic_pmd_niccfg.h
index 73b16b4..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
 
@@ -909,8 +900,6 @@ int hinic_set_link_status_follow(void *hwdev,
 
 int hinic_get_link_mode(void *hwdev, u32 *supported, u32 *advertised);
 
-int hinic_set_xsfp_tx_status(void *hwdev, bool enable);
-
 int hinic_flush_qp_res(void *hwdev);
 
 int hinic_init_function_table(void *hwdev, u16 rx_buf_sz);