|
@@ -1083,12 +1083,16 @@ mac_reset_top:
|
|
|
|
|
|
/* Add the SAN MAC address to the RAR only if it's a valid address */
|
|
|
if (is_valid_ether_addr(hw->mac.san_addr)) {
|
|
|
- hw->mac.ops.set_rar(hw, hw->mac.num_rar_entries - 1,
|
|
|
- hw->mac.san_addr, 0, IXGBE_RAH_AV);
|
|
|
-
|
|
|
/* Save the SAN MAC RAR index */
|
|
|
hw->mac.san_mac_rar_index = hw->mac.num_rar_entries - 1;
|
|
|
|
|
|
+ hw->mac.ops.set_rar(hw, hw->mac.san_mac_rar_index,
|
|
|
+ hw->mac.san_addr, 0, IXGBE_RAH_AV);
|
|
|
+
|
|
|
+ /* clear VMDq pool/queue selection for this RAR */
|
|
|
+ hw->mac.ops.clear_vmdq(hw, hw->mac.san_mac_rar_index,
|
|
|
+ IXGBE_CLEAR_VMDQ_ALL);
|
|
|
+
|
|
|
/* Reserve the last RAR for the SAN MAC address */
|
|
|
hw->mac.num_rar_entries--;
|
|
|
}
|