diff options
author | Ivan Vecera <[email protected]> | 2023-10-24 14:51:09 +0200 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2023-11-06 16:16:54 -0800 |
commit | aa54d846f3613fa9651786308c6f438e8705aff1 (patch) | |
tree | 5ac39b41d2a9ef342d9f54622a63923dee4cbfc8 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | e96fe283c6f45dd888536ccb7b0464569533f791 (diff) |
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: 9e479d64dc58 ("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]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions