FreeBSD Bugzilla – Attachment 166765 Details for
Bug 207034
ixv driver does not check_link or fill in adapter->link_speed field during initialization
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
check-link-and-speed.patch (text/plain), 935 bytes, created by
Jeremiah
on 2016-02-08 22:52:34 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Jeremiah
Created:
2016-02-08 22:52:34 UTC
Size:
935 bytes
patch
obsolete
>Index: sys/dev/ixgbe/if_ixv.c >=================================================================== >--- sys/dev/ixgbe/if_ixv.c (revision 294994) >+++ sys/dev/ixgbe/if_ixv.c (working copy) >@@ -1572,10 +1572,9 @@ > ixv_config_link(struct adapter *adapter) > { > struct ixgbe_hw *hw = &adapter->hw; >- u32 autoneg; > > if (hw->mac.ops.check_link) >- hw->mac.ops.check_link(hw, &autoneg, >+ hw->mac.ops.check_link(hw, &adapter->link_speed, > &adapter->link_up, FALSE); > } > >Index: sys/dev/ixgbe/ixgbe_vf.c >=================================================================== >--- sys/dev/ixgbe/ixgbe_vf.c (revision 294994) >+++ sys/dev/ixgbe/ixgbe_vf.c (working copy) >@@ -71,6 +71,8 @@ > hw->mac.ops.check_link = ixgbe_check_mac_link_vf; > hw->mac.ops.get_link_capabilities = NULL; > >+ hw->mac.get_link_status = TRUE; >+ > /* RAR, Multicast, VLAN */ > hw->mac.ops.set_rar = ixgbe_set_rar_vf; > hw->mac.ops.set_uc_addr = ixgbevf_set_uc_addr_vf;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 207034
: 166765