diff options
author | Alan Brady <alan.brady@intel.com> | 2024-02-22 22:04:34 +0300 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2024-03-04 20:35:34 +0300 |
commit | 52361a06d3f2995f6cdbe35792ed1514067871d6 (patch) | |
tree | 9cc09d1e660e08e33cde95d03507b3bb2429df6c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8c49e68f542f6a3bf800103ead26df61ceaa18c3 (diff) | |
download | linux-52361a06d3f2995f6cdbe35792ed1514067871d6.tar.xz |
idpf: refactor queue related virtchnl messages
This reworks queue specific virtchnl messages to use the added
transaction API. It is fairly mechanical and generally makes the
functions using it more simple. Functions using transaction API no
longer need to take the vc_buf_lock since it's not using it anymore.
After filling out an idpf_vc_xn_params struct, idpf_vc_xn_exec takes
care of the send and recv handling.
This also converts those functions where appropriate to use
auto-variables instead of manually calling kfree. This greatly
simplifies the memory alloc paths and makes them less prone memory
leaks.
Tested-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Reviewed-by: Igor Bagnucki <igor.bagnucki@intel.com>
Signed-off-by: Alan Brady <alan.brady@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions