diff options
author | Brett Creeley <[email protected]> | 2021-03-02 10:15:39 -0800 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2021-04-22 09:26:22 -0700 |
commit | c5afbe99b778c15254d4496a74d3252ef6ba0a14 (patch) | |
tree | 1bbeabd3ab222bce1a73c3b958cf8c94a4f39bb3 /scripts/gdb/vmlinux-gdb.py | |
parent | c9b5f681fe418d68f1804512c7fbcd5920d0594e (diff) |
ice: Add helper function to get the VF's VSI
Currently, the driver gets the VF's VSI by using a long string of
dereferences (i.e. vf->pf->vsi[vf->lan_vsi_idx]). If the method to get
the VF's VSI were to change the driver would have to change it in every
location. Fix this by adding the helper ice_get_vf_vsi().
Signed-off-by: Brett Creeley <[email protected]>
Tested-by: Konrad Jankowski <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions