net/hinic/base: optimize AEQ interfaces
[dpdk.git] / drivers / net / hinic / base / hinic_pmd_eqs.h
index fdb9854..16046ec 100644 (file)
@@ -21,9 +21,6 @@
 
 #define HINIC_DEFAULT_AEQ_LEN          64
 
-#define HINIC_RECV_NEXT_AEQE           HINIC_ERROR
-#define HINIC_RECV_DONE                        HINIC_OK
-
 #define GET_EQ_ELEMENT(eq, idx)                \
                (((u8 *)(eq)->virt_addr[(idx) / (eq)->num_elem_in_pg]) + \
                (((u32)(idx) & ((eq)->num_elem_in_pg - 1)) * (eq)->elem_size))
@@ -58,7 +55,7 @@ enum hinic_aeq_type {
 struct hinic_eq {
        struct hinic_hwdev              *hwdev;
        u16                             q_id;
-       enum hinic_eq_type              type;
+       u16                             type;
        u32                             page_size;
        u16                             eq_len;