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

qlge: bugfix: Tell hw to strip vlan header.

Signed-off-by: default avatarRon Mercer <ron.mercer@qlogic.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1e213303
...@@ -3073,9 +3073,9 @@ static int ql_adapter_initialize(struct ql_adapter *qdev) ...@@ -3073,9 +3073,9 @@ static int ql_adapter_initialize(struct ql_adapter *qdev)
mask = value << 16; mask = value << 16;
ql_write32(qdev, SYS, mask | value); ql_write32(qdev, SYS, mask | value);
/* Set the default queue. */ /* Set the default queue, and VLAN behavior. */
value = NIC_RCV_CFG_DFQ; value = NIC_RCV_CFG_DFQ | NIC_RCV_CFG_RV;
mask = NIC_RCV_CFG_DFQ_MASK; mask = NIC_RCV_CFG_DFQ_MASK | (NIC_RCV_CFG_RV << 16);
ql_write32(qdev, NIC_RCV_CFG, (mask | value)); ql_write32(qdev, NIC_RCV_CFG, (mask | value));
/* Set the MPI interrupt to enabled. */ /* Set the MPI interrupt to enabled. */
......
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