summaryrefslogtreecommitdiff
path: root/drivers/accessibility
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2017-09-03 04:26:01 +0300
committerDavid S. Miller <davem@davemloft.net>2017-09-04 07:22:05 +0300
commit192e685105097c48ad9f3665af643e1d97bcd2d4 (patch)
treed12ad3d9f95f8d57e95422aeac8fab242b82e56f /drivers/accessibility
parentc496291c5a414bd55bae76880137947d2e8decbe (diff)
downloadlinux-192e685105097c48ad9f3665af643e1d97bcd2d4.tar.xz
nfp: flower: base lifetime of representors on existence of lower vNIC
Create representors after lower vNIC is registered and destroy them before it is destroyed. Move the code out of start/stop callbacks directly into vnic_init/clean callbacks. Make sure SR-IOV callbacks don't try to create representors when lower device does not exist. 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/accessibility')
0 files changed, 0 insertions, 0 deletions