[PATCH net] stmmac: intel: Configure EHL PSE0 GbE and PSE1 GbE to 32 bits DMA addressing

2021-01-26 Thread mohammad . athari . ismail
From: Voon Weifeng Fix an issue where dump stack is printed and Reset Adapter occurs when PSE0 GbE or/and PSE1 GbE is/are enabled. EHL PSE0 GbE and PSE1 GbE use 32 bits DMA addressing whereas EHL PCH GbE uses 64 bits DMA addressing. [ 25.535095] [ cut here ] [ 25.5402

[RFC net-next] net: stmmac: support FPE link partner hand-shaking procedure

2021-03-09 Thread mohammad . athari . ismail
From: Ong Boon Leong In order to discover whether remote station supports frame preemption, local station sends verify mPacket and expects response mPacket in return from the remote station. So, we add the functions to send and handle event when verify mPacket and response mPacket are exchanged

[PATCH net-next 0/2] net: stmmac: EST interrupts and ethtool

2021-03-15 Thread mohammad . athari . ismail
From: Mohammad Athari Bin Ismail This patchset adds support for handling EST interrupts and reporting EST errors. Additionally, the errors are added into ethtool statistic. Ong Boon Leong (1): net: stmmac: Add EST errors into ethtool statistic Voon Weifeng (1): net: stmmac: EST interrupts

[PATCH net-next 1/2] net: stmmac: EST interrupts handling and error reporting

2021-03-15 Thread mohammad . athari . ismail
From: Voon Weifeng Enabled EST related interrupts as below: 1) Constant Gate Control Error (CGCE) 2) Head-of-Line Blocking due to Scheduling (HLBS) 3) Head-of-Line Blocking due to Frame Size (HLBF). 4) Base Time Register error (BTRE) 5) Switch to S/W owned list Complete (SWLC) For HLBS, the user

[PATCH net-next 2/2] net: stmmac: Add EST errors into ethtool statistic

2021-03-15 Thread mohammad . athari . ismail
From: Ong Boon Leong Below EST errors are added into ethtool statistic: 1) Constant Gate Control Error (CGCE): The counter "mtl_est_cgce" increases everytime CGCE interrupt is triggered. 2) Head-of-Line Blocking due to Scheduling (HLBS): The counter "mtl_est_hlbs" increases everytime HL

[PATCH net-next 0/2] net: stmmac: EST interrupts and ethtool

2021-03-17 Thread mohammad . athari . ismail
From: Mohammad Athari Bin Ismail This patchset adds support for handling EST interrupts and reporting EST errors. Additionally, the errors are added into ethtool statistic. Ong Boon Leong (1): net: stmmac: Add EST errors into ethtool statistic Voon Weifeng (1): net: stmmac: EST interrupts h

[PATCH net-next v2 1/2] net: stmmac: EST interrupts handling and error reporting

2021-03-17 Thread mohammad . athari . ismail
From: Voon Weifeng Enabled EST related interrupts as below: 1) Constant Gate Control Error (CGCE) 2) Head-of-Line Blocking due to Scheduling (HLBS) 3) Head-of-Line Blocking due to Frame Size (HLBF). 4) Base Time Register error (BTRE) 5) Switch to S/W owned list Complete (SWLC) For HLBS, the user

[PATCH net-next 2/2] net: stmmac: Add EST errors into ethtool statistic

2021-03-17 Thread mohammad . athari . ismail
From: Ong Boon Leong Below EST errors are added into ethtool statistic: 1) Constant Gate Control Error (CGCE): The counter "mtl_est_cgce" increases everytime CGCE interrupt is triggered. 2) Head-of-Line Blocking due to Scheduling (HLBS): The counter "mtl_est_hlbs" increases everytime HL

[PATCH net-next] net: stmmac: support FPE link partner hand-shaking procedure

2021-03-24 Thread mohammad . athari . ismail
From: Ong Boon Leong In order to discover whether remote station supports frame preemption, local station sends verify mPacket and expects response mPacket in return from the remote station. So, we add the functions to send and handle event when verify mPacket and response mPacket are exchanged

[PATCH net-next] net: stmmac: Fix kernel panic due to NULL pointer dereference of fpe_cfg

2021-03-26 Thread mohammad . athari . ismail
From: Mohammad Athari Bin Ismail In this patch, "net: stmmac: support FPE link partner hand-shaking procedure", priv->plat->fpe_cfg wouldn`t be "devm_kzalloc"ed if dma_cap->frpsel is 0 (Flexible Rx Parser is not supported in SoC) in tc_init(). So, fpe_cfg will be remain as NULL and accessing it w