diff options
| author | Jakub Kicinski <[email protected]> | 2018-11-08 19:50:35 -0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-11-08 20:48:00 -0800 |
| commit | 83ec8857a00ff11cb3abc4d7c003de8ea103b715 (patch) | |
| tree | e505a279b5c18810f98ab66954a60489a1566324 /tools/perf/scripts/python/sctop.py | |
| parent | e38f5d11b98fa65a23301c28567bd786e4a97e75 (diff) | |
nfp: parse vNIC TLV capabilities at alloc time
In certain cases initialization logic which follows allocation of
the vNIC structure may want to validate the capabilities of that vNIC.
This is easy before vNIC is initialized for normal capabilities which
are at fixed offsets in control memory, easy to locate and read, but
poses a challenge if the capabilities are in form of TLVs. Parse
the TLVs early on so other code can just access parsed info, instead
of having to do the parsing by itself.
Signed-off-by: Jakub Kicinski <[email protected]>
Reviewed-by: John Hurley <[email protected]>
Reviewed-by: Quentin Monnet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions