ptp cornercase cleanups
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest15 patches 0 repliesNew
- v35 patches 0 repliesSuperseded
- v25 patches 0 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 1 patch | 0 replies | Superseded |
Changes in v4 from the cover letter
- Split the driver patches at request of Shannon Nelson
- Updated commit messages, but code content should be identical
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/15 | e1000e: fix race condition around skb_tstamp_tx()drivers/ | +8 | 1 reply | |
| 2/15 | i40e: fix race condition with PTP_TX_IN_PROGRESS bitsdrivers/ | +11 | 1 reply | |
| 3/15 | igb: fix race condition with PTP_TX_IN_PROGRESS bitsdrivers/ | +10 | 1 reply | |
| 4/15 | ixgbe: fix race condition with PTP_TX_IN_PROGRESS bitsdrivers/ | +12 | 1 reply | |
| 5/15 | i40e: avoid permanent lock of *_PTP_TX_IN_PROGRESSdrivers/ | +20 | 1 reply | |
| 6/15 | igb: avoid permanent lock of *_PTP_TX_IN_PROGRESSdrivers/ | +18 | 1 reply | |
| 7/15 | ixgbe: avoid permanent lock of *_PTP_TX_IN_PROGRESSdrivers/ | +15 | 1 reply | |
| 8/15 | e1000e: add statistic indicating number of skipped Tx timestampsdrivers/ drivers/ drivers/ | +12 | 1 reply | |
| 9/15 | i40e: add statistic indicating number of skipped Tx timestampsdrivers/ drivers/ drivers/ | +3 | 1 reply | |
| 10/15 | igb: add statistic indicating number of skipped Tx timestampsdrivers/ drivers/ drivers/ | +4 | 1 reply | |
| 11/15 | ixgbe: add statistic indicating number of skipped Tx timestampsdrivers/ drivers/ drivers/ | +16 | 0 replies | |
| 12/15 | i40e: use pf data structure directly in i40e_ptp_rx_hangdrivers/ drivers/ drivers/ | +4 | 1 reply | |
| 13/15 | i40e: check for Tx timestamp timeouts during watchdogdrivers/ drivers/ drivers/ +1 more | +34 | 1 reply | |
| 14/15 | igb: check for Tx timestamp timeouts during watchdogdrivers/ drivers/ drivers/ | +31 | 1 reply | |
| 15/15 | ixgbe: check for Tx timestamp timeouts during watchdogdrivers/ drivers/ drivers/ | +29 | 1 reply |
Reviews trailers per patch
None of the 15 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Shannon Nelson | Andrew Bowers | Aaron Brown |
|---|---|---|---|
| Series | A-b | ||
| 1/15 | T-b | ||
| 2/15 | T-b | ||
| 3/15 | T-b | ||
| 4/15 | T-b | ||
| 5/15 | T-b | ||
| 6/15 | T-b | ||
| 7/15 | T-b | ||
| 8/15 | T-b | ||
| 9/15 | T-b | ||
| 10/15 | T-b | ||
| 11/15 | |||
| 12/15 | T-b | ||
| 13/15 | T-b | ||
| 14/15 | T-b | ||
| 15/15 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [Intel-wired-lan] [PATCH v4 00/15] ptp cornercase cleanups
This series contains fixes for similar corner cases in the e1000e, igb, i40e, and ixgbe drivers reported by David Mirabito on the ptp4l mailing list.
The first few patches fix a race condition with skb_tstamp_tx(). The next few patches ensure that we cleanup the state bit when exiting the _xmit_frame_ring() function with a DMA or TSO failure. After this, we add new statistic to count how many times the Tx timestamp is skipped due to already outstanding requests. The final few patches add some handling in the potential case where we somehow never finish a timestamp request, ensuring that we don't permanently lock the Tx timestamps forever in this rare case.
Changes in v4
- Split the driver patches at request of Shannon Nelson
- Updated commit messages, but code content should be identical
I apologize in advance, the patchworks will not track this properly because I necessarily changed the commit subjects when splitting the patches apart by driver.
Jacob Keller (15):
e1000e: fix race condition around skb_tstamp_tx()
i40e: fix race condition with PTP_TX_IN_PROGRESS bits
igb: fix race condition with PTP_TX_IN_PROGRESS bits
ixgbe: fix race condition with PTP_TX_IN_PROGRESS bits
i40e: avoid permanent lock of *_PTP_TX_IN_PROGRESS
igb: avoid permanent lock of *_PTP_TX_IN_PROGRESS
ixgbe: avoid permanent lock of *_PTP_TX_IN_PROGRESS
e1000e: add statistic indicating number of skipped Tx timestamps
i40e: add statistic indicating number of skipped Tx timestamps
igb: add statistic indicating number of skipped Tx timestamps
ixgbe: add statistic indicating number of skipped Tx timestamps
i40e: use pf data structure directly in i40e_ptp_rx_hang
i40e: check for Tx timestamp timeouts during watchdog
igb: check for Tx timestamp timeouts during watchdog
ixgbe: check for Tx timestamp timeouts during watchdog
drivers/net/ethernet/intel/e1000e/e1000.h | 1 + drivers/net/ethernet/intel/e1000e/ethtool.c | 1 + drivers/net/ethernet/intel/e1000e/netdev.c | 27 ++++++++----- drivers/net/ethernet/intel/i40e/i40e.h | 5 ++- drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 1 + drivers/net/ethernet/intel/i40e/i40e_main.c | 3 +- drivers/net/ethernet/intel/i40e/i40e_ptp.c | 48 +++++++++++++++++++++--- drivers/net/ethernet/intel/i40e/i40e_txrx.c | 28 +++++++++++--- drivers/net/ethernet/intel/igb/igb.h | 2 + drivers/net/ethernet/intel/igb/igb_ethtool.c | 1 + drivers/net/ethernet/intel/igb/igb_main.c | 26 ++++++++++--- drivers/net/ethernet/intel/igb/igb_ptp.c | 41 +++++++++++++++++++- drivers/net/ethernet/intel/ixgbe/ixgbe.h | 2 + drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c | 3 ++ drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 42 ++++++++++++++------- drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c | 42 +++++++++++++++++++-- 16 files changed, 227 insertions(+), 46 deletions(-)
Signature · 1 line
2.13.0.rc0.317.gcc792a6cad5a