Re: [Intel-wired-lan] [PATCH net-next v6 2/5] net: napi: add CPU affinity to napi_config

2025-02-03 Thread Ahmed Zaki
On 2025-01-23 1:18 p.m., Joe Damato wrote: Sorry for the late reply. I was pulled into other stuff and next was closed anyway. On Fri, Jan 17, 2025 at 05:33:32PM -0700, Ahmed Zaki wrote: A common task for most drivers is to remember the user-set CPU affinity to its IRQs. On each netdev re

Re: [Intel-wired-lan] [PATCH bpf-next v7 3/5] net: stmmac: Add launch time support to XDP ZC

2025-02-03 Thread Choong Yong Liang
On 4/2/2025 8:49 am, Song Yoong Siang wrote: Enable launch time (Time-Based Scheduling) support for XDP zero copy via the XDP Tx metadata framework. This patch has been tested with tools/testing/selftests/bpf/xdp_hw_metadata on Intel Tiger Lake platform. Below are the test steps and result.

Re: [Intel-wired-lan] [PATCH iwl-next v4] ixgbe: Fix possible skb NULL pointer dereference

2025-02-03 Thread Tony Nguyen
On 1/31/2025 4:14 AM, Piotr Kwapulinski wrote: The commit c824125cbb18 ("ixgbe: Fix passing 0 to ERR_PTR in ixgbe_run_xdp()") stopped utilizing the ERR-like macros for xdp status encoding. Propagate this logic to the ixgbe_put_rx_buffer(). The commit also relaxed the skb NULL pointer check -

[Intel-wired-lan] [PATCH bpf-next v7 0/5] xsk: TX metadata Launch Time support

2025-02-03 Thread Song Yoong Siang
This series expands the XDP TX metadata framework to allow user applications to pass per packet 64-bit launch time directly to the kernel driver, requesting launch time hardware offload support. The XDP TX metadata framework will not perform any clock conversion or packet reordering. Please note t

[Intel-wired-lan] [PATCH bpf-next v7 1/5] xsk: Add launch time hardware offload support to XDP Tx metadata

2025-02-03 Thread Song Yoong Siang
Extend the XDP Tx metadata framework so that user can requests launch time hardware offload, where the Ethernet device will schedule the packet for transmission at a pre-determined time called launch time. The value of launch time is communicated from user space to Ethernet driver via launch_time f

[Intel-wired-lan] [PATCH bpf-next v7 3/5] net: stmmac: Add launch time support to XDP ZC

2025-02-03 Thread Song Yoong Siang
Enable launch time (Time-Based Scheduling) support for XDP zero copy via the XDP Tx metadata framework. This patch has been tested with tools/testing/selftests/bpf/xdp_hw_metadata on Intel Tiger Lake platform. Below are the test steps and result. Test 1: Send a single packet with the launch time

[Intel-wired-lan] [PATCH bpf-next v7 2/5] selftests/bpf: Add launch time request to xdp_hw_metadata

2025-02-03 Thread Song Yoong Siang
Add launch time hardware offload request to xdp_hw_metadata. Users can configure the delta of launch time relative to HW RX-time using the "-l" argument. By default, the delta is set to 0 ns, which means the launch time is disabled. By setting the delta to a non-zero value, the launch time hardware

[Intel-wired-lan] [PATCH bpf-next v7 5/5] igc: Add launch time support to XDP ZC

2025-02-03 Thread Song Yoong Siang
Enable Launch Time Control (LTC) support for XDP zero copy via XDP Tx metadata framework. This patch has been tested with tools/testing/selftests/bpf/xdp_hw_metadata on Intel I225-LM Ethernet controller. Below are the test steps and result. Test 1: Send a single packet with the launch time set to

[Intel-wired-lan] [PATCH bpf-next v7 4/5] igc: Refactor empty packet insertion into a reusable function

2025-02-03 Thread Song Yoong Siang
Refactor the code for inserting an empty packet into a new function igc_insert_empty_packet(). This change extracts the logic for inserting an empty packet from igc_xmit_frame_ring() into a separate function, allowing it to be reused in future implementations, such as the XDP zero copy transmit fun

Re: [Intel-wired-lan] [PATCH iwl-net] idpf: record rx queue in skb for RSC packets

2025-02-03 Thread Salin, Samuel
> -Original Message- > From: Intel-wired-lan On Behalf Of > Samudrala, Sridhar > Sent: Friday, January 10, 2025 4:30 PM > To: intel-wired-...@lists.osuosl.org; net...@vger.kernel.org > Cc: Samudrala, Sridhar ; Chittim, Madhu > > Subject: [Intel-wired-lan] [PATCH iwl-net] idpf: record r

Re: [Intel-wired-lan] [PATCH bpf-next v7 5/5] igc: Add launch time support to XDP ZC

2025-02-03 Thread Abdul Rahim, Faizal
On 4/2/2025 8:49 am, Song Yoong Siang wrote: Enable Launch Time Control (LTC) support for XDP zero copy via XDP Tx metadata framework. This patch has been tested with tools/testing/selftests/bpf/xdp_hw_metadata on Intel I225-LM Ethernet controller. Below are the test steps and result. Test 1

Re: [Intel-wired-lan] [PATCH bpf-next v7 4/5] igc: Refactor empty packet insertion into a reusable function

2025-02-03 Thread Abdul Rahim, Faizal
On 4/2/2025 8:49 am, Song Yoong Siang wrote: Refactor the code for inserting an empty packet into a new function igc_insert_empty_packet(). This change extracts the logic for inserting an empty packet from igc_xmit_frame_ring() into a separate function, allowing it to be reused in future imple

Re: [Intel-wired-lan] [PATCH] net: e1000e: convert to ndo_hwtstamp_get() and ndo_hwtstamp_set()

2025-02-03 Thread Paul Menzel
Dear Piotr, Thank you for your patch. Am 02.02.25 um 18:08 schrieb Piotr Wejman: Update the driver to the new hw timestamping API. Could you please elaborate. Maybe a pointer to the new API, and what commit added it, and what tests were done, and/or are needed? Signed-off-by: Piotr Wejma

[Intel-wired-lan] [PATCH iwl-next v1 06/13] ixgbe: add .info_get extension specific for E610 devices

2025-02-03 Thread Jedrzej Jagielski
E610 devices give possibility to show more detailed info than the previous boards. Extend reporting NVM info with following pieces: fw.mgmt.api -> version number of the API fw.mgmt.build -> identifier of the source for the FW fw.psid.api -> version defining the format of the flash contents fw.n

[Intel-wired-lan] [PATCH iwl-next v1 07/13] ixgbe: add E610 functions getting PBA and FW ver info

2025-02-03 Thread Jedrzej Jagielski
Introduce 2 E610 specific callbacks implementations: -ixgbe_start_hw_e610() which expands the regular .start_hw callback with getting FW version information -ixgbe_read_pba_string_e610() which gets Product Board Assembly string Extend EEPROM ops with new .read_pba_string in order to distinguish ge

[Intel-wired-lan] [PATCH iwl-next v1 04/13] ixgbe: read the OROM version information

2025-02-03 Thread Jedrzej Jagielski
From: Slawomir Mrozowicz Add functions reading the OROM version info and use them as a part of the setting NVM info procedure. Reviewed-by: Mateusz Polchlopek Reviewed-by: Przemek Kitszel Signed-off-by: Slawomir Mrozowicz Co-developed-by: Piotr Kwapulinski Signed-off-by: Piotr Kwapulinski S

[Intel-wired-lan] [PATCH iwl-next v1 05/13] ixgbe: read the netlist version information

2025-02-03 Thread Jedrzej Jagielski
From: Slawomir Mrozowicz Add functions reading the netlist version info and use them as a part of the setting NVM info procedure. Reviewed-by: Mateusz Polchlopek Signed-off-by: Slawomir Mrozowicz Co-developed-by: Piotr Kwapulinski Signed-off-by: Piotr Kwapulinski Signed-off-by: Jedrzej Jagie

[Intel-wired-lan] [PATCH iwl-next v1 03/13] ixgbe: add E610 functions for acquiring flash data

2025-02-03 Thread Jedrzej Jagielski
From: Slawomir Mrozowicz Read NVM related info from the flash. Add several helper functions used to access the flash data, find memory banks, calculate offsets, calculate the flash size. Reviewed-by: Przemek Kitszel Reviewed-by: Mateusz Polchlopek Signed-off-by: Slawomir Mrozowicz Co-develop

[Intel-wired-lan] [PATCH iwl-next v1 02/13] ixgbe: add handler for devlink .info_get()

2025-02-03 Thread Jedrzej Jagielski
Provide devlink .info_get() callback implementation to allow the driver to report detailed version information. The following info is reported: "serial_number" -> The PCI DSN of the adapter "fw.bundle_id" -> Unique identifier for the combined flash image "fw.undi" -> Version of the Option ROM c

[Intel-wired-lan] [PATCH iwl-next v1 00/13] ixgbe: Add basic devlink support

2025-02-03 Thread Jedrzej Jagielski
Create devlink specific directory for more convenient future feature development. Flashing and reloading are supported only by E610 devices. Introduce basic FW/NVM validation since devlink reload introduces possibility of runtime NVM update. Check FW API version, FW recovery mode and FW rollback

[Intel-wired-lan] [PATCH iwl-next v1 01/13] ixgbe: add initial devlink support

2025-02-03 Thread Jedrzej Jagielski
Add an initial support for devlink interface to ixgbe driver. Similarly to i40e driver the implementation doesn't enable devlink to manage device-wide configuration. Devlink instance is created for each physical function of PCIe device. Create separate directory for devlink related ixgbe files an

[Intel-wired-lan] [PATCH iwl-next v1 09/13] ixgbe: add device flash update via devlink

2025-02-03 Thread Jedrzej Jagielski
Use the pldmfw library to implement device flash update for the Intel ixgbe networking device driver specifically for E610 devices. This support uses the devlink flash update interface. Using the pldmfw library, the provided firmware file will be scanned for the three major components, "fw.undi" f

[Intel-wired-lan] [PATCH iwl-next v1 10/13] ixgbe: add support for devlink reload

2025-02-03 Thread Jedrzej Jagielski
The E610 adapters contain an embedded chip with firmware which can be updated using devlink flash. The firmware which runs on this chip is referred to as the Embedded Management Processor firmware (EMP firmware). Activating the new firmware image currently requires that the system be rebooted. Thi

[Intel-wired-lan] [PATCH iwl-next v1 13/13] ixgbe: add support for FW rollback mode

2025-02-03 Thread Jedrzej Jagielski
From: Andrii Staikov The driver should detect whether the device entered FW rollback mode and then notify user with the dedicated message including FW and NVM versions. Even if the driver detected rollback mode, this should not result in an probe error and the normal flow proceeds. FW tries to

[Intel-wired-lan] [PATCH iwl-next v1 11/13] ixgbe: add FW API version check

2025-02-03 Thread Jedrzej Jagielski
Add E610 specific function checking whether the FW API version is compatible with the driver expectations. The major API version should be less than or equal to the expected API version. If not the driver won't be fully operational. Check the minor version, and if it is more than two versions les

[Intel-wired-lan] [PATCH iwl-next v1 12/13] ixgbe: add E610 implementation of FW recovery mode

2025-02-03 Thread Jedrzej Jagielski
Add E610 implementation of fw_recovery_mode MAC operation. In case of E610 information about recovery mode is obtained from FW_MODES field in IXGBE_GL_MNG_FWSM register (0x000B6134). Introduce recovery specific probing flow and init only vital features. User should be able to perform NVM update

[Intel-wired-lan] [PATCH iwl-next v1 08/13] ixgbe: extend .info_get with stored versions

2025-02-03 Thread Jedrzej Jagielski
Add functions reading inactive versions from the inactive flash banks. Print stored NVM, OROM and netlist versions by devlink when there is an ongoing update for E610 devices. Reviewed-by: Mateusz Polchlopek Reviewed-by: Przemek Kitszel Co-developed-by: Slawomir Mrozowicz Signed-off-by: Slawom

[Intel-wired-lan] [PATCH] net: e1000e: convert to ndo_hwtstamp_get() and ndo_hwtstamp_set()

2025-02-03 Thread Piotr Wejman
Update the driver to the new hw timestamping API. Signed-off-by: Piotr Wejman --- drivers/net/ethernet/intel/e1000e/e1000.h | 2 +- drivers/net/ethernet/intel/e1000e/netdev.c | 52 -- 2 files changed, 20 insertions(+), 34 deletions(-) diff --git a/drivers/net/ethernet/inte

[Intel-wired-lan] [PATCH iwl-next] ixgbe: add PTP support for E610 device

2025-02-03 Thread Piotr Kwapulinski
Add PTP support for E610 adapter. The E610 is based on X550 and adds firmware managed link, enhanced security capabilities and support for updated server manageability. It does not introduce any new PTP features compared to X550. Reviewed-by: Milena Olech Reviewed-by: Przemek Kitszel Signed-off-

[Intel-wired-lan] [PATCH iwl-next v2] ixgbe: add support for thermal sensor event reception

2025-02-03 Thread Jedrzej Jagielski
E610 NICs unlike the previous devices utilising ixgbe driver are notified in the case of overheatning by the FW ACI event. In event of overheat when treshold is exceeded, FW suspends all traffic and sends overtemp event to the driver. Then driver logs appropriate message and closes the adapter ins