]> git.baikalelectronics.ru Git - kernel.git/commit
mlx4: add dynamic LRO disable support
authorAmerigo Wang <amwang@redhat.com>
Mon, 21 Jun 2010 22:50:17 +0000 (22:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Jun 2010 06:04:10 +0000 (23:04 -0700)
commitf62ff25e5ce4f50d0eba72734c1c3752608e6832
tree78be29bd5a1d14180c6b6e5fe828e553129cc0fe
parentf2766bfb3ad1f621c1e4ff2432f863c1d3d6c875
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: WANG Cong <amwang@redhat.com>
Signed-off-by: Neil Horman <nhorman@redhat.com>
Acked-by: Neil Horman <nhorman@redhat.com>
Reviewed-by: Stanislaw Gruszka <sgruszka@redhat.com>
Cc: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mlx4/en_ethtool.c