Re: [PATCH net-next v2] net: mana: Improve mana_set_channels() in low mem conditions

2024-09-04 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Sun, 1 Sep 2024 20:45:34 -0700 you wrote: > The mana_set_channels() function requires detaching the mana > driver and reattaching it with changed channel values. > During this operation if the system is low on mem

RE: [PATCH net-next v2] net: mana: Improve mana_set_channels() in low mem conditions

2024-09-04 Thread Haiyang Zhang
ei Liu > ; Dexuan Cui ; David S. Miller > ; Eric Dumazet ; Jakub Kicinski > ; Paolo Abeni ; Long Li > ; Simon Horman ; Konstantin > Taranov ; Souradeep Chakrabarti > ; Erick Archer > ; Pavan Chebbi ; > Ahmed Zaki ; Colin Ian King > ; Shradha Gupta > Subject: [PATCH net

Re: [PATCH net-next v2] net: mana: Improve mana_set_channels() in low mem conditions

2024-09-04 Thread Gerhard Engleder
On 02.09.24 05:45, Shradha Gupta wrote: The mana_set_channels() function requires detaching the mana driver and reattaching it with changed channel values. During this operation if the system is low on memory, the reattach might fail, causing the network device being down. To avoid this we pre-al

[PATCH net-next v2] net: mana: Improve mana_set_channels() in low mem conditions

2024-09-01 Thread Shradha Gupta
The mana_set_channels() function requires detaching the mana driver and reattaching it with changed channel values. During this operation if the system is low on memory, the reattach might fail, causing the network device being down. To avoid this we pre-allocate buffers at the beginning of set ope