|
@@ -9341,7 +9341,7 @@ static int i40e_config_netdev(struct i40e_vsi *vsi)
|
|
*/
|
|
*/
|
|
i40e_rm_default_mac_filter(vsi, mac_addr);
|
|
i40e_rm_default_mac_filter(vsi, mac_addr);
|
|
spin_lock_bh(&vsi->mac_filter_hash_lock);
|
|
spin_lock_bh(&vsi->mac_filter_hash_lock);
|
|
- i40e_add_filter(vsi, mac_addr, I40E_VLAN_ANY);
|
|
|
|
|
|
+ i40e_add_mac_filter(vsi, mac_addr);
|
|
spin_unlock_bh(&vsi->mac_filter_hash_lock);
|
|
spin_unlock_bh(&vsi->mac_filter_hash_lock);
|
|
} else {
|
|
} else {
|
|
/* relate the VSI_VMDQ name to the VSI_MAIN name */
|
|
/* relate the VSI_VMDQ name to the VSI_MAIN name */
|
|
@@ -9350,7 +9350,7 @@ static int i40e_config_netdev(struct i40e_vsi *vsi)
|
|
random_ether_addr(mac_addr);
|
|
random_ether_addr(mac_addr);
|
|
|
|
|
|
spin_lock_bh(&vsi->mac_filter_hash_lock);
|
|
spin_lock_bh(&vsi->mac_filter_hash_lock);
|
|
- i40e_add_filter(vsi, mac_addr, I40E_VLAN_ANY);
|
|
|
|
|
|
+ i40e_add_mac_filter(vsi, mac_addr);
|
|
spin_unlock_bh(&vsi->mac_filter_hash_lock);
|
|
spin_unlock_bh(&vsi->mac_filter_hash_lock);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -9369,7 +9369,7 @@ static int i40e_config_netdev(struct i40e_vsi *vsi)
|
|
*/
|
|
*/
|
|
eth_broadcast_addr(broadcast);
|
|
eth_broadcast_addr(broadcast);
|
|
spin_lock_bh(&vsi->mac_filter_hash_lock);
|
|
spin_lock_bh(&vsi->mac_filter_hash_lock);
|
|
- i40e_add_filter(vsi, broadcast, I40E_VLAN_ANY);
|
|
|
|
|
|
+ i40e_add_mac_filter(vsi, broadcast);
|
|
spin_unlock_bh(&vsi->mac_filter_hash_lock);
|
|
spin_unlock_bh(&vsi->mac_filter_hash_lock);
|
|
|
|
|
|
ether_addr_copy(netdev->dev_addr, mac_addr);
|
|
ether_addr_copy(netdev->dev_addr, mac_addr);
|