Re: [Intel-wired-lan] [iwl-next PATCH v4 3/3] idpf: add more info during virtchnl transaction timeout/salt mismatch

2025-01-13 Thread Singh, Krishneil K
> -Original Message- > From: Intel-wired-lan On Behalf Of > Brian Vazquez > Sent: Monday, December 16, 2024 8:28 AM > To: Brian Vazquez ; Nguyen, Anthony L > ; Kitszel, Przemyslaw > ; David S. Miller ; > Eric Dumazet ; Jakub Kicinski ; > Paolo Abeni ; intel-wired-...@lists.osuosl.org > Cc

Re: [Intel-wired-lan] [iwl-next PATCH v4 2/3] idpf: convert workqueues to unbound

2025-01-13 Thread Singh, Krishneil K
> -Original Message- > From: Intel-wired-lan On Behalf Of > Brian Vazquez > Sent: Monday, December 16, 2024 12:13 PM > To: Lobakin, Aleksander > Cc: Brian Vazquez ; Nguyen, Anthony L > ; Kitszel, Przemyslaw > ; David S. Miller ; > Eric Dumazet ; Jakub Kicinski ; > Paolo Abeni ; intel-wir

Re: [Intel-wired-lan] [iwl-next PATCH v4 1/3] idpf: Acquire the lock before accessing the xn->salt

2025-01-13 Thread Singh, Krishneil K
> -Original Message- > From: Intel-wired-lan On Behalf Of > Brian Vazquez > Sent: Monday, December 16, 2024 8:28 AM > To: Brian Vazquez ; Nguyen, Anthony L > ; Kitszel, Przemyslaw > ; David S. Miller ; > Eric Dumazet ; Jakub Kicinski ; > Paolo Abeni ; intel-wired-...@lists.osuosl.org > Cc

Re: [Intel-wired-lan] [PATCH iwl-net v2] idpf: fix transaction timeouts on reset

2025-01-13 Thread Singh, Krishneil K
> -Original Message- > From: Intel-wired-lan On Behalf Of > Simon Horman > Sent: Monday, January 6, 2025 2:45 AM > To: Tantilov, Emil S > Cc: intel-wired-...@lists.osuosl.org; net...@vger.kernel.org; Zaremba, Larysa > ; de...@google.com; will...@google.com; > Nguyen, Anthony L ; da...@d

Re: [Intel-wired-lan] [PATCH iwl-net v2] idpf: add read memory barrier when checking descriptor done bit

2025-01-13 Thread Singh, Krishneil K
> -Original Message- > From: Intel-wired-lan On Behalf Of > Emil Tantilov > Sent: Thursday, November 21, 2024 8:41 PM > To: intel-wired-...@lists.osuosl.org > Cc: net...@vger.kernel.org; Kitszel, Przemyslaw > ; Samudrala, Sridhar > ; rla...@google.com; de...@google.com; > will...@google.

Re: [Intel-wired-lan] [PATCH iwl-net v1 1/4] idpf: Change function argument

2025-01-13 Thread Singh, Krishneil K
> -Original Message- > From: Tarun K Singh > Sent: Tuesday, November 5, 2024 10:49 AM > To: intel-wired-...@lists.osuosl.org > Cc: net...@vger.kernel.org > Subject: [PATCH iwl-net v1 1/4] idpf: Change function argument > > Change idpf_vport_ctrl_lock's argument from netdev to adapter. >

Re: [Intel-wired-lan] [PATCH iwl-net v1 2/4] idpf: rename vport_ctrl_lock

2025-01-13 Thread Singh, Krishneil K
> -Original Message- > From: Tarun K Singh > Sent: Tuesday, November 5, 2024 10:49 AM > To: intel-wired-...@lists.osuosl.org > Cc: net...@vger.kernel.org > Subject: [PATCH iwl-net v1 2/4] idpf: rename vport_ctrl_lock > > Rename 'vport_ctrl_lock' to 'vport_cfg_lock'. Rename related > fun

Re: [Intel-wired-lan] [PATCH iwl-net v1 3/4] idpf: Add init, reinit, and deinit control lock

2025-01-13 Thread Singh, Krishneil K
> -Original Message- > From: Intel-wired-lan On Behalf Of > Tarun K Singh > Sent: Tuesday, November 5, 2024 10:49 AM > To: intel-wired-...@lists.osuosl.org > Cc: net...@vger.kernel.org > Subject: [Intel-wired-lan] [PATCH iwl-net v1 3/4] idpf: Add init, reinit, and > deinit control lock >

Re: [Intel-wired-lan] [PATCH iwl-net v1 4/4] idpf: add lock class key

2025-01-13 Thread Singh, Krishneil K
> -Original Message- > From: Intel-wired-lan On Behalf Of > Tarun K Singh > Sent: Tuesday, November 5, 2024 10:49 AM > To: intel-wired-...@lists.osuosl.org > Cc: net...@vger.kernel.org > Subject: [Intel-wired-lan] [PATCH iwl-net v1 4/4] idpf: add lock class key > > From: Ahmed Zaki >

Re: [Intel-wired-lan] [PATCH net-next] eth: iavf: extend the netdev_lock usage

2025-01-13 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Fri, 10 Jan 2025 23:13:39 -0800 you wrote: > iavf uses the netdev->lock already to protect shapers. > In an upcoming series we'll try to protect NAPI instances > with netdev->lock. > > We need to modify the protec

Re: [Intel-wired-lan] [PATCH net-next] ixgbe: Remove redundant self-assignments in ACI command execution

2025-01-13 Thread Dheeraj Reddy Jonnalagadda
On Mon, Jan 13, 2025 at 03:23:31PM +, Kwapulinski, Piotr wrote: > >[Intel-wired-lan] [PATCH net-next] ixgbe: Remove redundant self-assignments > >in ACI command execution > >@ 2025-01-08 5:36 Dheeraj Reddy Jonnalagadda > > 2025-01-08 6:29 ` Michal Swiatkowski > > 0 siblings, 1 reply; 2+ me

Re: [Intel-wired-lan] [Question] Generic way to retrieve IRQ number of Tx/Rx queue

2025-01-13 Thread Jakub Kicinski
On Fri, 10 Jan 2025 10:07:18 +0100 Daniel Sedlak wrote: > Hello, > I am writing an affinity scheduler in the userspace for network cards's > Tx/Rx queues. Is there a generic way to retrieve all IRQ numbers for > those queues for each interface? > > My goal is to get all Tx/Rx queues for a given

Re: [Intel-wired-lan] [PATCH v3 iwl-next 08/10] idpf: add Tx timestamp flows

2025-01-13 Thread Olech, Milena
On 01/10/2025 10:34PM Willem de Bruijn wrote: > > > > Add functions to request Tx timestamp for the PTP packets, read the Tx > > > > timestamp when the completion tag for that packet is being received, > > > > extend the Tx timestamp value and set the supported timestamping modes. > > > > > > > >

[Intel-wired-lan] [PATCH net-next v5 6/6] idpf: use napi's irq affinity

2025-01-13 Thread Ahmed Zaki
Delete the driver CPU affinity info and use the core's napi config instead. Signed-off-by: Ahmed Zaki --- drivers/net/ethernet/intel/idpf/idpf_lib.c | 1 + drivers/net/ethernet/intel/idpf/idpf_txrx.c | 22 +++-- drivers/net/ethernet/intel/idpf/idpf_txrx.h | 6 ++ 3 files c

[Intel-wired-lan] [PATCH net-next v5 4/6] bnxt: use napi's irq affinity

2025-01-13 Thread Ahmed Zaki
Delete the driver CPU affinity info and use the core's napi config instead. Signed-off-by: Ahmed Zaki --- drivers/net/ethernet/broadcom/bnxt/bnxt.c | 25 +++ drivers/net/ethernet/broadcom/bnxt/bnxt.h | 2 -- 2 files changed, 3 insertions(+), 24 deletions(-) diff --git a/dri

[Intel-wired-lan] [PATCH net-next v5 5/6] ice: use napi's irq affinity

2025-01-13 Thread Ahmed Zaki
Delete the driver CPU affinity info and use the core's napi config instead. Signed-off-by: Ahmed Zaki --- drivers/net/ethernet/intel/ice/ice.h | 3 -- drivers/net/ethernet/intel/ice/ice_base.c | 7 +--- drivers/net/ethernet/intel/ice/ice_lib.c | 6 --- drivers/net/ethernet/intel/ice/ice

[Intel-wired-lan] [PATCH net-next v5 3/6] net: napi: add CPU affinity to napi_config

2025-01-13 Thread Ahmed Zaki
A common task for most drivers is to remember the user-set CPU affinity to its IRQs. On each netdev reset, the driver should re-assign the user's settings to the IRQs. Add CPU affinity mask to napi_config. To delegate the CPU affinity management to the core, drivers must: 1 - set the new netdev f

[Intel-wired-lan] [PATCH net-next v5 2/6] net: napi: add internal ARFS rmap management

2025-01-13 Thread Ahmed Zaki
For drivers using the netif_enable_cpu_rmap(), move the IRQ rmap notifier inside the napi_struct. Signed-off-by: Ahmed Zaki --- include/linux/cpu_rmap.h | 1 + include/linux/netdevice.h | 4 ++ lib/cpu_rmap.c| 2 +- net/core/dev.c| 77 +

[Intel-wired-lan] [PATCH net-next v5 1/6] net: move ARFS rmap management to core

2025-01-13 Thread Ahmed Zaki
Add a new netdev flag "rx_cpu_rmap_auto". Drivers supporting ARFS should set the flag via netif_enable_cpu_rmap() and core will allocate and manage the ARFS rmap. Freeing the rmap is also done by core when the netdev is freed. Signed-off-by: Ahmed Zaki --- drivers/net/ethernet/amazon/ena/ena_net

[Intel-wired-lan] [PATCH net-next v5 0/6] net: napi: add CPU affinity to napi->config

2025-01-13 Thread Ahmed Zaki
Drivers usually need to re-apply the user-set IRQ affinity to their IRQs after reset. However, since there can be only one IRQ affinity notifier for each IRQ, registering IRQ notifiers conflicts with the ARFS rmap management in the core (which also registers separate IRQ affinity notifiers). Mo

Re: [Intel-wired-lan] [PATCH net-next] ixgbe: Remove redundant self-assignments in ACI command execution

2025-01-13 Thread Kwapulinski, Piotr
>[Intel-wired-lan] [PATCH net-next] ixgbe: Remove redundant self-assignments in >ACI command execution >@ 2025-01-08 5:36 Dheeraj Reddy Jonnalagadda > 2025-01-08 6:29 ` Michal Swiatkowski > 0 siblings, 1 reply; 2+ messages in thread >From: Dheeraj Reddy Jonnalagadda @ 2025-01-08 5:36 UTC (per

Re: [Intel-wired-lan] [PATCH iwl-net] ice: Fix switchdev slow-path in LAG

2025-01-13 Thread Buvaneswaran, Sujai
> -Original Message- > From: Intel-wired-lan On Behalf Of > Marcin Szycik > Sent: Friday, January 3, 2025 12:38 AM > To: intel-wired-...@lists.osuosl.org > Cc: net...@vger.kernel.org; Marcin Szycik ; > Michal Swiatkowski > Subject: [Intel-wired-lan] [PATCH iwl-net] ice: Fix switchdev slow