Skip to content
Snippets Groups Projects
Commit d2ef8590 authored by Amerigo Wang's avatar Amerigo Wang Committed by David S. Miller
Browse files

mlx4: add dynamic LRO disable support


This patch adds dynamic LRO diable support for mlx4 net driver.
It also fixes a bug of mlx4, which checks NETIF_F_LRO flag in rx
path without rtnl lock.

(I don't have mlx4 card, so only did compiling test. Anyone who wants
to test this is more than welcome.)

This is based on Neil's initial work too, and heavily modified based
on Stanislaw's suggestions.

Signed-off-by: default avatarWANG Cong <amwang@redhat.com>
Signed-off-by: default avatarNeil Horman <nhorman@redhat.com>
Acked-by: default avatarNeil Horman <nhorman@redhat.com>
Reviewed-by: default avatarStanislaw Gruszka <sgruszka@redhat.com>
Cc: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 958de193
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment