diff options
author | Daniel Machon <daniel.machon@microchip.com> | 2024-09-02 16:54:14 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-09-04 11:53:50 +0100 |
commit | f4aa7e361ae2265ccdf2300f0a2ec531caed3f40 (patch) | |
tree | 528182b663f970f10f138776eab56dd39879aac1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0a5c440850896a0ae5a2cd637b3e84e442520f1d (diff) |
net: sparx5: use FDMA library for adding DCB's in the tx path
Use the fdma_dcb_add() function to add DCB's in the tx path. This gets
rid of the open-coding of nextptr and dataptr handling and leaves it to
the library.
Also, make sure the fdma indexes are advanced using: fdma_dcb_advance(),
so that the correct nextptr and dataptr offsets are retrieved.
Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com>
Reviewed-by: Jens Emil Schulz Østergaard <jensemil.schulzostergaard@microchip.com>
Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions