Re: [Intel-wired-lan] [PATCH] igc: Fix HW RX timestamp when passed by ZC XDP

2025-01-31 Thread Simon Horman
On Tue, Jan 28, 2025 at 01:26:48PM +0100, Zdenek Bouska wrote: > Fixes HW RX timestamp in the following scenario: > - AF_PACKET socket with enabled HW RX timestamps is created > - AF_XDP socket with enabled zero copy is created > - frame is forwarded to the BPF program, where the timestamp should >

Re: [Intel-wired-lan] [PATCH iwl-net v1] ice: fix memory leak in aRFS after reset

2025-01-31 Thread Simon Horman
On Thu, Jan 23, 2025 at 09:15:39AM +0100, Grzegorz Nitka wrote: > Fix aRFS (accelerated Receive Flow Steering) structures memory leak by > adding a checker to verify if aRFS memory is already allocated while > configuring VSI. aRFS objects are allocated in two cases: > - as part of VSI initializati

Re: [Intel-wired-lan] [PATCH] igc: Fix HW RX timestamp when passed by ZC XDP

2025-01-31 Thread Florian Bezdeka
On Tue, 2025-01-28 at 13:26 +0100, Zdenek Bouska wrote: > Fixes HW RX timestamp in the following scenario: > - AF_PACKET socket with enabled HW RX timestamps is created > - AF_XDP socket with enabled zero copy is created > - frame is forwarded to the BPF program, where the timestamp should > stil

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

2025-01-31 Thread Piotr Kwapulinski
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 - caught by Smatch. Restore this check. Fixes: c82412

Re: [Intel-wired-lan] [PATCH net] idpf: move set_real_num_queues to up_complete

2025-01-31 Thread Michal Schmidt
On Wed, Jan 29, 2025 at 1:46 AM Joshua Hay wrote: > On initial driver load, alloc_etherdev_mqs is called with whatever max > queue values are provided by the control plane. However, if the driver > is loaded on a system where num_online_cpus() returns less than the max > queues, the netdev will th

Re: [Intel-wired-lan] [PATCH] igc: Fix HW RX timestamp when passed by ZC XDP

2025-01-31 Thread Song, Yoong Siang
On Tuesday, January 28, 2025 8:27 PM, Zdenek Bouska wrote: >Fixes HW RX timestamp in the following scenario: >- AF_PACKET socket with enabled HW RX timestamps is created >- AF_XDP socket with enabled zero copy is created >- frame is forwarded to the BPF program, where the timestamp should > stil

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

2025-01-31 Thread Simon Horman
On Fri, Jan 31, 2025 at 01:14:50PM +0100, 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

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

2025-01-31 Thread Simon Horman
On Fri, Jan 31, 2025 at 01:14:50PM +0100, 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