fm10k: get descriptor limits
[dpdk.git] / drivers / net / fm10k / fm10k.h
index 876aa81..439e95f 100644 (file)
 #define FM10K_VLAN_TAG_SIZE 4
 
 /* Maximum number of MAC addresses per PF/VF */
-#define FM10K_MAX_MACADDR_NUM       1
+#define FM10K_MAX_MACADDR_NUM       64
 
 #define FM10K_UINT32_BIT_SIZE      (CHAR_BIT * sizeof(uint32_t))
 #define FM10K_VFTA_SIZE            (4096 / FM10K_UINT32_BIT_SIZE)
 
 struct fm10k_macvlan_filter_info {
        uint16_t vlan_num;       /* Total VLAN number */
+       uint16_t mac_num;        /* Total mac number */
+       uint16_t nb_queue_pools; /* Active queue pools number */
+       /* VMDQ ID for each MAC address */
+       uint8_t  mac_vmdq_id[FM10K_MAX_MACADDR_NUM];
        uint32_t vfta[FM10K_VFTA_SIZE];        /* VLAN bitmap */
 };
 
@@ -199,7 +203,6 @@ struct fm10k_tx_queue {
        uint16_t next_free;
        uint16_t nb_free;
        uint16_t nb_used;
-       uint16_t free_trigger;
        uint16_t free_thresh;
        uint16_t rs_thresh;
        volatile uint32_t *tail_ptr;