Skip to content
Commit faaccbe6 authored by Jiri Pirko's avatar Jiri Pirko Committed by David S. Miller
Browse files

nfp: move devlink port type set after netdev registration



Similar to other driver, move the port type set after netdev registration
is done. Along with that, clear the type before unregistration.

Signed-off-by: default avatarJiri Pirko <jiri@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 45b86112
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment