Ivan Vecera
aa54d846f3
i40e: Fix devlink port unregistering
Ensure that devlink port is unregistered after unregistering
of net device.
Reproducer:
[root@host ~]# rmmod i40e
[ 4742.939386] i40e 0000:02:00.1: i40e_ptp_stop: removed PHC on enp2s0f1np1
[ 4743.059269] ------------[ cut here ]------------
[ 4743.063900] WARNING: CPU: 21 PID: 10766 at net/devlink/port.c:1078 devl_port_unregister+0x69/0x80
...
Fixes: 9e479d64dc ("i40e: Add initial devlink support")
Signed-off-by: Ivan Vecera <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Tested-by: Pucha Himasekhar Reddy <[email protected]> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <[email protected]>
2023-11-06 16:16:54 -08:00
..
2023-10-05 09:18:09 -07:00
2023-10-05 09:18:09 -07:00
2023-10-05 09:13:43 -07:00
2023-10-05 09:13:42 -07:00
2023-10-05 09:18:09 -07:00
2023-10-19 13:29:01 -07:00
2023-10-05 09:18:09 -07:00
2023-10-05 09:18:09 -07:00
2023-02-09 08:35:53 -08:00
2023-10-18 18:10:17 -07:00
2023-10-05 09:13:43 -07:00
2023-10-05 09:18:09 -07:00
2022-09-06 12:49:00 -07:00
2023-11-06 16:16:13 -08:00
2023-10-15 14:33:41 +01:00
2023-07-31 14:37:25 -07:00
2023-10-05 09:18:09 -07:00
2023-10-18 18:10:17 -07:00
2023-10-05 09:18:09 -07:00
2023-10-05 09:18:09 -07:00
2023-10-05 09:13:43 -07:00
2023-10-05 09:18:09 -07:00
2023-10-05 09:18:09 -07:00
2023-11-06 16:16:54 -08:00
2023-10-05 09:18:09 -07:00
2023-10-15 14:33:41 +01:00
2023-10-05 09:18:09 -07:00
2023-10-05 09:13:42 -07:00
2023-03-09 13:11:24 -08:00
2023-10-05 09:18:09 -07:00
2023-10-26 13:46:28 -07:00
2023-10-05 09:18:09 -07:00
2023-10-15 14:33:41 +01:00
2023-10-05 09:18:09 -07:00
2023-10-05 09:18:09 -07:00
2023-10-26 13:46:28 -07:00
2023-10-05 09:18:09 -07:00
2023-10-26 13:46:28 -07:00
2023-10-15 14:33:41 +01:00