diff options
| author | Patrisious Haddad <phaddad@nvidia.com> | 2025-10-29 17:42:58 +0200 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2025-11-09 05:21:42 -0500 |
| commit | f277662b734e96bf38ce7d422b091f53df3ff8cb (patch) | |
| tree | d360361c5ceabd812ef7d274d68fc093d2d6ec94 /tools/lib/python/kdoc/python_version.py | |
| parent | 5939decc64f6b9099c2c356d75047c66a6639e00 (diff) | |
RDMA/mlx5: Refactor _get_prio() function
Refactor the _get_prio() function to remove redundant arguments by
reusing the existing flow table attributes struct instead of passing
attributes separately. This improves code clarity and maintainability.
In addition allows downstream patch to add new parameter without
needing to change __get_prio() arguments.
Signed-off-by: Patrisious Haddad <phaddad@nvidia.com>
Signed-off-by: Edward Srouji <edwards@nvidia.com>
Link: https://patch.msgid.link/20251029-support-other-eswitch-v1-6-98bb707b5d57@nvidia.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
