]> Git Repo - linux.git/commit
net: devlink: Add support for port regions
authorAndrew Lunn <[email protected]>
Sun, 4 Oct 2020 16:12:54 +0000 (18:12 +0200)
committerDavid S. Miller <[email protected]>
Sun, 4 Oct 2020 21:38:53 +0000 (14:38 -0700)
commit544e7c33ec2f8077685c254f5e3b03a85c0e62eb
tree269ed65aa9ca47c2ea5a0fd84bb98c3358ea9417
parent3122433eb533aac7d08302ee4b3bd3adfcd280d3
net: devlink: Add support for port regions

Allow regions to be registered to a devlink port. The same netlink API
is used, but the port index is provided to indicate when a region is a
port region as opposed to a device region.

Reviewed-by: Vladimir Oltean <[email protected]>
Tested-by: Vladimir Oltean <[email protected]>
Signed-off-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
include/net/devlink.h
net/core/devlink.c
This page took 0.053593 seconds and 4 git commands to generate.