diff options
author | 2017-09-02 18:26:01 -0700 | |
---|---|---|
committer | 2017-09-03 21:22:05 -0700 | |
commit | 192e685105097c48ad9f3665af643e1d97bcd2d4 (patch) | |
tree | d12ad3d9f95f8d57e95422aeac8fab242b82e56f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | nfp: separate app vNIC init/clean from alloc/free (diff) | |
download | wireguard-linux-192e685105097c48ad9f3665af643e1d97bcd2d4.tar.xz wireguard-linux-192e685105097c48ad9f3665af643e1d97bcd2d4.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions