net/qede/base: rename macro
authorRasesh Mody <rasesh.mody@cavium.com>
Thu, 5 Jan 2017 07:03:48 +0000 (23:03 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:40:52 +0000 (19:40 +0100)
Rename OOO_LB_TC to PKT_LB_TC to give better meaning.

Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/base/ecore.h
drivers/net/qede/base/ecore_hw.c

index 19e9e02..f830778 100644 (file)
@@ -800,7 +800,7 @@ static OSAL_INLINE u8 ecore_concrete_to_sw_fid(struct ecore_dev *p_dev,
 }
 
 #define PURE_LB_TC 8
-#define OOO_LB_TC 9
+#define PKT_LB_TC 9
 
 int ecore_configure_vport_wfq(struct ecore_dev *p_dev, u16 vp_id, u32 rate);
 void ecore_configure_vp_wfq_on_link_change(struct ecore_dev *p_dev,
index 7f4db0a..8abe60a 100644 (file)
@@ -923,7 +923,7 @@ u16 ecore_get_qm_pq(struct ecore_hwfn *p_hwfn,
        case PROTOCOLID_CORE:
                if (p_params->core.tc == LB_TC)
                        pq_id = p_hwfn->qm_info.pure_lb_pq;
-               else if (p_params->core.tc == OOO_LB_TC)
+               else if (p_params->core.tc == PKT_LB_TC)
                        pq_id = p_hwfn->qm_info.ooo_pq;
                else
                        pq_id = p_hwfn->qm_info.offload_pq;