summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@nvidia.com>2024-12-16 20:11:58 +0300
committerPaolo Abeni <pabeni@redhat.com>2024-12-19 18:02:22 +0300
commitba4138032ae3b5b8e2b68d2f2647cdc0817b05a6 (patch)
treef52c4d3db76c69b26cd1cc63d7f45d722c2fad6f /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentc72004aac60a9ffdf4bc29b1e7ff0798a7eab3c2 (diff)
downloadlinux-ba4138032ae3b5b8e2b68d2f2647cdc0817b05a6.tar.xz
ipv6: Add flow label to route get requests
The default IPv6 multipath hash policy takes the flow label into account when calculating a multipath hash and previous patches added a flow label selector to IPv6 FIB rules. Allow user space to specify a flow label in route get requests by adding a new netlink attribute and using its value to populate the "flowlabel" field in the IPv6 flow info structure prior to a route lookup. Deny the attribute in RTM_{NEW,DEL}ROUTE requests by checking for it in rtm_to_fib6_config() and returning an error if present. A subsequent patch will use this capability to test the new flow label selector in IPv6 FIB rules. Reviewed-by: Petr Machata <petrm@nvidia.com> Signed-off-by: Ido Schimmel <idosch@nvidia.com> Reviewed-by: Guillaume Nault <gnault@redhat.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions