commit | 3deef8cea3efcaeeae240bb00541de66abb9bfa0 | [log] [tgz] |
---|---|---|
author | Saeed Mahameed <saeedm@mellanox.com> | Tue Jan 10 22:33:37 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Jan 10 21:34:01 2017 -0500 |
tree | 03207b803a95a5d3fe29843d90952b836566cc24 | |
parent | 5e86397abe10aa4c884478a45e9a35b6a37d8d5d [diff] |
net/mlx5e: Un-register uplink representor on nic_disable The code before this patch registered uplink e-Switch representor on nic_enable and unregistered on nic_cleanup, the right place for this unregister is in nic_disable. Fixes: 127ea380acc9 ("net/mlx5: Add Representors registration API") Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Reviewed-by: Mohamad Haj Yahia <mohamad@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>