diff options
author | Roy Novich <[email protected]> | 2023-01-04 11:16:21 +0200 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2023-01-09 22:08:34 -0800 |
commit | ab4b01bfdaa69492fb36484026b0a0f0af02d75a (patch) | |
tree | bb2c2504ea30d7d3546499b6b05ddbaf21d3d10e /scripts/gdb/linux/device.py | |
parent | da2e552b469a0cd130ff70a88ccc4139da428a65 (diff) |
net/mlx5e: Verify dev is present for fix features ndo
The native NIC port net device instance is being used as Uplink
representor. While changing profiles private resources are not
available, fix features ndo does not check if the netdev is present.
Add driver protection to verify private resources are ready.
Fixes: 7a9fb35e8c3a ("net/mlx5e: Do not reload ethernet ports when changing eswitch mode")
Signed-off-by: Roy Novich <[email protected]>
Reviewed-by: Roi Dayan <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions