* [net 0/2][pull request] Intel Wired LAN Driver Updates
@ 2012-04-17 22:48 Jeff Kirsher
2012-04-17 22:48 ` [net 1/2] ixgbe: add missing rtnl_lock in PM resume path Jeff Kirsher
` (2 more replies)
0 siblings, 3 replies; 14+ messages in thread
From: Jeff Kirsher @ 2012-04-17 22:48 UTC (permalink / raw)
To: davem; +Cc: Jeff Kirsher, netdev, gospo, sassmann
This series of patches contains fixes for ixgbe only.
The following are changes since commit a99ff7d0123b19ecad3b589480b6542716ab6b52:
net: usb: smsc75xx: fix mtu
and are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net master
Alexander Duyck (1):
ixgbe: Identify FCoE rings earlier to resolve memory corruption w/
FCoE
Benjamin Poirier (1):
ixgbe: add missing rtnl_lock in PM resume path
drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c | 10 ++++++++++
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 10 ++--------
2 files changed, 12 insertions(+), 8 deletions(-)
--
1.7.7.6
^ permalink raw reply [flat|nested] 14+ messages in thread
* [net 1/2] ixgbe: add missing rtnl_lock in PM resume path
2012-04-17 22:48 [net 0/2][pull request] Intel Wired LAN Driver Updates Jeff Kirsher
@ 2012-04-17 22:48 ` Jeff Kirsher
2012-04-17 22:48 ` [net 2/2] ixgbe: Identify FCoE rings earlier to resolve memory corruption w/ FCoE Jeff Kirsher
2012-04-18 2:59 ` [net 0/2][pull request] Intel Wired LAN Driver Updates David Miller
2 siblings, 0 replies; 14+ messages in thread
From: Jeff Kirsher @ 2012-04-17 22:48 UTC (permalink / raw)
To: davem; +Cc: Benjamin Poirier, netdev, gospo, sassmann, Jeff Kirsher
From: Benjamin Poirier <bpoirier@suse.de>
Upon resume from standby, ixgbe may trigger the ASSERT_RTNL() in
netif_set_real_num_tx_queues(). The call stack is:
netif_set_real_num_tx_queues
ixgbe_set_num_queues
ixgbe_init_interrupt_scheme
ixgbe_resume
Signed-off-by: Benjamin Poirier <bpoirier@suse.de>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
index dac7c01..9e2be8c 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
@@ -4836,7 +4836,9 @@ static int ixgbe_resume(struct pci_dev *pdev)
pci_wake_from_d3(pdev, false);
+ rtnl_lock();
err = ixgbe_init_interrupt_scheme(adapter);
+ rtnl_unlock();
if (err) {
e_dev_err("Cannot initialize interrupts for device\n");
return err;
--
1.7.7.6
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [net 2/2] ixgbe: Identify FCoE rings earlier to resolve memory corruption w/ FCoE
2012-04-17 22:48 [net 0/2][pull request] Intel Wired LAN Driver Updates Jeff Kirsher
2012-04-17 22:48 ` [net 1/2] ixgbe: add missing rtnl_lock in PM resume path Jeff Kirsher
@ 2012-04-17 22:48 ` Jeff Kirsher
2012-04-18 2:59 ` [net 0/2][pull request] Intel Wired LAN Driver Updates David Miller
2 siblings, 0 replies; 14+ messages in thread
From: Jeff Kirsher @ 2012-04-17 22:48 UTC (permalink / raw)
To: davem; +Cc: Alexander Duyck, netdev, gospo, sassmann, Jeff Kirsher
From: Alexander Duyck <alexander.h.duyck@intel.com>
This patch makes it so that we identify FCoE rings earlier than
ixgbe_set_rx_buffer_len. Instead we identify the Rx FCoE rings at
allocation time in ixgbe_alloc_q_vector.
The motivation behind this change is to avoid memory corruption when FCoE
is enabled. Without this change we were initializing the rings at 0, and
2K on systems with 4K pages, then when we bumped the buffer size to 4K with
order 1 pages we were accessing offsets 2K and 6K instead of 0 and 4K.
This was resulting in memory corruptions.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Acked-by: Yi Zou <yi.zou@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c | 10 ++++++++++
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 8 --------
2 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c
index 027d7a7..ed1b47d 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c
@@ -622,6 +622,16 @@ static int ixgbe_alloc_q_vector(struct ixgbe_adapter *adapter, int v_idx,
if (adapter->hw.mac.type == ixgbe_mac_82599EB)
set_bit(__IXGBE_RX_CSUM_UDP_ZERO_ERR, &ring->state);
+#ifdef IXGBE_FCOE
+ if (adapter->netdev->features & NETIF_F_FCOE_MTU) {
+ struct ixgbe_ring_feature *f;
+ f = &adapter->ring_feature[RING_F_FCOE];
+ if ((rxr_idx >= f->mask) &&
+ (rxr_idx < f->mask + f->indices))
+ set_bit(__IXGBE_RX_FCOE_BUFSZ, &ring->state);
+ }
+
+#endif /* IXGBE_FCOE */
/* apply Rx specific ring traits */
ring->count = adapter->rx_ring_count;
ring->queue_index = rxr_idx;
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
index 9e2be8c..a7f3cd8 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
@@ -3154,14 +3154,6 @@ static void ixgbe_set_rx_buffer_len(struct ixgbe_adapter *adapter)
set_ring_rsc_enabled(rx_ring);
else
clear_ring_rsc_enabled(rx_ring);
-#ifdef IXGBE_FCOE
- if (netdev->features & NETIF_F_FCOE_MTU) {
- struct ixgbe_ring_feature *f;
- f = &adapter->ring_feature[RING_F_FCOE];
- if ((i >= f->mask) && (i < f->mask + f->indices))
- set_bit(__IXGBE_RX_FCOE_BUFSZ, &rx_ring->state);
- }
-#endif /* IXGBE_FCOE */
}
}
--
1.7.7.6
^ permalink raw reply related [flat|nested] 14+ messages in thread
* Re: [net 0/2][pull request] Intel Wired LAN Driver Updates
2012-04-17 22:48 [net 0/2][pull request] Intel Wired LAN Driver Updates Jeff Kirsher
2012-04-17 22:48 ` [net 1/2] ixgbe: add missing rtnl_lock in PM resume path Jeff Kirsher
2012-04-17 22:48 ` [net 2/2] ixgbe: Identify FCoE rings earlier to resolve memory corruption w/ FCoE Jeff Kirsher
@ 2012-04-18 2:59 ` David Miller
2 siblings, 0 replies; 14+ messages in thread
From: David Miller @ 2012-04-18 2:59 UTC (permalink / raw)
To: jeffrey.t.kirsher; +Cc: netdev, gospo, sassmann
From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Date: Tue, 17 Apr 2012 15:48:03 -0700
> This series of patches contains fixes for ixgbe only.
>
> The following are changes since commit a99ff7d0123b19ecad3b589480b6542716ab6b52:
> net: usb: smsc75xx: fix mtu
> and are available in the git repository at:
> git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net master
Pulled, thanks Jeff.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [net 0/2][pull request] Intel Wired LAN Driver Updates
@ 2013-01-16 9:03 Jeff Kirsher
2013-01-16 19:27 ` David Miller
0 siblings, 1 reply; 14+ messages in thread
From: Jeff Kirsher @ 2013-01-16 9:03 UTC (permalink / raw)
To: davem; +Cc: Jeff Kirsher, netdev, gospo, sassmann
This series contains updates to ixgbe only.
The following are changes since commit daf3ec688e057f6060fb9bb0819feac7a8bbf45c:
tg3: Fix crc errors on jumbo frame receive
and are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net master
Jacob Keller (2):
ixgbe: only compile ixgbe_debugfs.o when enabled
ixgbe: Fix overwriting of rx_mtrl in ixgbe_ptp_hwtstamp_ioctl
drivers/net/ethernet/intel/ixgbe/Makefile | 3 ++-
drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.c | 5 -----
drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c | 4 ++--
3 files changed, 4 insertions(+), 8 deletions(-)
--
1.7.11.7
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [net 0/2][pull request] Intel Wired LAN Driver Updates
2013-01-16 9:03 Jeff Kirsher
@ 2013-01-16 19:27 ` David Miller
0 siblings, 0 replies; 14+ messages in thread
From: David Miller @ 2013-01-16 19:27 UTC (permalink / raw)
To: jeffrey.t.kirsher; +Cc: netdev, gospo, sassmann
From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Date: Wed, 16 Jan 2013 01:03:47 -0800
> This series contains updates to ixgbe only.
>
> The following are changes since commit daf3ec688e057f6060fb9bb0819feac7a8bbf45c:
> tg3: Fix crc errors on jumbo frame receive
> and are available in the git repository at:
> git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net master
Pulled, thanks Jeff.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [net 0/2][pull request] Intel Wired LAN Driver Updates
@ 2012-07-14 7:47 Jeff Kirsher
2012-07-17 6:20 ` David Miller
0 siblings, 1 reply; 14+ messages in thread
From: Jeff Kirsher @ 2012-07-14 7:47 UTC (permalink / raw)
To: davem; +Cc: Jeff Kirsher, netdev, gospo, sassmann
This series contains fixes to e1000e.
The following are changes since commit 7ac2908e4b2edaec60e9090ddb4d9ceb76c05e7d:
sch_sfb: Fix missing NULL check
and are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net master
Bruce Allan (1):
e1000e: fix test for PHY being accessible on 82577/8/9 and I217
Tushar Dave (1):
e1000e: Correct link check logic for 82571 serdes
drivers/net/ethernet/intel/e1000e/82571.c | 3 ++
drivers/net/ethernet/intel/e1000e/ich8lan.c | 42 ++++++++++++++++++++-------
2 files changed, 35 insertions(+), 10 deletions(-)
--
1.7.10.4
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [net 0/2][pull request] Intel Wired LAN Driver Updates
2012-07-14 7:47 Jeff Kirsher
@ 2012-07-17 6:20 ` David Miller
0 siblings, 0 replies; 14+ messages in thread
From: David Miller @ 2012-07-17 6:20 UTC (permalink / raw)
To: jeffrey.t.kirsher; +Cc: netdev, gospo, sassmann
From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Date: Sat, 14 Jul 2012 00:47:41 -0700
> This series contains fixes to e1000e.
>
> The following are changes since commit 7ac2908e4b2edaec60e9090ddb4d9ceb76c05e7d:
> sch_sfb: Fix missing NULL check
> and are available in the git repository at:
> git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net master
>
> Bruce Allan (1):
> e1000e: fix test for PHY being accessible on 82577/8/9 and I217
>
> Tushar Dave (1):
> e1000e: Correct link check logic for 82571 serdes
Pulled, thanks Jeff.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [net 0/2][pull request] Intel Wired LAN Driver Updates
@ 2012-05-03 10:08 Jeff Kirsher
2012-05-04 10:52 ` Jeff Kirsher
0 siblings, 1 reply; 14+ messages in thread
From: Jeff Kirsher @ 2012-05-03 10:08 UTC (permalink / raw)
To: davem; +Cc: Jeff Kirsher, netdev, gospo, sassmann
This series of patches contains fixes for ixgbe.
The following are changes since commit 5a8887d39e1ba5ee2d4ccb94b14d6f2dce5ddfca:
sungem: Fix WakeOnLan
and are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net master`
Don Skidmore (1):
ixgbe: fix race condition with shutdown
John Fastabend (1):
ixgbe: dcb: BIT_APP_UPCHG not set by ixgbe_copy_dcb_cfg()
drivers/net/ethernet/intel/ixgbe/ixgbe.h | 3 --
drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c | 43 ++++++++++------------
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 6 ++-
3 files changed, 24 insertions(+), 28 deletions(-)
--
1.7.7.6
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [net 0/2][pull request] Intel Wired LAN Driver Updates
2012-05-03 10:08 Jeff Kirsher
@ 2012-05-04 10:52 ` Jeff Kirsher
0 siblings, 0 replies; 14+ messages in thread
From: Jeff Kirsher @ 2012-05-04 10:52 UTC (permalink / raw)
To: davem@davemloft.net
Cc: netdev@vger.kernel.org, gospo@redhat.com, sassmann@redhat.com
[-- Attachment #1: Type: text/plain, Size: 1033 bytes --]
On Thu, 2012-05-03 at 03:08 -0700, Kirsher, Jeffrey T wrote:
> This series of patches contains fixes for ixgbe.
>
> The following are changes since commit 5a8887d39e1ba5ee2d4ccb94b14d6f2dce5ddfca:
> sungem: Fix WakeOnLan
> and are available in the git repository at:
> git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net master`
>
> Don Skidmore (1):
> ixgbe: fix race condition with shutdown
>
> John Fastabend (1):
> ixgbe: dcb: BIT_APP_UPCHG not set by ixgbe_copy_dcb_cfg()
>
> drivers/net/ethernet/intel/ixgbe/ixgbe.h | 3 --
> drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c | 43 ++++++++++------------
> drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 6 ++-
> 3 files changed, 24 insertions(+), 28 deletions(-)
>
> --
> 1.7.7.6
>
Dave-
Since you have not pulled this yet, I plan to send a v2 of this pull
request because I need to add 2 more patches to this pull request. So
please disregard this pull request while I update my net tree.
Cheers,
Jeff
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* [net 0/2][pull request] Intel Wired LAN Driver Updates
@ 2012-04-25 5:55 Jeff Kirsher
2012-04-26 9:11 ` David Miller
0 siblings, 1 reply; 14+ messages in thread
From: Jeff Kirsher @ 2012-04-25 5:55 UTC (permalink / raw)
To: davem; +Cc: Jeff Kirsher, netdev, gospo, sassmann
This series of patches contains fixes for e1000e only.
The following are changes since commit 2a5809499e35b53a6044fd34e72b242688b7a862:
asix: Fix tx transfer padding for full-speed USB
and are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net master
Jeff Kirsher (1):
e1000e: Fix default interrupt throttle rate not set in NIC HW
Prasanna S Panchamukhi (1):
e1000e: MSI interrupt test failed, using legacy interrupt
drivers/net/ethernet/intel/e1000e/netdev.c | 2 +-
drivers/net/ethernet/intel/e1000e/param.c | 99 +++++++++++++++-------------
2 files changed, 54 insertions(+), 47 deletions(-)
--
1.7.7.6
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [net 0/2][pull request] Intel Wired LAN Driver Updates
2012-04-25 5:55 Jeff Kirsher
@ 2012-04-26 9:11 ` David Miller
0 siblings, 0 replies; 14+ messages in thread
From: David Miller @ 2012-04-26 9:11 UTC (permalink / raw)
To: jeffrey.t.kirsher; +Cc: netdev, gospo, sassmann
From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Date: Tue, 24 Apr 2012 22:55:12 -0700
> This series of patches contains fixes for e1000e only.
>
> The following are changes since commit 2a5809499e35b53a6044fd34e72b242688b7a862:
> asix: Fix tx transfer padding for full-speed USB
> and are available in the git repository at:
> git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net master
>
> Jeff Kirsher (1):
> e1000e: Fix default interrupt throttle rate not set in NIC HW
>
> Prasanna S Panchamukhi (1):
> e1000e: MSI interrupt test failed, using legacy interrupt
Pulled, but longer term you guys might want to take Ben's suggestion
and just take the interrupt self-test out altogether.
Thanks.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [net 0/2][pull request] Intel Wired LAN Driver updates
@ 2012-04-14 8:51 Jeff Kirsher
2012-04-14 19:17 ` David Miller
0 siblings, 1 reply; 14+ messages in thread
From: Jeff Kirsher @ 2012-04-14 8:51 UTC (permalink / raw)
To: davem; +Cc: Jeff Kirsher, netdev, gospo, sassmann
This series of patches contains fixes for e1000e and ixgbe.
The following are changes since commit 3c5e979bd037888dd7d722da22da4b43659af485:
net: smsc911x: fix skb handling in receive path
and are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net master
Bruce Allan (1):
e1000e: issues in Sx on 82577/8/9
Don Skidmore (1):
ixgbe: fix WoL issue with fiber
drivers/net/ethernet/intel/e1000e/ich8lan.c | 15 ++++++++++-----
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 10 ++++++++++
2 files changed, 20 insertions(+), 5 deletions(-)
--
1.7.7.6
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2013-01-16 19:27 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-17 22:48 [net 0/2][pull request] Intel Wired LAN Driver Updates Jeff Kirsher
2012-04-17 22:48 ` [net 1/2] ixgbe: add missing rtnl_lock in PM resume path Jeff Kirsher
2012-04-17 22:48 ` [net 2/2] ixgbe: Identify FCoE rings earlier to resolve memory corruption w/ FCoE Jeff Kirsher
2012-04-18 2:59 ` [net 0/2][pull request] Intel Wired LAN Driver Updates David Miller
-- strict thread matches above, loose matches on Subject: below --
2013-01-16 9:03 Jeff Kirsher
2013-01-16 19:27 ` David Miller
2012-07-14 7:47 Jeff Kirsher
2012-07-17 6:20 ` David Miller
2012-05-03 10:08 Jeff Kirsher
2012-05-04 10:52 ` Jeff Kirsher
2012-04-25 5:55 Jeff Kirsher
2012-04-26 9:11 ` David Miller
2012-04-14 8:51 [net 0/2][pull request] Intel Wired LAN Driver updates Jeff Kirsher
2012-04-14 19:17 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).