summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2023-02-03 03:11:13 +0300
committerJakub Kicinski <kuba@kernel.org>2023-02-04 07:05:57 +0300
commit1c81a9b3aaa26f290c23dee8629579b3ebb994b3 (patch)
tree0efb9b56b659cb66570fedd35a7ef0f5d951216f /tools/perf/scripts/python/export-to-postgresql.py
parent8788260e8f61cd0444b0db443c2f22af2b49c9fb (diff)
downloadlinux-1c81a9b3aaa26f290c23dee8629579b3ebb994b3.tar.xz
net: enetc: simplify enetc_num_stack_tx_queues()
We keep a pointer to the xdp_prog in the private netdev structure as well; what's replicated per RX ring is done so just for more convenient access from the NAPI poll procedure. Simplify enetc_num_stack_tx_queues() by looking at priv->xdp_prog rather than iterating through the information replicated per RX ring. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Simon Horman <simon.horman@corigine.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions