summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@nvidia.com>2022-11-01 14:39:35 +0200
committerJakub Kicinski <kuba@kernel.org>2022-11-02 20:45:23 -0700
commit42e51de97cb449aa7d2aa1638cb5fcd2695b8f98 (patch)
tree6299c109d411603b052c09aac83a59dce94a064d /tools/perf/scripts/python/export-to-postgresql.py
parent3319dbb3e755398f254c3daa04b9030197137efe (diff)
rocker: Avoid unnecessary scheduling of work item
The work item function ofdpa_port_fdb_learn_work() does not do anything when 'OFDPA_OP_FLAG_LEARNED' is not set in the work item's flags. Therefore, do not allocate and do not schedule the work item when the flag is not set. Suggested-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: Ido Schimmel <idosch@nvidia.com> Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.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