Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142437899
D3111.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
724 B
Referenced Files
None
Subscribers
None
D3111.diff
View Options
Index: sys/dev/ixl/if_ixl.c
===================================================================
--- sys/dev/ixl/if_ixl.c
+++ sys/dev/ixl/if_ixl.c
@@ -1141,7 +1141,8 @@
bcopy(IF_LLADDR(vsi->ifp), tmpaddr,
I40E_ETH_LENGTH_OF_ADDRESS);
if (!cmp_etheraddr(hw->mac.addr, tmpaddr) &&
- i40e_validate_mac_addr(tmpaddr)) {
+ (i40e_validate_mac_addr(tmpaddr) == I40E_SUCCESS)) {
+ ixl_del_filter(vsi, hw->mac.addr, IXL_VLAN_ANY);
bcopy(tmpaddr, hw->mac.addr,
I40E_ETH_LENGTH_OF_ADDRESS);
ret = i40e_aq_mac_address_write(hw,
@@ -1151,6 +1152,8 @@
device_printf(dev, "LLA address"
"change failed!!\n");
return;
+ } else {
+ ixl_add_filter(vsi, hw->mac.addr, IXL_VLAN_ANY);
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 20, 11:17 PM (18 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27782012
Default Alt Text
D3111.diff (724 B)
Attached To
Mode
D3111: ixl: Add MAC+VLAN filter for LAA MAC assignment
Attached
Detach File
Event Timeline
Log In to Comment