|
@@ -562,7 +562,7 @@ static int qed_hw_init_pf(struct qed_hwfn *p_hwfn,
|
|
}
|
|
}
|
|
|
|
|
|
/* Enable classification by MAC if needed */
|
|
/* Enable classification by MAC if needed */
|
|
- if (hw_mode & MODE_MF_SI) {
|
|
|
|
|
|
+ if (hw_mode & (1 << MODE_MF_SI)) {
|
|
DP_VERBOSE(p_hwfn, NETIF_MSG_HW,
|
|
DP_VERBOSE(p_hwfn, NETIF_MSG_HW,
|
|
"Configuring TAGMAC_CLS_TYPE\n");
|
|
"Configuring TAGMAC_CLS_TYPE\n");
|
|
STORE_RT_REG(p_hwfn,
|
|
STORE_RT_REG(p_hwfn,
|