diff options
author | Ido Shamay <idos@mellanox.com> | 2015-04-02 16:31:07 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-04-02 23:24:51 +0300 |
commit | 241a08c3a767ca2f6ab1c99c4db4c3ff867de8aa (patch) | |
tree | b2b8e83c8e11a80fbe9edb954becf374ebf38af5 /include/linux/mlx4 | |
parent | 802f42a8d99254b8602bf65cc50e8333bf479f13 (diff) | |
download | linux-241a08c3a767ca2f6ab1c99c4db4c3ff867de8aa.tar.xz |
net/mlx4_en: Change loopback only upon feature change
Currently any change of netdev features results in a call to
mlx4_en_update_loopback_state(). Those calls are unnecessary,
and should be called only upon loopback feature change.
Also moved some of the logic into mlx4_en_update_loopback_state().
Signed-off-by: Ido Shamay <idos@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mlx4')
0 files changed, 0 insertions, 0 deletions