FreeBSD Bugzilla – Attachment 193773 Details for
Bug 228556
igb link status is not updating properly when configured as VF driver in guest OS
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch file to fix igb vf driver link issue
igb_link.patch (text/plain), 674 bytes, created by
Gokul
on 2018-05-28 05:53:59 UTC
(
hide
)
Description:
patch file to fix igb vf driver link issue
Filename:
MIME Type:
Creator:
Gokul
Created:
2018-05-28 05:53:59 UTC
Size:
674 bytes
patch
obsolete
>Index: sys/dev/e1000/e1000_vf.c >=================================================================== >--- sys/dev/e1000/e1000_vf.c (revision 334275) >+++ sys/dev/e1000/e1000_vf.c (working copy) >@@ -546,10 +546,11 @@ > * or a virtual function reset > */ > >- /* If we were hit with a reset or timeout drop the link */ >- if (!mbx->ops.check_for_rst(hw, 0) || !mbx->timeout) >+ /* If we were hit with a reset or timeout or physical link is down drop the link */ >+ if (!mbx->ops.check_for_rst(hw, 0) || !mbx->timeout || \ >+ !(E1000_READ_REG(hw, E1000_STATUS) & E1000_STATUS_LU)) { > mac->get_link_status = TRUE; >- >+ } > if (!mac->get_link_status) > goto out; >
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 228556
: 193773