net/qede/base: fix find zero bit macro
[dpdk.git] / drivers / net / qede / base / ecore_hw.h
index 154eb3c..0750b2e 100644 (file)
@@ -259,6 +259,10 @@ enum _ecore_status_t ecore_dmae_info_alloc(struct ecore_hwfn       *p_hwfn);
 void ecore_dmae_info_free(struct ecore_hwfn    *p_hwfn);
 
 union ecore_qm_pq_params {
+       struct {
+               u8 q_idx;
+       } iscsi;
+
        struct {
                u8 tc;
        } core;
@@ -268,10 +272,20 @@ union ecore_qm_pq_params {
                u8 vf_id;
                u8 tc;
        } eth;
+
+       struct {
+               u8 dcqcn;
+               u8 qpid; /* roce relative */
+       } roce;
+
+       struct {
+               u8 qidx;
+       } iwarp;
 };
 
 u16 ecore_get_qm_pq(struct ecore_hwfn  *p_hwfn,
-                   enum protocol_type proto, union ecore_qm_pq_params *params);
+                   enum protocol_type  proto,
+                   union ecore_qm_pq_params *params);
 
 enum _ecore_status_t ecore_init_fw_data(struct ecore_dev *p_dev,
                                        const u8 *fw_data);