netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [net-next 0/7] Intel Wired LAN Driver Updates
@ 2014-01-08  7:40 Aaron Brown
  2014-01-08  7:40 ` [net-next 1/7] ixbge: Protect ixgbe_down with __IXGBE_DOWN bit Aaron Brown
                   ` (6 more replies)
  0 siblings, 7 replies; 22+ messages in thread
From: Aaron Brown @ 2014-01-08  7:40 UTC (permalink / raw)
  To: davem; +Cc: Aaron Brown, netdev, gospo, sassmann

This series contains add Live Error Recovery (LER) support to the ixgbe
driver. This support also improves behavior in Thunderbolt environments.
This involves checking all register reads for a value of all ones and when
that is seen, to read the status register, which should never properly
return all ones, to confirm whether the received value was correct. When
this detects a removal, the hw_addr field is cleared to indicate the
removal.  This then blocks subsequent access to the device registers.

All register access macros have been changed to static inline functions
and all register accesses now use them.

The __IXGBE_DOWN bit is no longer overloaded to also mean that device
removal has been initiated. Now the bit can be used to protect ixgbe_down
from multiple entry via test_and_set_bit. A needed smp_mb__before_clear_bit
was also added.

Mark Rustad (7):
  1/7 ixbge: Protect ixgbe_down with __IXGBE_DOWN bit
  2/7 ixgbe: Indicate removal state explicitly
  3/7 ixgbe: Use static inlines instead of macros
  4/7 ixgbe: Make ethtool register test use accessors
  5/7 ixgbe: Check register reads for adapter removal
  6/7 ixgbe: Check for adapter removal on register writes
  7/7 ixgbe: Additional adapter removal checks

 drivers/net/ethernet/intel/ixgbe/ixgbe.h         |   7 ++
 drivers/net/ethernet/intel/ixgbe/ixgbe_common.h  |  55 +++++++++---
 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c | 110 +++++++++++++----------
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c    |  74 ++++++++++++---
 drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.c     |   3 +-
 drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c     |   2 +-
 6 files changed, 180 insertions(+), 71 deletions(-)

-- 
1.8.5.GIT

^ permalink raw reply	[flat|nested] 22+ messages in thread
* [net-next 0/7] Intel Wired LAN Driver Updates
@ 2014-01-18  2:29 Aaron Brown
  2014-01-18  3:18 ` David Miller
  0 siblings, 1 reply; 22+ messages in thread
From: Aaron Brown @ 2014-01-18  2:29 UTC (permalink / raw)
  To: davem; +Cc: Aaron Brown, netdev, gospo, sassmann

This series contains updates from Emil to ixgbevf.

He cleans up the code by removing the adapter structure as a
parameter from multiple functions in favor of using the ixgbevf_ring
structure and moves hot-path specific statistic int the ring 
structure for anticipated performance gains.

He also removes the Tx/Rx counters for checksum offload and adds 
counters for tx_restart_queue and tx_timeout_count.

Next he makes it so that the first tx_buffer structure acts as a
central storage location for most the skb info we are about to
transmit, then takes advantage of the dma buffer always being
present in the first descriptor and mapped as single allowing a 
call to dma_unmap_single which alleviates the need to check for
DMA mapping in ixgbevf_clean_tx_irq().  

Finally he merges the ixgbevf_tx_map call and the ixgbevf_tx_queue
call into a single function.

Emil Tantilov (7):
  ixgbevf: make use of the dev pointer in the ixgbevf_ring struct
  ixgbevf: move ring specific stats into ring specific structure
  ixgbevf: remove counters for Tx/Rx checksum offload
  ixgbevf: add tx counters
  ixgbevf: make the first tx_buffer a repository for most of the skb
    info
  ixgbevf: redo dma mapping using the tx buffer info
  ixgbevf: merge ixgbevf_tx_map and ixgbevf_tx_queue into a single
    function

 drivers/net/ethernet/intel/ixgbevf/defines.h      |   1 +
 drivers/net/ethernet/intel/ixgbevf/ethtool.c      |  62 +--
 drivers/net/ethernet/intel/ixgbevf/ixgbevf.h      |  90 ++--
 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 620 +++++++++++-----------
 4 files changed, 403 insertions(+), 370 deletions(-)

-- 
1.8.5.GIT

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2014-01-18  3:18 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-08  7:40 [net-next 0/7] Intel Wired LAN Driver Updates Aaron Brown
2014-01-08  7:40 ` [net-next 1/7] ixbge: Protect ixgbe_down with __IXGBE_DOWN bit Aaron Brown
2014-01-08  7:40 ` [net-next 2/7] ixgbe: Indicate removal state explicitly Aaron Brown
2014-01-08  8:37   ` Scott Feldman
2014-01-09 17:27     ` Rustad, Mark D
2014-01-09 18:18       ` Rustad, Mark D
2014-01-09 17:29     ` Rustad, Mark D
2014-01-08  7:40 ` [net-next 3/7] ixgbe: Use static inlines instead of macros Aaron Brown
2014-01-08  8:47   ` Scott Feldman
2014-01-09 17:34     ` Rustad, Mark D
2014-01-09 19:39       ` David Miller
2014-01-09 20:14         ` Rustad, Mark D
2014-01-09 20:19           ` David Miller
2014-01-09 20:46             ` Rustad, Mark D
2014-01-09 20:59               ` David Miller
2014-01-08  7:40 ` [net-next 4/7] ixgbe: Make ethtool register test use accessors Aaron Brown
2014-01-08  7:40 ` [net-next 5/7] ixgbe: Check register reads for adapter removal Aaron Brown
2014-01-08  8:35   ` Scott Feldman
2014-01-08  7:40 ` [net-next 6/7] ixgbe: Check for adapter removal on register writes Aaron Brown
2014-01-08  7:40 ` [net-next 7/7] ixgbe: Additional adapter removal checks Aaron Brown
  -- strict thread matches above, loose matches on Subject: below --
2014-01-18  2:29 [net-next 0/7] Intel Wired LAN Driver Updates Aaron Brown
2014-01-18  3:18 ` 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).