aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorTom Zhao <[email protected]>2020-05-11 13:28:40 +0100
committerDavid S. Miller <[email protected]>2020-05-11 13:31:49 -0700
commitbe904b855200ef4672c765918b31338b59c4847c (patch)
tree850e5e79ba79e5281b07d8f52432119f25cb44fa /tools/perf/scripts/python/sched-migration.py
parentdfcabb078847479cc2874c11af3f6cb3b79ddd03 (diff)
sfc: make capability checking a nic_type function
Various MCDI functions (especially in filter handling) need to check the datapath caps, but those live in nic_data (since they don't exist on Siena). Decouple from ef10-specific data structures by adding check_caps to the nic_type, to allow using these functions from non-ef10 drivers. Also add a convenience macro efx_has_cap() to reduce the amount of boilerplate involved in calling it. Signed-off-by: Edward Cree <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions