commit | 544e7c33ec2f8077685c254f5e3b03a85c0e62eb | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Sun Oct 04 18:12:54 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sun Oct 04 14:38:53 2020 -0700 |
tree | 269ed65aa9ca47c2ea5a0fd84bb98c3358ea9417 | |
parent | 3122433eb533aac7d08302ee4b3bd3adfcd280d3 [diff] |
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 <olteanv@gmail.com> Tested-by: Vladimir Oltean <olteanv@gmail.com> Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>