[Intel-wired-lan] [PATCH net 1/1] igc: Fix double reset adapter triggered from a single taprio cmd

2024-06-25 Thread Faizal Rahim
oad_apply(). Fixes: d3750076d464 ("igc: Add TransmissionOverrun counter") Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc_main.c | 33 --- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/drivers/net/ethernet/intel/igc/igc_main.c

[Intel-wired-lan] [PATCH iwl-net v1 1/1] igc: Fix packet still tx after gate close by reducing i226 MAC retry buffer

2024-07-01 Thread Faizal Rahim
k log on Board B - Observed that the total time from the first to the last packet received during one cycle for TC3 does not exceed 500us Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc_defines.h | 6 drivers/net/ethernet/intel/igc/igc_tsn.c | 34 ++

[Intel-wired-lan] [PATCH iwl-net v1 0/4] igc bug fixes related to qbv_count usage

2024-07-01 Thread Faizal Rahim
using the qbv_count field. 2. The patch "igc: Fix qbv tx latency by setting gtxoffset" reuse the function igc_tsn_will_tx_mode_change() created in the patch: "igc: Fix reset adapter logics when tx mode change" Faizal Rahim (4): igc: Fix qbv_config_change_errors l

[Intel-wired-lan] [PATCH iwl-net v1 1/4] igc: Fix qbv_config_change_errors logics

2024-07-01 Thread Faizal Rahim
g_change_errors counter") Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc_main.c | 8 ++-- drivers/net/ethernet/intel/igc/igc_tsn.c | 19 +++ drivers/net/ethernet/intel/igc/igc_tsn.h | 1 + 3 files changed, 18 insertions(+), 10 deletions(-) diff

[Intel-wired-lan] [PATCH iwl-net v1 2/4] igc: Fix reset adapter logics when tx mode change

2024-07-01 Thread Faizal Rahim
rved (tx mode change tsn->legacy) 2. Tested scenario from "igc: Fix TX Hang issue when QBV Gate is closed" to confirm it remains resolved. Fixes: 175c241288c0 ("igc: Fix TX Hang issue when QBV Gate is closed") Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/

[Intel-wired-lan] [PATCH iwl-net v1 3/4] igc: Remove unused qbv_count

2024-07-01 Thread Faizal Rahim
T_MODE_TSN). This is due to its unconditional increment within igc_tsn_enable_offload(), which both runs Taprio and sets the tx mode to TSN. Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc.h | 1 - drivers/net/ethernet/intel/igc/igc_main.c | 1 - drivers/net/ethernet/inte

[Intel-wired-lan] [PATCH iwl-net v1 4/4] igc: Fix qbv tx latency by setting gtxoffset

2024-07-01 Thread Faizal Rahim
n talker to send packets to listener 4. Check the timestamp on listener via wireshark Test Result: 100 Mbps: 113 ~193 ns 1000 Mbps: 52 ~ 84 ns 2500 Mbps: 95 ~ 223 ns Note that the test result is similar to the patch "igc: Correct the launchtime offset". Fixes: 790835fcc0cb ("

[Intel-wired-lan] [PATCH iwl-net v2 1/1] igc: Fix packet still tx after gate close by reducing i226 MAC retry buffer

2024-07-06 Thread Faizal Rahim
le for TC3 does not exceed 500us. Signed-off-by: Faizal Rahim --- v1: https://patchwork.kernel.org/project/netdevbpf/patch/20240701100058.3301229-1-faizal.abdul.ra...@linux.intel.com/ Changelog: v1 -> v2 - Update commit description (Paul). - Rename qbvfullth -> qbvfullthreshold (Paul).

[Intel-wired-lan] [PATCH iwl-net v2 0/3] igc bug fixes related to qbv_count usage

2024-07-07 Thread Faizal Rahim
rom this series which is targeting to iwl-net. This patch will be sent to iwl-next. (Simon) Faizal Rahim (3): igc: Fix qbv_config_change_errors logics igc: Fix reset adapter logics when tx mode change igc: Fix qbv tx latency by setting gtxoffset drivers/net/ethernet/intel/igc/igc_main.c

[Intel-wired-lan] [PATCH iwl-net v2 1/3] igc: Fix qbv_config_change_errors logics

2024-07-07 Thread Faizal Rahim
g_change_errors counter") Signed-off-by: Faizal Rahim Reviewed-by: Simon Horman --- drivers/net/ethernet/intel/igc/igc_main.c | 8 ++-- drivers/net/ethernet/intel/igc/igc_tsn.c | 16 drivers/net/ethernet/intel/igc/igc_tsn.h | 1 + 3 files changed, 15 insertions(+), 1

[Intel-wired-lan] [PATCH iwl-net v2 2/3] igc: Fix reset adapter logics when tx mode change

2024-07-07 Thread Faizal Rahim
rved (tx mode change tsn->legacy) 2. Tested scenario from "igc: Fix TX Hang issue when QBV Gate is closed" to confirm it remains resolved. Fixes: 175c241288c0 ("igc: Fix TX Hang issue when QBV Gate is closed") Signed-off-by: Faizal Rahim Reviewed-by: Simon Hor

[Intel-wired-lan] [PATCH iwl-net v2 3/3] igc: Fix qbv tx latency by setting gtxoffset

2024-07-07 Thread Faizal Rahim
n talker to send packets to listener 4. Check the timestamp on listener via wireshark Test Result: 100 Mbps: 113 ~193 ns 1000 Mbps: 52 ~ 84 ns 2500 Mbps: 95 ~ 223 ns Note that the test result is similar to the patch "igc: Correct the launchtime offset". Fixes: 790835fcc0cb ("igc: Corr

[Intel-wired-lan] [PATCH iwl-next v2 3/9] igc: Optimize the TX packet buffer utilization

2025-02-05 Thread Faizal Rahim
Packet buffers (RX + TX) total 64KB. Neither RX or TX buffers can be larger than 34KB. So divide the buffer equally, 32KB for each. Co-developed-by: Vinicius Costa Gomes Signed-off-by: Vinicius Costa Gomes Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc_defines.h | 3 ++- 1

[Intel-wired-lan] [PATCH iwl-next v2 2/9] igc: Rename xdp_get_tx_ring() for non-xdp usage

2025-02-05 Thread Faizal Rahim
Renamed xdp_get_tx_ring() function to a more generic name for use in upcoming frame preemption patches. Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc.h | 2 +- drivers/net/ethernet/intel/igc/igc_main.c | 10 +- 2 files changed, 6 insertions(+), 6 deletions

[Intel-wired-lan] [PATCH iwl-next v2 1/9] net: ethtool: mm: extract stmmac verification logic into common library

2025-02-05 Thread Faizal Rahim
Co-developed-by: Choong Yong Liang Signed-off-by: Choong Yong Liang Co-developed-by: Faizal Rahim Signed-off-by: Faizal Rahim Tested-by: Choong Yong Liang --- drivers/net/ethernet/stmicro/stmmac/stmmac.h | 16 +- .../ethernet/stmicro/stmmac/stmmac_ethtool.c | 41 +--- .../net/ethernet/st

[Intel-wired-lan] [PATCH iwl-next v2 0/9] igc: Add support for Frame Preemption feature in IGC

2025-02-05 Thread Faizal Rahim
(Vladimir) v1: https://patchwork.kernel.org/project/netdevbpf/cover/20241216064720.931522-1-faizal.abdul.ra...@linux.intel.com/ Faizal Rahim (8): igc: Rename xdp_get_tx_ring() for non-xdp usage igc: Optimize the TX packet buffer utilization igc: Set the RX packet buffer size for TSN mode igc: Add suppo

[Intel-wired-lan] [PATCH iwl-next v2 8/9] igc: Add support to get MAC Merge data via ethtool

2025-02-05 Thread Faizal Rahim
128 Max verify time: 128 Verification status: SUCCEEDED Verified that the fields value are retrieved correctly. Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc_ethtool.c | 14 ++ drivers/net/ethernet/intel/igc/igc_tsn.h | 1 + 2 files changed, 15 insertion

[Intel-wired-lan] [PATCH iwl-next v2 5/9] igc: Add support for frame preemption verification

2025-02-05 Thread Faizal Rahim
veloped-by: Choong Yong Liang Signed-off-by: Choong Yong Liang Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc.h | 12 +- drivers/net/ethernet/intel/igc/igc_defines.h | 10 +- drivers/net/ethernet/intel/igc/igc_ethtool.c | 19 +++ drivers/net/ethernet/intel/igc/

[Intel-wired-lan] [PATCH iwl-next v2 6/9] igc: Add support to set tx-min-frag-size

2025-02-05 Thread Faizal Rahim
Add support to set tx-min-frag-size via set_mm callback in igc. Increase the max limit of tx-ming-frag-size in ethtool from 252 to 256 since i225/6 value range is 64, 128, 192 and 256. Co-developed-by: Vinicius Costa Gomes Signed-off-by: Vinicius Costa Gomes Signed-off-by: Faizal Rahim

[Intel-wired-lan] [PATCH iwl-next v2 4/9] igc: Set the RX packet buffer size for TSN mode

2025-02-05 Thread Faizal Rahim
Gomes Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc_defines.h | 3 +++ drivers/net/ethernet/intel/igc/igc_tsn.c | 13 +++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/intel/igc/igc_defines.h b/drivers/net/ethernet/intel/igc

[Intel-wired-lan] [PATCH iwl-next v2 9/9] igc: Add support to get frame preemption statistics via ethtool

2025-02-05 Thread Faizal Rahim
orCount: 0 MACMergeFrameSmdErrorCount: 0 MACMergeFrameAssOkCount: 511 MACMergeFragCountRx: 764 MACMergeFragCountTx: 0 MACMergeHoldCount: 0 Co-developed-by: Vinicius Costa Gomes Signed-off-by: Vinicius Costa Gomes Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc

[Intel-wired-lan] [PATCH iwl-next v2 7/9] igc: Add support for preemptible traffic class in taprio

2025-02-05 Thread Faizal Rahim
2 queues 2@0 1@2 1@3 fp E E P Co-developed-by: Vinicius Costa Gomes Signed-off-by: Vinicius Costa Gomes Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc.h | 2 +- drivers/net/ethernet/intel/igc/igc_defines.h | 1 + drivers/net/ethernet/intel/igc/igc_main.c

[Intel-wired-lan] [PATCH iwl-next v4 1/9] net: ethtool: mm: extract stmmac verification logic into common library

2025-02-09 Thread Faizal Rahim
Co-developed-by: Choong Yong Liang Signed-off-by: Choong Yong Liang Co-developed-by: Faizal Rahim Signed-off-by: Faizal Rahim Tested-by: Choong Yong Liang --- drivers/net/ethernet/stmicro/stmmac/stmmac.h | 16 +- .../ethernet/stmicro/stmmac/stmmac_ethtool.c | 41 +--- .../net/ethernet/st

[Intel-wired-lan] [PATCH iwl-next v4 0/9] igc: Add support for Frame Preemption feature in IGC

2025-02-09 Thread Faizal Rahim
rnel.org/project/netdevbpf/cover/20250207165649.2245320-1-faizal.abdul.ra...@linux.intel.com/ Faizal Rahim (8): igc: Rename xdp_get_tx_ring() for non-xdp usage igc: Optimize the TX packet buffer utilization igc: Set the RX packet buffer size for TSN mode igc: Add support for frame preemption ve

[Intel-wired-lan] [PATCH iwl-next v4 5/9] igc: Add support for frame preemption verification

2025-02-09 Thread Faizal Rahim
msv.pmac_enabled to track whether FPE is enabled or disabled. Co-developed-by: Vinicius Costa Gomes Signed-off-by: Vinicius Costa Gomes Co-developed-by: Choong Yong Liang Signed-off-by: Choong Yong Liang Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc.h | 12

[Intel-wired-lan] [PATCH iwl-next v4 8/9] igc: Add support to get MAC Merge data via ethtool

2025-02-09 Thread Faizal Rahim
128 Max verify time: 128 Verification status: SUCCEEDED Verified that the fields value are retrieved correctly. Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc_ethtool.c | 14 ++ drivers/net/ethernet/intel/igc/igc_tsn.h | 1 + 2 files changed, 15 insertion

[Intel-wired-lan] [PATCH iwl-next v4 9/9] igc: Add support to get frame preemption statistics via ethtool

2025-02-09 Thread Faizal Rahim
orCount: 0 MACMergeFrameSmdErrorCount: 0 MACMergeFrameAssOkCount: 511 MACMergeFragCountRx: 764 MACMergeFragCountTx: 0 MACMergeHoldCount: 0 Co-developed-by: Vinicius Costa Gomes Signed-off-by: Vinicius Costa Gomes Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc

[Intel-wired-lan] [PATCH iwl-next v4 6/9] igc: Add support to set tx-min-frag-size

2025-02-09 Thread Faizal Rahim
Add support to set tx-min-frag-size via set_mm callback in igc. Increase the max limit of tx-ming-frag-size in ethtool from 252 to 256 since i225/6 value range is 64, 128, 192 and 256. Co-developed-by: Vinicius Costa Gomes Signed-off-by: Vinicius Costa Gomes Signed-off-by: Faizal Rahim

[Intel-wired-lan] [PATCH iwl-next v4 7/9] igc: Add support for preemptible traffic class in taprio

2025-02-09 Thread Faizal Rahim
2 2 2 2 2 2 2 2 2 2 queues 2@0 1@2 1@3 fp E E P Co-developed-by: Vinicius Costa Gomes Signed-off-by: Vinicius Costa Gomes Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc.h | 3 +- drivers/net/ethernet/intel/igc/igc_defines.h | 1 + drivers/net/ethernet

[Intel-wired-lan] [PATCH iwl-next v4 4/9] igc: Set the RX packet buffer size for TSN mode

2025-02-09 Thread Faizal Rahim
Gomes Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc_defines.h | 3 +++ drivers/net/ethernet/intel/igc/igc_tsn.c | 13 +++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/intel/igc/igc_defines.h b/drivers/net/ethernet/intel/igc

[Intel-wired-lan] [PATCH iwl-next v4 2/9] igc: Rename xdp_get_tx_ring() for non-xdp usage

2025-02-09 Thread Faizal Rahim
Renamed xdp_get_tx_ring() function to a more generic name for use in upcoming frame preemption patches. Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc.h | 2 +- drivers/net/ethernet/intel/igc/igc_main.c | 10 +- 2 files changed, 6 insertions(+), 6 deletions

[Intel-wired-lan] [PATCH iwl-next v4 3/9] igc: Optimize the TX packet buffer utilization

2025-02-09 Thread Faizal Rahim
Packet buffers (RX + TX) total 64KB. Neither RX or TX buffers can be larger than 34KB. So divide the buffer equally, 32KB for each. Co-developed-by: Vinicius Costa Gomes Signed-off-by: Vinicius Costa Gomes Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc_defines.h | 3 ++- 1

[Intel-wired-lan] [PATCH iwl-next v3 2/9] igc: Rename xdp_get_tx_ring() for non-xdp usage

2025-02-07 Thread Faizal Rahim
Renamed xdp_get_tx_ring() function to a more generic name for use in upcoming frame preemption patches. Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc.h | 2 +- drivers/net/ethernet/intel/igc/igc_main.c | 10 +- 2 files changed, 6 insertions(+), 6 deletions

[Intel-wired-lan] [PATCH iwl-next v3 1/9] net: ethtool: mm: extract stmmac verification logic into common library

2025-02-07 Thread Faizal Rahim
Co-developed-by: Choong Yong Liang Signed-off-by: Choong Yong Liang Co-developed-by: Faizal Rahim Signed-off-by: Faizal Rahim Tested-by: Choong Yong Liang --- drivers/net/ethernet/stmicro/stmmac/stmmac.h | 16 +- .../ethernet/stmicro/stmmac/stmmac_ethtool.c | 41 +--- .../net/ethernet/st

[Intel-wired-lan] [PATCH iwl-next v3 5/9] igc: Add support for frame preemption verification

2025-02-07 Thread Faizal Rahim
msv.pmac_enabled to track whether FPE is enabled or disabled. Co-developed-by: Vinicius Costa Gomes Signed-off-by: Vinicius Costa Gomes Co-developed-by: Choong Yong Liang Signed-off-by: Choong Yong Liang Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc.h | 12

[Intel-wired-lan] [PATCH iwl-next v3 3/9] igc: Optimize the TX packet buffer utilization

2025-02-07 Thread Faizal Rahim
Packet buffers (RX + TX) total 64KB. Neither RX or TX buffers can be larger than 34KB. So divide the buffer equally, 32KB for each. Co-developed-by: Vinicius Costa Gomes Signed-off-by: Vinicius Costa Gomes Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc_defines.h | 3 ++- 1

[Intel-wired-lan] [PATCH iwl-next v3 4/9] igc: Set the RX packet buffer size for TSN mode

2025-02-07 Thread Faizal Rahim
Gomes Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc_defines.h | 3 +++ drivers/net/ethernet/intel/igc/igc_tsn.c | 13 +++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/intel/igc/igc_defines.h b/drivers/net/ethernet/intel/igc

[Intel-wired-lan] [PATCH iwl-next v3 0/9] igc: Add support for Frame Preemption feature in IGC

2025-02-07 Thread Faizal Rahim
l.org/project/netdevbpf/cover/20241216064720.931522-1-faizal.abdul.ra...@linux.intel.com/ v2: https://patchwork.kernel.org/project/netdevbpf/cover/20250205100524.1138523-1-faizal.abdul.ra...@linux.intel.com/ Faizal Rahim (8): igc: Rename xdp_get_tx_ring() for non-xdp usage igc: Optimize the TX packet buff

[Intel-wired-lan] [PATCH iwl-next v3 7/9] igc: Add support for preemptible traffic class in taprio

2025-02-07 Thread Faizal Rahim
2 2 2 2 2 2 2 2 2 2 queues 2@0 1@2 1@3 fp E E P Co-developed-by: Vinicius Costa Gomes Signed-off-by: Vinicius Costa Gomes Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc.h | 3 +- drivers/net/ethernet/intel/igc/igc_defines.h | 1 + drivers/net/ethernet

[Intel-wired-lan] [PATCH iwl-next v3 6/9] igc: Add support to set tx-min-frag-size

2025-02-07 Thread Faizal Rahim
Add support to set tx-min-frag-size via set_mm callback in igc. Increase the max limit of tx-ming-frag-size in ethtool from 252 to 256 since i225/6 value range is 64, 128, 192 and 256. Co-developed-by: Vinicius Costa Gomes Signed-off-by: Vinicius Costa Gomes Signed-off-by: Faizal Rahim

[Intel-wired-lan] [PATCH iwl-next v3 8/9] igc: Add support to get MAC Merge data via ethtool

2025-02-07 Thread Faizal Rahim
128 Max verify time: 128 Verification status: SUCCEEDED Verified that the fields value are retrieved correctly. Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc_ethtool.c | 14 ++ drivers/net/ethernet/intel/igc/igc_tsn.h | 1 + 2 files changed, 15 insertion

[Intel-wired-lan] [PATCH iwl-next v3 9/9] igc: Add support to get frame preemption statistics via ethtool

2025-02-07 Thread Faizal Rahim
orCount: 0 MACMergeFrameSmdErrorCount: 0 MACMergeFrameAssOkCount: 511 MACMergeFragCountRx: 764 MACMergeFragCountTx: 0 MACMergeHoldCount: 0 Co-developed-by: Vinicius Costa Gomes Signed-off-by: Vinicius Costa Gomes Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc

[Intel-wired-lan] [PATCH iwl-next 7/9] igc: Add support for preemptible traffic class in taprio

2024-12-15 Thread Faizal Rahim
@0 1@2 1@3 fp E P P Co-developed-by: Vinicius Costa Gomes Signed-off-by: Vinicius Costa Gomes Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc.h | 2 +- drivers/net/ethernet/intel/igc/igc_defines.h | 1 + drivers/net/ethernet/intel/igc/igc_main

[Intel-wired-lan] [PATCH iwl-next 8/9] igc: Add support to get MAC Merge data via ethtool

2024-12-15 Thread Faizal Rahim
128 Max verify time: 128 Verification status: SUCCEEDED Verified that the fields value are retrieved correctly. Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc.h | 2 +- drivers/net/ethernet/intel/igc/igc_ethtool.c | 20 drivers/net/ethernet/intel/igc

[Intel-wired-lan] [PATCH iwl-next 4/9] igc: Add support for receiving frames with all zeroes address

2024-12-15 Thread Faizal Rahim
Signed-off-by: Vinicius Costa Gomes Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc.h | 1 + drivers/net/ethernet/intel/igc/igc_main.c | 17 + drivers/net/ethernet/intel/igc/igc_tsn.c | 2 ++ 3 files changed, 20 insertions(+) diff --git a/drivers/ne

[Intel-wired-lan] [PATCH iwl-next 5/9] igc: Add support to set MAC Merge data via ethtool

2024-12-15 Thread Faizal Rahim
procedure and managing preemption capability in transmit direction. At this point, verify response handshake is not enabled yet. Co-developed-by: Vinicius Costa Gomes Signed-off-by: Vinicius Costa Gomes Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc.h | 24 +

[Intel-wired-lan] [PATCH iwl-next 6/9] igc: Add support for frame preemption verification

2024-12-15 Thread Faizal Rahim
loped-by: Vinicius Costa Gomes Signed-off-by: Vinicius Costa Gomes Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc.h | 16 ++ drivers/net/ethernet/intel/igc/igc_defines.h | 6 + drivers/net/ethernet/intel/igc/igc_ethtool.c | 8 +- drivers/net/ethernet/intel/igc

[Intel-wired-lan] [PATCH iwl-next 0/9] igc: Add support for Frame Preemption feature in IGC

2024-12-15 Thread Faizal Rahim
fload. Faizal Rahim (6): igc: Rename xdp_get_tx_ring() for non-xdp usage igc: Add support to set MAC Merge data via ethtool igc: Add support for frame preemption verification igc: Add support for preemptible traffic class in taprio igc: Add support to get MAC Merge data via ethtool igc: Add su

[Intel-wired-lan] [PATCH iwl-next 1/9] igc: Rename xdp_get_tx_ring() for non-xdp usage

2024-12-15 Thread Faizal Rahim
Renamed xdp_get_tx_ring() function to a more generic name for use in upcoming frame preemption patches. Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc.h | 2 +- drivers/net/ethernet/intel/igc/igc_main.c | 10 +- 2 files changed, 6 insertions(+), 6 deletions

[Intel-wired-lan] [PATCH iwl-next 2/9] igc: Optimize the TX packet buffer utilization

2024-12-15 Thread Faizal Rahim
From: Vinicius Costa Gomes Packet buffers (RX + TX) total 64KB. Neither RX or TX buffers can be larger than 34KB. So divide the buffer equally, 32KB for each. Signed-off-by: Vinicius Costa Gomes Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc_defines.h | 2 +- 1 file

[Intel-wired-lan] [PATCH iwl-next 3/9] igc: Set the RX packet buffer size for TSN mode

2024-12-15 Thread Faizal Rahim
-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc_defines.h | 3 +++ drivers/net/ethernet/intel/igc/igc_tsn.c | 13 +++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/intel/igc/igc_defines.h b/drivers/net/ethernet/intel/igc

[Intel-wired-lan] [PATCH iwl-next 9/9] igc: Add support to get frame preemption statistics via ethtool

2024-12-15 Thread Faizal Rahim
orCount: 0 MACMergeFrameSmdErrorCount: 0 MACMergeFrameAssOkCount: 511 MACMergeFragCountRx: 764 MACMergeFragCountTx: 0 MACMergeHoldCount: 0 Co-developed-by: Vinicius Costa Gomes Signed-off-by: Vinicius Costa Gomes Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc

[Intel-wired-lan] [PATCH iwl-next v10 00/14] igc: Add support for Frame Preemption feature in IGC

2025-03-17 Thread Faizal Rahim
v8: https://patchwork.kernel.org/project/netdevbpf/cover/20250305130026.642219-1-faizal.abdul.ra...@linux.intel.com/ v9: https://patchwork.kernel.org/project/netdevbpf/cover/20250309104648.3895551-1-faizal.abdul.ra...@linux.intel.com/ Faizal Rahim (13): net: stmmac: move frag_size handling out of s

[Intel-wired-lan] [PATCH iwl-next v10 04/14] igc: rename xdp_get_tx_ring() for non-xdp usage

2025-03-17 Thread Faizal Rahim
Renamed xdp_get_tx_ring() function to a more generic name for use in upcoming frame preemption patches. Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc.h | 2 +- drivers/net/ethernet/intel/igc/igc_main.c | 9 - 2 files changed, 5 insertions(+), 6 deletions

[Intel-wired-lan] [PATCH iwl-next v10 12/14] igc: block setting preemptible traffic class in taprio

2025-03-17 Thread Faizal Rahim
Since preemptible tc implementation is not ready yet, block it from being set in taprio. The existing code already blocks it in mqprio. Reviewed-by: Vladimir Oltean Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc_main.c | 4 1 file changed, 4 insertions(+) diff --git a

[Intel-wired-lan] [PATCH iwl-next v10 05/14] igc: rename I225_RXPBSIZE_DEFAULT and I225_TXPBSIZE_DEFAULT

2025-03-17 Thread Faizal Rahim
conventions. Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc_defines.h | 7 --- drivers/net/ethernet/intel/igc/igc_main.c| 4 ++-- drivers/net/ethernet/intel/igc/igc_tsn.c | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/net/ethernet

[Intel-wired-lan] [PATCH iwl-next v10 08/14] igc: use FIELD_PREP and GENMASK for existing RX packet buffer size

2025-03-17 Thread Faizal Rahim
IGC_RXPBSIZE_EXP_BMC_DEFAULT. The newly introduced macros follow the naming from the i226 SW User Manual for easy reference. I've tested IGC_RXPBSIZE_EXP_BMC_DEFAULT and IGC_RXPBS_CFG_TS_EN before and after the refactoring, and their values remain unchanged. Reviewed-by: Vladimir Oltean Signed-off-by: F

[Intel-wired-lan] [PATCH iwl-next v10 11/14] igc: add support to set tx-min-frag-size

2025-03-17 Thread Faizal Rahim
Gomes Reviewed-by: Vladimir Oltean Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc.h | 1 + drivers/net/ethernet/intel/igc/igc_defines.h | 1 + drivers/net/ethernet/intel/igc/igc_ethtool.c | 5 +++ drivers/net/ethernet/intel/igc/igc_tsn.c | 38

[Intel-wired-lan] [PATCH iwl-next v10 14/14] igc: add support to get frame preemption statistics via ethtool

2025-03-17 Thread Faizal Rahim
: Vladimir Oltean Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc_ethtool.c | 40 drivers/net/ethernet/intel/igc/igc_regs.h| 16 2 files changed, 56 insertions(+) diff --git a/drivers/net/ethernet/intel/igc/igc_ethtool.c b/drivers/net/ethernet

[Intel-wired-lan] [PATCH iwl-next v10 01/14] net: stmmac: move frag_size handling out of spin_lock

2025-03-17 Thread Faizal Rahim
isting rtnl_lock() is sufficient. Move frag_size handling out of spin_lock_irq_save() to keep the upcoming patch a pure refactoring without behavior changes. Signed-off-by: Faizal Rahim Reviewed-by: Vladimir Oltean Reviewed-by: Furong Xu <0x1...@gmail.com> --- drivers/net/ethernet/st

[Intel-wired-lan] [PATCH iwl-next v10 03/14] net: ethtool: mm: reset verification status when link is down

2025-03-17 Thread Faizal Rahim
viewed-by: Vladimir Oltean Signed-off-by: Faizal Rahim --- net/ethtool/mm.c | 4 1 file changed, 4 insertions(+) diff --git a/net/ethtool/mm.c b/net/ethtool/mm.c index bfd988464d7d..ad9b40034003 100644 --- a/net/ethtool/mm.c +++ b/net/ethtool/mm.c @@ -415,6 +415,10 @@ void ethtool_mms

[Intel-wired-lan] [PATCH iwl-next v10 06/14] igc: use FIELD_PREP and GENMASK for existing TX packet buffer size

2025-03-17 Thread Faizal Rahim
easy reference. I've tested IGC_TXPBSIZE_TSN and IGC_TXPBSIZE_DEFAULT before and after the refactoring, and their values remain unchanged. Reviewed-by: Vladimir Oltean Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc_defines.h | 23 ++-- 1 file change

[Intel-wired-lan] [PATCH iwl-next v10 13/14] igc: add support to get MAC Merge data via ethtool

2025-03-17 Thread Faizal Rahim
128 Max verify time: 128 Verification status: SUCCEEDED Verified that the fields value are retrieved correctly. Reviewed-by: Vladimir Oltean Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc_ethtool.c | 14 ++ drivers/net/ethernet/intel/igc/igc_tsn.h | 1

[Intel-wired-lan] [PATCH iwl-next v10 10/14] igc: add support for frame preemption verification

2025-03-18 Thread Faizal Rahim
-by: Choong Yong Liang Signed-off-by: Choong Yong Liang Co-developed-by: Chwee-Lin Choong Signed-off-by: Chwee-Lin Choong Reviewed-by: Vladimir Oltean Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/Kconfig | 1 + drivers/net/ethernet/intel/igc/igc.h | 12

[Intel-wired-lan] [PATCH iwl-next v10 02/14] net: ethtool: mm: extract stmmac verification logic into common library

2025-03-18 Thread Faizal Rahim
Co-developed-by: Choong Yong Liang Signed-off-by: Choong Yong Liang Tested-by: Choong Yong Liang Tested-by: Furong Xu <0x1...@gmail.com> Reviewed-by: Vladimir Oltean Signed-off-by: Faizal Rahim --- drivers/net/ethernet/stmicro/stmmac/Kconfig | 1 + drivers/net/ethernet

[Intel-wired-lan] [PATCH iwl-next v10 09/14] igc: set the RX packet buffer size for TSN mode

2025-03-18 Thread Faizal Rahim
follow the naming from the i226 SW User Manual for easy reference. Co-developed-by: Vinicius Costa Gomes Signed-off-by: Vinicius Costa Gomes Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc_defines.h | 5 drivers/net/ethernet/intel/igc/igc_tsn.c | 25

[Intel-wired-lan] [PATCH iwl-next v10 07/14] igc: optimize TX packet buffer utilization for TSN mode

2025-04-05 Thread Faizal Rahim
28KB) and reserve 4KB for BMC. References: I225/I226 SW User Manual Section 4.7.9, Section 8.3.2 Co-developed-by: Vinicius Costa Gomes Signed-off-by: Vinicius Costa Gomes Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc_defines.h | 4 ++-- 1 file changed, 2 insertions(+), 2

[Intel-wired-lan] [PATCH iwl-next v1 0/8] igc: harmonize queue priority and add preemptible queue support

2025-04-27 Thread Faizal Rahim
Tx mode for MQPRIO offloading - igc: Limit netdev_tc calls to MQPRIO Chwee-Lin Choong (1): igc: SW pad preemptible frames for correct mCRC calculation Faizal Rahim (7): igc: move IGC_TXDCTL_QUEUE_ENABLE and IGC_TXDCTL_SWFLUSH igc: add TXDCTL prefix to related macros igc: refactor TXDCTL

[Intel-wired-lan] [PATCH iwl-next v1 3/8] igc: refactor TXDCTL macros to use FIELD_PREP and GEN_MASK

2025-04-27 Thread Faizal Rahim
Refactor TXDCTL macro handling to use FIELD_PREP and GENMASK macros. This prepares the code for adding a new TXDCTL priority field in an upcoming patch. Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc.h | 16 +++- drivers/net/ethernet/intel/igc/igc_main.c

[Intel-wired-lan] [PATCH iwl-next v1 1/8] igc: move IGC_TXDCTL_QUEUE_ENABLE and IGC_TXDCTL_SWFLUSH

2025-04-27 Thread Faizal Rahim
Consolidate TXDCTL-related macros for better organization and readability. Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc.h | 6 ++ drivers/net/ethernet/intel/igc/igc_base.h | 4 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/net

[Intel-wired-lan] [PATCH iwl-next v1 7/8] igc: add preemptible queue support in mqprio

2025-04-27 Thread Faizal Rahim
2 3 0 0 0 0 0 0 0 0 0 0 0 0 \ queues 1@0 1@1 1@2 1@3 \ fp P P P E Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc_main.c | 9 ++--- drivers/net/ethernet/intel/igc/igc_tsn.c | 9 + drivers/net/ethernet/intel/igc/igc_tsn.h | 1 + 3 files changed, 12 insertions

[Intel-wired-lan] [PATCH iwl-next v1 6/8] igc: add preemptible queue support in taprio

2025-04-27 Thread Faizal Rahim
0 0 \ queues 1@0 1@1 1@2 1@3 \ fp P P P E Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc.h | 5 ++ drivers/net/ethernet/intel/igc/igc_defines.h | 1 + drivers/net/ethernet/intel/igc/igc_main.c| 12 +++- drivers/net/ethernet/intel/igc/igc_tsn.c | 71

[Intel-wired-lan] [PATCH iwl-next v1 4/8] igc: assign highest TX queue number as highest priority in mqprio

2025-04-27 Thread Faizal Rahim
-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc_main.c | 19 drivers/net/ethernet/intel/igc/igc_tsn.c | 35 ++- 2 files changed, 41 insertions(+), 13 deletions(-) diff --git a/drivers/net/ethernet/intel/igc/igc_main.c b/drivers/net/ethernet/intel

[Intel-wired-lan] [PATCH iwl-next v1 5/8] igc: add private flag to reverse TX queue priority in TSN mode

2025-04-27 Thread Faizal Rahim
eue determines that there is no frame available for transmission." Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc.h | 1 + drivers/net/ethernet/intel/igc/igc_ethtool.c | 12 ++-- drivers/net/ethernet/intel/igc/igc_main.c| 3 ++- drivers/net/ethernet/intel/i

[Intel-wired-lan] [PATCH iwl-next v1 8/8] igc: SW pad preemptible frames for correct mCRC calculation

2025-04-27 Thread Faizal Rahim
using skb_padto() before transmission. This ensures that the hardware includes the padding bytes in the mCRC computation, producing a correct mCRC value. Signed-off-by: Chwee-Lin Choong Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc_main.c | 9 + 1 file changed, 9

[Intel-wired-lan] [PATCH iwl-next v1 2/8] igc: add TXDCTL prefix to related macros

2025-04-27 Thread Faizal Rahim
Rename macros to include the TXDCTL_ prefix for consistency and clarity. This aligns naming with the register they configure and improves code readability. Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc.h | 6 +++--- drivers/net/ethernet/intel/igc/igc_main.c | 6

[Intel-wired-lan] [PATCH iwl-next v7 5/9] igc: Add support for frame preemption verification

2025-03-03 Thread Faizal Rahim
d-off-by: Choong Yong Liang Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc.h | 12 +- drivers/net/ethernet/intel/igc/igc_base.h| 1 + drivers/net/ethernet/intel/igc/igc_defines.h | 8 +- drivers/net/ethernet/intel/igc/igc_ethtool.c | 21 +++ drivers/net/et

[Intel-wired-lan] [PATCH iwl-next v7 2/9] igc: Rename xdp_get_tx_ring() for non-xdp usage

2025-03-03 Thread Faizal Rahim
Renamed xdp_get_tx_ring() function to a more generic name for use in upcoming frame preemption patches. Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc.h | 2 +- drivers/net/ethernet/intel/igc/igc_main.c | 9 - 2 files changed, 5 insertions(+), 6 deletions

[Intel-wired-lan] [PATCH iwl-next v7 0/9] igc: Add support for Frame Preemption feature in IGC

2025-03-03 Thread Faizal Rahim
ux.intel.com/ v4: https://patchwork.kernel.org/project/netdevbpf/cover/20250210070207.2615418-1-faizal.abdul.ra...@linux.intel.com/ v5: https://patchwork.kernel.org/project/netdevbpf/cover/20250220025349.3007793-1-faizal.abdul.ra...@linux.intel.com/ v6: https://patchwork.kernel.org/project/netdevb

[Intel-wired-lan] [PATCH iwl-next v7 3/9] igc: Optimize the TX packet buffer utilization

2025-03-03 Thread Faizal Rahim
Packet buffers (RX + TX) total 64KB. Neither RX or TX buffers can be larger than 34KB. So divide the buffer equally, 32KB for each. Co-developed-by: Vinicius Costa Gomes Signed-off-by: Vinicius Costa Gomes Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc_defines.h | 3 ++- 1

[Intel-wired-lan] [PATCH iwl-next v7 6/9] igc: Add support to set tx-min-frag-size

2025-03-03 Thread Faizal Rahim
Add support to set tx-min-frag-size via set_mm callback in igc. Increase the max limit of tx-ming-frag-size in ethtool from 252 to 256 since i225/6 value range is 64, 128, 192 and 256. Co-developed-by: Vinicius Costa Gomes Signed-off-by: Vinicius Costa Gomes Signed-off-by: Faizal Rahim

[Intel-wired-lan] [PATCH iwl-next v7 8/9] igc: Add support to get MAC Merge data via ethtool

2025-03-03 Thread Faizal Rahim
128 Max verify time: 128 Verification status: SUCCEEDED Verified that the fields value are retrieved correctly. Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc_ethtool.c | 14 ++ drivers/net/ethernet/intel/igc/igc_tsn.h | 1 + 2 files changed, 15 insertion

[Intel-wired-lan] [PATCH iwl-next v7 4/9] igc: Set the RX packet buffer size for TSN mode

2025-03-03 Thread Faizal Rahim
Gomes Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc_defines.h | 3 +++ drivers/net/ethernet/intel/igc/igc_tsn.c | 13 +++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/intel/igc/igc_defines.h b/drivers/net/ethernet/intel/igc

[Intel-wired-lan] [PATCH iwl-next v7 9/9] igc: Add support to get frame preemption statistics via ethtool

2025-03-03 Thread Faizal Rahim
orCount: 0 MACMergeFrameSmdErrorCount: 0 MACMergeFrameAssOkCount: 511 MACMergeFragCountRx: 764 MACMergeFragCountTx: 0 MACMergeHoldCount: 0 Co-developed-by: Vinicius Costa Gomes Signed-off-by: Vinicius Costa Gomes Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc_etht

[Intel-wired-lan] [PATCH iwl-next v7 7/9] igc: Block setting preemptible traffic class in taprio

2025-03-03 Thread Faizal Rahim
Since preemptible tc implementation is not ready yet, block it from being set in taprio. The existing code already blocks it in mqprio. Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc_main.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/ethernet/intel

[Intel-wired-lan] [PATCH iwl-next v7 1/9] net: ethtool: mm: extract stmmac verification logic into common library

2025-03-03 Thread Faizal Rahim
Co-developed-by: Choong Yong Liang Signed-off-by: Choong Yong Liang Co-developed-by: Faizal Rahim Signed-off-by: Faizal Rahim Tested-by: Choong Yong Liang Tested-by: Furong Xu <0x1...@gmail.com> --- drivers/net/ethernet/stmicro/stmmac/stmmac.h | 16 +- .../ethernet/stmicro/stmmac/stmma

[Intel-wired-lan] [PATCH iwl-next v9 14/14] igc: add support to get frame preemption statistics via ethtool

2025-03-09 Thread Faizal Rahim
orCount: 0 MACMergeFrameSmdErrorCount: 0 MACMergeFrameAssOkCount: 511 MACMergeFragCountRx: 764 MACMergeFragCountTx: 0 MACMergeHoldCount: 0 Co-developed-by: Vinicius Costa Gomes Signed-off-by: Vinicius Costa Gomes Co-developed-by: Chwee-Lin Choong Signed-off-by: Chwee-Lin Choong Signed-off-

[Intel-wired-lan] [PATCH iwl-next v9 06/14] igc: use FIELD_PREP and GENMASK for existing TX packet buffer size

2025-03-09 Thread Faizal Rahim
easy reference. I've tested IGC_TXPBSIZE_TSN and IGC_TXPBSIZE_DEFAULT before and after the refactoring, and their values remain unchanged. Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc_defines.h | 23 ++-- 1 file changed, 21 insertions(+), 2 dele

[Intel-wired-lan] [PATCH iwl-next v9 03/14] net: ethtool: mm: reset verification status when link is down

2025-03-09 Thread Faizal Rahim
When the link partner goes down, "ethtool --show-mm" still displays "Verification status: SUCCEEDED," reflecting a previous state that is no longer valid. Reset the verification status to ensure it reflects the current state. Signed-off-by: Faizal Rahim --- net/ethtool/m

[Intel-wired-lan] [PATCH iwl-next v9 12/14] igc: block setting preemptible traffic class in taprio

2025-03-09 Thread Faizal Rahim
Since preemptible tc implementation is not ready yet, block it from being set in taprio. The existing code already blocks it in mqprio. Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc_main.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/ethernet/intel

[Intel-wired-lan] [PATCH iwl-next v9 05/14] igc: rename I225_RXPBSIZE_DEFAULT and I225_TXPBSIZE_DEFAULT

2025-03-09 Thread Faizal Rahim
conventions. Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc_defines.h | 7 --- drivers/net/ethernet/intel/igc/igc_main.c| 4 ++-- drivers/net/ethernet/intel/igc/igc_tsn.c | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/net/ethernet

[Intel-wired-lan] [PATCH iwl-next v9 02/14] net: ethtool: mm: extract stmmac verification logic into common library

2025-03-09 Thread Faizal Rahim
From: Vladimir Oltean It appears that stmmac is not the only hardware which requires a software-driven verification state machine for the MAC Merge layer. While on the one hand it's good to encourage hardware implementations, on the other hand it's quite difficult to tolerate multiple drivers im

[Intel-wired-lan] [PATCH iwl-next v9 10/14] igc: add support for frame preemption verification

2025-03-09 Thread Faizal Rahim
-by: Choong Yong Liang Signed-off-by: Choong Yong Liang Co-developed-by: Chwee-Lin Choong Signed-off-by: Chwee-Lin Choong Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc.h | 12 +- drivers/net/ethernet/intel/igc/igc_base.h| 1 + drivers/net/ethernet/intel/i

[Intel-wired-lan] [PATCH iwl-next v9 00/14] igc: Add support for Frame Preemption feature in IGC

2025-03-09 Thread Faizal Rahim
k.kernel.org/project/netdevbpf/cover/20250227140158.2129988-1-faizal.abdul.ra...@linux.intel.com/ v7: https://patchwork.kernel.org/project/netdevbpf/cover/20250303102658.3580232-1-faizal.abdul.ra...@linux.intel.com/ v8: https://patchwork.kernel.org/project/netdevbpf/cover/20250305130026.642219-1-f

[Intel-wired-lan] [PATCH iwl-next v9 01/14] net: stmmac: move frag_size handling out of spin_lock

2025-03-09 Thread Faizal Rahim
isting rtnl_lock() is sufficient. Move frag_size handling out of spin_lock_irq_save() to keep the upcoming patch a pure refactoring without behavior changes. Signed-off-by: Faizal Rahim Reviewed-by: Vladimir Oltean Reviewed-by: Furong Xu <0x1...@gmail.com> --- drivers/net/ethernet/st

[Intel-wired-lan] [PATCH iwl-next v9 11/14] igc: add support to set tx-min-frag-size

2025-03-09 Thread Faizal Rahim
Gomes Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc.h | 1 + drivers/net/ethernet/intel/igc/igc_defines.h | 1 + drivers/net/ethernet/intel/igc/igc_ethtool.c | 5 +++ drivers/net/ethernet/intel/igc/igc_tsn.c | 38 ++-- drivers/net/ethernet/intel

[Intel-wired-lan] [PATCH iwl-next v9 08/14] igc: use FIELD_PREP and GENMASK for existing RX packet buffer size

2025-03-09 Thread Faizal Rahim
IGC_RXPBSIZE_EXP_BMC_DEFAULT. The newly introduced macros follow the naming from the i226 SW User Manual for easy reference. I've tested IGC_RXPBSIZE_EXP_BMC_DEFAULT and IGC_RXPBS_CFG_TS_EN before and after the refactoring, and their values remain unchanged. Signed-off-by: Faizal Rahim --- driver

[Intel-wired-lan] [PATCH iwl-next v9 04/14] igc: rename xdp_get_tx_ring() for non-xdp usage

2025-03-09 Thread Faizal Rahim
Renamed xdp_get_tx_ring() function to a more generic name for use in upcoming frame preemption patches. Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc.h | 2 +- drivers/net/ethernet/intel/igc/igc_main.c | 9 - 2 files changed, 5 insertions(+), 6 deletions

[Intel-wired-lan] [PATCH iwl-next v9 13/14] igc: add support to get MAC Merge data via ethtool

2025-03-09 Thread Faizal Rahim
128 Max verify time: 128 Verification status: SUCCEEDED Verified that the fields value are retrieved correctly. Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc_ethtool.c | 14 ++ drivers/net/ethernet/intel/igc/igc_tsn.h | 1 + 2 files changed, 15 insertion

[Intel-wired-lan] [PATCH iwl-next v9 07/14] igc: optimize TX packet buffer utilization for TSN mode

2025-03-09 Thread Faizal Rahim
28KB) and reserve 4KB for BMC. References: I225/I226 SW User Manual Section 4.7.9, Section 8.3.2 Co-developed-by: Vinicius Costa Gomes Signed-off-by: Vinicius Costa Gomes Signed-off-by: Faizal Rahim --- drivers/net/ethernet/intel/igc/igc_defines.h | 4 ++-- 1 file changed, 2 insertions(+), 2

  1   2   >