linux-stable/Documentation/netlink/specs
William Tu 7e48f2b838 devlink: Fix length of eswitch inline-mode
[ Upstream commit 8f4cd89bf1 ]

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: f2f9dd164d ("netlink: specs: devlink: add the remaining command to generate complete split_ops")
Signed-off-by: William Tu <witu@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20240310164547.35219-1-witu@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-03-26 18:16:57 -04:00
..
devlink.yaml devlink: Fix length of eswitch inline-mode 2024-03-26 18:16:57 -04:00
dpll.yaml dpll: spec: use proper enum for pin capabilities attribute 2024-03-26 18:16:55 -04:00
ethtool.yaml Revert "Introduce PHY listing and link_topology tracking" 2024-01-04 16:05:47 -08:00
fou.yaml netlink: specs: fix indent in fou 2023-08-24 19:04:20 -07:00
handshake.yaml handshake: Fix sign of key_serial_t fields 2023-10-02 12:34:21 -07:00
mptcp_pm.yaml netlink: specs: mptcp: rename the MPTCP path management spec 2023-12-15 12:17:16 +00:00
netdev.yaml netdev 2023-12-18 16:46:08 -08:00
nfsd.yaml NFSD: introduce netlink stubs 2023-10-16 12:44:09 -04:00
ovs_datapath.yaml netlink: specs: ovs: correct enum names in specs 2023-12-15 12:17:16 +00:00
ovs_flow.yaml netlink: specs: ovs: correct enum names in specs 2023-12-15 12:17:16 +00:00
ovs_vport.yaml netlink: specs: ovs: remove fixed header fields from attrs 2023-12-15 12:17:16 +00:00
rt_addr.yaml doc/netlink: Add spec for rt addr messages 2023-08-27 17:17:10 -07:00
rt_link.yaml doc/netlink/specs: Add missing attr in rt_link spec 2024-02-01 09:19:59 -08:00
rt_route.yaml doc/netlink: Add spec for rt route messages 2023-08-27 17:17:11 -07:00
tc.yaml doc/netlink/specs: Add a spec for tc 2023-12-18 14:39:44 -08:00