diff options
| author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2017-05-22 20:59:27 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-05-22 21:59:04 +0300 |
| commit | d88b0a233fafa4abda3b3aa5a69d46574e4c793e (patch) | |
| tree | 9f9a1c528d2bcd295b381983a0106dd4381dbefe /tools/perf/scripts/python/stackcollapse.py | |
| parent | 7ac9ebd567252d1799002b9282c658f7229ba21c (diff) | |
| download | linux-d88b0a233fafa4abda3b3aa5a69d46574e4c793e.tar.xz | |
nfp: disallow mixing vNICs with and without NSP port entry
We only support core NIC apps which have vNICs for each physical port/
split and no representors right now. Enforce that either each vNIC has
a NSP eth_table entry or if NSP port table is not available none do.
One scenario this will prevent from happening is user force-loading
wrong firmware file if FW app requires different firmwares per media
config.
While at it move some code to nfp_net_pf_alloc_vnic() to make it
counter-match nfp_net_pf_free_vnic() better.
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
