diff options
author | Jakub Kicinski | 2017-05-26 10:03:36 +0200 |
---|---|---|
committer | David S. Miller | 2017-05-26 17:01:49 +0200 |
commit | ec8b1fbe682deb376062c5ed04ef9c78160ffbf0 (patch) | |
tree | 778e83b04aede19923261c5cd4ed443c10498b43 /drivers/net/nlmon.c | |
parent | nfp: calculate total port lanes for split (diff) | |
download | kernel-qcow2-linux-ec8b1fbe682deb376062c5ed04ef9c78160ffbf0.tar.gz kernel-qcow2-linux-ec8b1fbe682deb376062c5ed04ef9c78160ffbf0.tar.xz kernel-qcow2-linux-ec8b1fbe682deb376062c5ed04ef9c78160ffbf0.zip |
nfp: support port splitting via devlink
Add support for configuring port split with devlink. Add devlink
callbacks to validate requested config and call NSP helpers.
Getting the right nfp_port structure can be done with simple iteration.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/nlmon.c')
0 files changed, 0 insertions, 0 deletions