aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorPavan Chebbi <[email protected]>2024-03-25 15:28:54 -0700
committerJakub Kicinski <[email protected]>2024-03-28 22:34:40 -0700
commita4c11166a69619f1fd0118a0790c46872836240a (patch)
tree184c4c5650ee0a38ba54bcfdee94a88b92362290 /tools/perf/scripts/python/libxed.py
parent1dcd70ba2437b52d18f3ad4cc65931a74bdcb353 (diff)
bnxt_en: Refactor VNIC alloc and cfg functions
The current VNIC structures are stored in an array bp->vnic_info[]. The index of the array (vnic_id) is passed to all the functions that need to reference the VNIC. This patch changes the scheme to pass the VNIC pointer instead of the vnic index. Subsequent patches will create additional VNICs that will not be stored in the bp->vnic_info[] array. Using the VNIC pointer will work for all the VNICs. Reviewed-by: Kalesh AP <[email protected]> Signed-off-by: Pavan Chebbi <[email protected]> Signed-off-by: Michael Chan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions