diff options
author | Grishma Kotecha <[email protected]> | 2021-08-06 10:48:58 +0200 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2021-10-11 07:41:49 -0700 |
commit | 7715ec32472c792ca4bd170345e30fb48e191799 (patch) | |
tree | a8221767e0b60db21c0323c9be0663ce2adc3160 /tools/perf/scripts/python/stackcollapse.py | |
parent | ce8bd03c47fc8328e82a48d332fba69fd538e9bf (diff) |
ice: implement low level recipes functions
Add code to manage recipes and profiles on admin queue layer.
Allow the driver to add a new recipe and update an existing one. Get a
recipe and get a recipe to profile association is mostly used in update
existing recipes code.
Only default recipes can be updated. An update is done by reading recipes
from HW, changing their params and calling add recipe command.
Support following admin queue commands:
- ice_aqc_opc_add_recipe (0x0290) - create a recipe with protocol
header information and other details that determine how this recipe
filter works
- ice_aqc_opc_recipe_to_profile (0x0291) - associate a switch recipe
to a profile
- ice_aqc_opc_get_recipe (0x0292) - get details of an existing recipe
- ice_aqc_opc_get_recipe_to_profile (0x0293) - get a recipe associated
with profile ID
Define ICE_AQC_RES_TYPE_RECIPE resource type to hold a switch
recipe. It is needed when a new switch recipe needs to be created.
Co-developed-by: Dan Nowlin <[email protected]>
Signed-off-by: Dan Nowlin <[email protected]>
Signed-off-by: Grishma Kotecha <[email protected]>
Signed-off-by: Wojciech Drewek <[email protected]>
Tested-by: Sandeep Penigalapati <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions