]> git.baikalelectronics.ru Git - kernel.git/commit
nfp: add get/set link settings ndos to representors
authorDirk van der Merwe <dirk.vandermerwe@netronome.com>
Sat, 4 Nov 2017 15:48:58 +0000 (16:48 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 Nov 2017 14:23:26 +0000 (23:23 +0900)
commit8fa0212dab21ac9f777008c38ac08c03d9953170
tree2c39bdcb1a14bd922e8a902838c306b8ab1af90f
parent99cbb2681892c9b8c95fe80c02404c2e77799271
nfp: add get/set link settings ndos to representors

Since it is now safe to modify link settings for representors, we can
attach the get/set link settings ndos to it. The get/set link settings
are nfp_port based operations.

If a port becomes invalid, the representor will be removed in the same
way a vnic would be.

Signed-off-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c