From: Tony Nguyen <anthony.l.nguyen@intel.com> Date: 2021-12-28 18:25:07
This series contains updates to igc driver only.
Vinicius disables support for crosstimestamp on i225-V as lockups are being
observed.
James McLaughlin fixes Tx timestamping support on non-MSI-X platforms.
The following are changes since commit 16fa29aef7963293f8792789210002ec9f9607ac:
Merge branch 'smc-fixes'
and are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue 1GbE
James McLaughlin (1):
igc: Fix TX timestamp support for non-MSI-X platforms
Vinicius Costa Gomes (1):
igc: Do not enable crosstimestamping for i225-V models
drivers/net/ethernet/intel/igc/igc_main.c | 6 ++++++
drivers/net/ethernet/intel/igc/igc_ptp.c | 15 ++++++++++++++-
2 files changed, 20 insertions(+), 1 deletion(-)
--
2.31.1
From: Tony Nguyen <anthony.l.nguyen@intel.com> Date: 2021-12-28 18:25:08
From: Vinicius Costa Gomes <vinicius.gomes@intel.com>
It was reported that when PCIe PTM is enabled, some lockups could
be observed with some integrated i225-V models.
While the issue is investigated, we can disable crosstimestamp for
those models and see no loss of functionality, because those models
don't have any support for time synchronization.
Fixes: a90ec8483732 ("igc: Add support for PTP getcrosststamp()")
Link: https://lore.kernel.org/all/924175a188159f4e03bd69908a91e606b574139b.camel@gmx.de/
Reported-by: Stefan Dietrich <redacted>
Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
Tested-by: Nechama Kraus <redacted>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
---
drivers/net/ethernet/intel/igc/igc_ptp.c | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
@@ -768,7 +768,20 @@ int igc_ptp_get_ts_config(struct net_device *netdev, struct ifreq *ifr)*/staticbooligc_is_crosststamp_supported(structigc_adapter*adapter){-returnIS_ENABLED(CONFIG_X86_TSC)?pcie_ptm_enabled(adapter->pdev):false;+if(!IS_ENABLED(CONFIG_X86_TSC))+returnfalse;++/* FIXME: it was noticed that enabling support for PCIe PTM in+*somei225-Vmodelscouldcauselockupswhenbringingthe+*interfaceup/down.Thereshouldbenodownsidesto+*disablingcrosstimestampingsupportfori225-V,asit+*doesn'thaveanyPTPsupport.Thatwaywegainsometime+*whilerootcausingtheissue.+*/+if(adapter->pdev->device==IGC_DEV_ID_I225_V)+returnfalse;++returnpcie_ptm_enabled(adapter->pdev);}staticstructsystem_counterval_tigc_device_tstamp_to_system(u64tstamp)
From: Tony Nguyen <anthony.l.nguyen@intel.com> Date: 2021-12-28 18:25:09
From: James McLaughlin <redacted>
Time synchronization was not properly enabled on non-MSI-X platforms.
Fixes: 2c344ae24501 ("igc: Add support for TX timestamping")
Signed-off-by: James McLaughlin <redacted>
Reviewed-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
Tested-by: Nechama Kraus <redacted>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
---
drivers/net/ethernet/intel/igc/igc_main.c | 6 ++++++
1 file changed, 6 insertions(+)
Hello:
This series was applied to netdev/net.git (master)
by Tony Nguyen [off-list ref]:
On Tue, 28 Dec 2021 10:24:19 -0800 you wrote:
This series contains updates to igc driver only.
Vinicius disables support for crosstimestamp on i225-V as lockups are being
observed.
James McLaughlin fixes Tx timestamping support on non-MSI-X platforms.
[...]