diff options
| author | William Tu <[email protected]> | 2024-03-10 16:45:47 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-03-11 20:13:53 +0000 |
| commit | 8f4cd89bf10607de08231d6d91a73dd63336808e (patch) | |
| tree | 6d2e121ad950f7acd0fde376cd56db98b8b9fdbe /drivers/net/ethernet/intel/igc/igc_main.c | |
| parent | net: phy: dp83822: Fix RGMII TX delay configuration (diff) | |
| download | kernel-8f4cd89bf10607de08231d6d91a73dd63336808e.tar.gz kernel-8f4cd89bf10607de08231d6d91a73dd63336808e.zip | |
devlink: Fix length of eswitch inline-mode
Set eswitch inline-mode to be u8, not u16. Otherwise, errors below
$ devlink dev eswitch set pci/0000:08:00.0 mode switchdev \
inline-mode network
Error: Attribute failed policy validation.
kernel answers: Numerical result out of rang
netlink: 'devlink': attribute type 26 has an invalid length.
Fixes: f2f9dd164db0 ("netlink: specs: devlink: add the remaining command to generate complete split_ops")
Signed-off-by: William Tu <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions
