Commit e163d7f2 authored by Ron Mercer's avatar Ron Mercer Committed by David S. Miller

qlge: Fix frame routing for multicast frames.

Broadcast/multicast should always be routed to the default (zeroeth) rx
ring.  Broadcast frames are already routed correctly.  This fixes
routing for multicast frames.
Signed-off-by: default avatarRon Mercer <ron.mercer@qlogic.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a3b71939
...@@ -546,14 +546,14 @@ static int ql_set_routing_reg(struct ql_adapter *qdev, u32 index, u32 mask, ...@@ -546,14 +546,14 @@ static int ql_set_routing_reg(struct ql_adapter *qdev, u32 index, u32 mask,
} }
case RT_IDX_MCAST: /* Pass up All Multicast frames. */ case RT_IDX_MCAST: /* Pass up All Multicast frames. */
{ {
value = RT_IDX_DST_CAM_Q | /* dest */ value = RT_IDX_DST_DFLT_Q | /* dest */
RT_IDX_TYPE_NICQ | /* type */ RT_IDX_TYPE_NICQ | /* type */
(RT_IDX_ALLMULTI_SLOT << RT_IDX_IDX_SHIFT);/* index */ (RT_IDX_ALLMULTI_SLOT << RT_IDX_IDX_SHIFT);/* index */
break; break;
} }
case RT_IDX_MCAST_MATCH: /* Pass up matched Multicast frames. */ case RT_IDX_MCAST_MATCH: /* Pass up matched Multicast frames. */
{ {
value = RT_IDX_DST_CAM_Q | /* dest */ value = RT_IDX_DST_DFLT_Q | /* dest */
RT_IDX_TYPE_NICQ | /* type */ RT_IDX_TYPE_NICQ | /* type */
(RT_IDX_MCAST_MATCH_SLOT << RT_IDX_IDX_SHIFT);/* index */ (RT_IDX_MCAST_MATCH_SLOT << RT_IDX_IDX_SHIFT);/* index */
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment