Skip to content

Commit

Permalink
ixgbe-2.0.84.11
Browse files Browse the repository at this point in the history
    5ca4276886ffe68e499f9888fb1b45ba  ixgbe-2.0.84.11.tar.gz
  • Loading branch information
intel-wired-lan committed Jul 28, 2010
1 parent 847690f commit 9085429
Show file tree
Hide file tree
Showing 6 changed files with 88 additions and 44 deletions.
18 changes: 18 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -761,6 +761,24 @@ Known Issues/Troubleshooting
Due to kernel limitations, port type can only be correctly displayed on
kernel 2.6.33 or greater.

Under Redhat 5.4 - System May Crash when Closing Guest OS Window after
Loading/Unloading Physical Function (PF) Driver
-------------------------------------------------------------------------
Do not remove the ixgbe driver from Dom0 while Virtual Functions (VFs) are
assigned to guests. VFs must first use the xm "pci-detach" command to
hot-plug the VF device out of the VM it is assigned to or else shut down the
VM.

Unloading Physical Function (PF) Driver Causes System Reboots When VM is
Running and VF is Loaded on the VM
-----------------------------------------------------------------------------
Do not unload the PF driver (ixgbe) while VFs are assigned to guests.

Running ethtool -t ethX command causes break between PF and test client
-----------------------------------------------------------------------
When there are active VFs, "ethtool -t" will only run the link test. The
driver will also log in syslog that VFs should be shut down to run a full
diags test.

Support
=======
Expand Down
78 changes: 39 additions & 39 deletions SUMS
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
08750 3 ixgbe-2.0.84.9/pci.updates
36236 3 ixgbe-2.0.84.9/scripts/set_irq_affinity.sh
46279 7 ixgbe-2.0.84.9/ixgbe.7
31431 47 ixgbe-2.0.84.9/src/ixgbe_phy.c
50246 83 ixgbe-2.0.84.9/src/ixgbe_ethtool.c
02492 5 ixgbe-2.0.84.9/src/ixgbe_dcb_82598.h
18747 13 ixgbe-2.0.84.9/src/ixgbe_sriov.c
31717 39 ixgbe-2.0.84.9/src/ixgbe_82598.c
13727 19 ixgbe-2.0.84.9/src/kcompat.c
50588 86 ixgbe-2.0.84.9/src/ixgbe_common.c
31720 22 ixgbe-2.0.84.9/src/ixgbe_fcoe.c
17027 12 ixgbe-2.0.84.9/src/ixgbe_dcb_82598.c
59757 120 ixgbe-2.0.84.9/src/ixgbe_type.h
60919 13 ixgbe-2.0.84.9/src/ixgbe_mbx.c
43317 5 ixgbe-2.0.84.9/src/ixgbe_common.h
05391 3 ixgbe-2.0.84.9/src/ixgbe_sysfs.c
02911 247 ixgbe-2.0.84.9/src/ixgbe_main.c
24915 66 ixgbe-2.0.84.9/src/kcompat.h
62167 6 ixgbe-2.0.84.9/src/ixgbe_phy.h
52936 6 ixgbe-2.0.84.9/src/ixgbe_dcb_82599.h
12190 1 ixgbe-2.0.84.9/src/Module.supported
33809 35 ixgbe-2.0.84.9/src/ixgbe_param.c
28189 32 ixgbe-2.0.84.9/src/ixgbe_api.c
56645 48 ixgbe-2.0.84.9/src/ixgbe_dcb_nl.c
38589 11 ixgbe-2.0.84.9/src/ixgbe_dcb.c
05806 9 ixgbe-2.0.84.9/src/ixgbe_api.h
40003 7 ixgbe-2.0.84.9/src/ixgbe_dcb.h
17540 3 ixgbe-2.0.84.9/src/ixgbe_fcoe.h
11995 5 ixgbe-2.0.84.9/src/ixgbe_mbx.h
30547 76 ixgbe-2.0.84.9/src/ixgbe_82599.c
40363 16 ixgbe-2.0.84.9/src/ixgbe_dcb_82599.c
36898 20 ixgbe-2.0.84.9/src/ixgbe.h
55694 3 ixgbe-2.0.84.9/src/ixgbe_sriov.h
52164 4 ixgbe-2.0.84.9/src/ixgbe_osdep.h
28797 29 ixgbe-2.0.84.9/src/kcompat_ethtool.c
44995 11 ixgbe-2.0.84.9/src/Makefile
39773 19 ixgbe-2.0.84.9/COPYING
46204 12 ixgbe-2.0.84.9/ixgbe.spec
08988 32 ixgbe-2.0.84.9/README
08750 3 ixgbe-2.0.84.11/pci.updates
36236 3 ixgbe-2.0.84.11/scripts/set_irq_affinity.sh
46279 7 ixgbe-2.0.84.11/ixgbe.7
31431 47 ixgbe-2.0.84.11/src/ixgbe_phy.c
50246 83 ixgbe-2.0.84.11/src/ixgbe_ethtool.c
02492 5 ixgbe-2.0.84.11/src/ixgbe_dcb_82598.h
18747 13 ixgbe-2.0.84.11/src/ixgbe_sriov.c
31717 39 ixgbe-2.0.84.11/src/ixgbe_82598.c
13727 19 ixgbe-2.0.84.11/src/kcompat.c
50588 86 ixgbe-2.0.84.11/src/ixgbe_common.c
31720 22 ixgbe-2.0.84.11/src/ixgbe_fcoe.c
17027 12 ixgbe-2.0.84.11/src/ixgbe_dcb_82598.c
49093 120 ixgbe-2.0.84.11/src/ixgbe_type.h
60919 13 ixgbe-2.0.84.11/src/ixgbe_mbx.c
43317 5 ixgbe-2.0.84.11/src/ixgbe_common.h
05391 3 ixgbe-2.0.84.11/src/ixgbe_sysfs.c
28547 247 ixgbe-2.0.84.11/src/ixgbe_main.c
24915 66 ixgbe-2.0.84.11/src/kcompat.h
62167 6 ixgbe-2.0.84.11/src/ixgbe_phy.h
52936 6 ixgbe-2.0.84.11/src/ixgbe_dcb_82599.h
12190 1 ixgbe-2.0.84.11/src/Module.supported
33809 35 ixgbe-2.0.84.11/src/ixgbe_param.c
28189 32 ixgbe-2.0.84.11/src/ixgbe_api.c
56645 48 ixgbe-2.0.84.11/src/ixgbe_dcb_nl.c
38589 11 ixgbe-2.0.84.11/src/ixgbe_dcb.c
05806 9 ixgbe-2.0.84.11/src/ixgbe_api.h
40003 7 ixgbe-2.0.84.11/src/ixgbe_dcb.h
17540 3 ixgbe-2.0.84.11/src/ixgbe_fcoe.h
11995 5 ixgbe-2.0.84.11/src/ixgbe_mbx.h
31436 77 ixgbe-2.0.84.11/src/ixgbe_82599.c
40363 16 ixgbe-2.0.84.11/src/ixgbe_dcb_82599.c
36898 20 ixgbe-2.0.84.11/src/ixgbe.h
55694 3 ixgbe-2.0.84.11/src/ixgbe_sriov.h
52164 4 ixgbe-2.0.84.11/src/ixgbe_osdep.h
28797 29 ixgbe-2.0.84.11/src/kcompat_ethtool.c
44995 11 ixgbe-2.0.84.11/src/Makefile
39773 19 ixgbe-2.0.84.11/COPYING
31018 12 ixgbe-2.0.84.11/ixgbe.spec
14530 33 ixgbe-2.0.84.11/README
2 changes: 1 addition & 1 deletion ixgbe.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Name: ixgbe
Summary: Intel(R) 10GbE PCI Express Ethernet Connection
Version: 2.0.84.9
Version: 2.0.84.11
Release: 1
Source: %{name}-%{version}.tar.gz
Vendor: Intel Corporation
Expand Down
30 changes: 27 additions & 3 deletions src/ixgbe_82599.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ s32 ixgbe_init_phy_ops_82599(struct ixgbe_hw *hw)
s32 ixgbe_setup_sfp_modules_82599(struct ixgbe_hw *hw)
{
s32 ret_val = 0;
u32 reg_anlp1, i = 0;
u16 list_offset, data_offset, data_value;

if (hw->phy.sfp_type != ixgbe_sfp_type_unknown) {
Expand All @@ -172,14 +173,37 @@ s32 ixgbe_setup_sfp_modules_82599(struct ixgbe_hw *hw)
IXGBE_WRITE_FLUSH(hw);
hw->eeprom.ops.read(hw, ++data_offset, &data_value);
}
/* Now restart DSP by setting Restart_AN */
IXGBE_WRITE_REG(hw, IXGBE_AUTOC,
(IXGBE_READ_REG(hw, IXGBE_AUTOC) | IXGBE_AUTOC_AN_RESTART));

/* Release the semaphore */
ixgbe_release_swfw_sync(hw, IXGBE_GSSR_MAC_CSR_SM);
/* Delay obtaining semaphore again to allow FW access */
msleep(hw->eeprom.semaphore_delay);

/* Now restart DSP by setting Restart_AN and clearing LMS */
IXGBE_WRITE_REG(hw, IXGBE_AUTOC,
((IXGBE_READ_REG(hw, IXGBE_AUTOC) &
~IXGBE_AUTOC_LMS_MASK) |
IXGBE_AUTOC_AN_RESTART));

/* Wait for AN to leave state 0 */
for (i = 0; i < 10; i++) {
msleep(4);
reg_anlp1 = IXGBE_READ_REG(hw, IXGBE_ANLP1);
if (reg_anlp1 & IXGBE_ANLP1_AN_STATE_MASK)
break;
}
if (!(reg_anlp1 & IXGBE_ANLP1_AN_STATE_MASK)) {
hw_dbg(hw, "sfp module setup not complete\n");
ret_val = IXGBE_ERR_SFP_SETUP_NOT_COMPLETE;
goto setup_sfp_out;
}

/* Restart DSP by setting Restart_AN and return to SFI mode */
IXGBE_WRITE_REG(hw, IXGBE_AUTOC,
(IXGBE_READ_REG(hw, IXGBE_AUTOC) |
IXGBE_AUTOC_LMS_10G_SERIAL |
IXGBE_AUTOC_AN_RESTART));

}

setup_sfp_out:
Expand Down
2 changes: 1 addition & 1 deletion src/ixgbe_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ static const char ixgbe_driver_string[] =

#define FPGA

#define DRV_VERSION "2.0.84.9" DRIVERNAPI DRV_HW_PERF FPGA
#define DRV_VERSION "2.0.84.11" DRIVERNAPI DRV_HW_PERF FPGA
const char ixgbe_driver_version[] = DRV_VERSION;
static char ixgbe_copyright[] = "Copyright (c) 1999-2010 Intel Corporation.";
/* ixgbe_pci_tbl - PCI Device ID Table
Expand Down
2 changes: 2 additions & 0 deletions src/ixgbe_type.h
Original file line number Diff line number Diff line change
Expand Up @@ -1534,6 +1534,7 @@
#define IXGBE_ANLP1_PAUSE 0x0C00
#define IXGBE_ANLP1_SYM_PAUSE 0x0400
#define IXGBE_ANLP1_ASM_PAUSE 0x0800
#define IXGBE_ANLP1_AN_STATE_MASK 0x000F0000

/* SW Semaphore Register bitmasks */
#define IXGBE_SWSM_SMBI 0x00000001 /* Driver Semaphore bit */
Expand Down Expand Up @@ -2814,6 +2815,7 @@ struct ixgbe_hw {
#define IXGBE_ERR_FC_NOT_NEGOTIATED -27
#define IXGBE_ERR_FC_NOT_SUPPORTED -28
#define IXGBE_ERR_FLOW_CONTROL -29
#define IXGBE_ERR_SFP_SETUP_NOT_COMPLETE -30
#define IXGBE_NOT_IMPLEMENTED 0x7FFFFFFF

#define UNREFERENCED_2PARAMETER(_p, _q) (_p); (_q);
Expand Down

0 comments on commit 9085429

Please sign in to comment.