Re: [PATCH net] mlx4: xdp_prog becomes inactive after ethtool '-L' or '-G'
From: David Miller <davem@davemloft.net>
Date: 2017-01-30 15:50:51
From: David Miller <davem@davemloft.net>
Date: 2017-01-30 15:50:51
From: Martin KaFai Lau <redacted> Date: Fri, 27 Jan 2017 23:40:51 -0800
If the rx-queues ever get re-initialized (e.g. by changing the
number of rx-queues with ethtool -L), the existing xdp_prog becomes
inactive.
The bug is that the xdp_prog ptr has not been carried over from
the old rx-queues to the new rx-queues
Fixes: 47a38e155037 ("net/mlx4_en: add support for fast rx drop bpf program")
Signed-off-by: Martin KaFai Lau <redacted>Mellanox folks, please review.