Page MenuHomeFreeBSD

D20428.diff
No OneTemporary

D20428.diff

Index: head/sys/dev/ixl/i40e_common.c
===================================================================
--- head/sys/dev/ixl/i40e_common.c
+++ head/sys/dev/ixl/i40e_common.c
@@ -383,13 +383,14 @@
**/
bool i40e_check_asq_alive(struct i40e_hw *hw)
{
- if (hw->aq.asq.len)
+ if (hw->aq.asq.len) {
if (!i40e_is_vf(hw))
return !!(rd32(hw, hw->aq.asq.len) &
I40E_PF_ATQLEN_ATQENABLE_MASK);
- if (i40e_is_vf(hw))
+ else
return !!(rd32(hw, hw->aq.asq.len) &
I40E_VF_ATQLEN1_ATQENABLE_MASK);
+ }
return FALSE;
}

File Metadata

Mime Type
text/plain
Expires
Mon, Feb 10, 1:53 AM (20 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16568210
Default Alt Text
D20428.diff (537 B)

Event Timeline