diff options
author | Martin KaFai Lau <kafai@fb.com> | 2017-01-31 22:35:33 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-02 21:27:05 -0500 |
commit | 770f82253dbd7e6892a88018f2f6cd395f48d214 (patch) | |
tree | 177c454b09676bb54648883037b2d66c40bbdf74 /net/sched/act_skbmod.c | |
parent | f32b20e89e82c9ff1825fc5c5d69753ff5558ccd (diff) |
mlx4: xdp_prog becomes inactive after ethtool '-L' or '-G'
After calling mlx4_en_try_alloc_resources (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")
Cc: Brenden Blanco <bblanco@plumgrid.com>
Cc: Saeed Mahameed <saeedm@mellanox.com>
Cc: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/act_skbmod.c')
0 files changed, 0 insertions, 0 deletions