summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2018-10-14 14:02:57 +0300
committerDavid S. Miller <davem@davemloft.net>2018-10-16 08:44:33 +0300
commit3675b92fa70ece4c9263b812fc8cbf3bd606398c (patch)
treec9c377c86d20b498639873d3f6adacb2127515eb /tools/perf/scripts/python/call-graph-from-sql.py
parent58590c8d9044dd6ff1757d9e9af63a253cc15101 (diff)
downloadlinux-3675b92fa70ece4c9263b812fc8cbf3bd606398c.tar.xz
bnxt_en: Refactor bnxt_poll_work().
Separate the CP ring polling logic in bnxt_poll_work() into 2 separate functions __bnxt_poll_work() and __bnxt_poll_work_done(). Since the logic is separated, we need to add tx_pkts and events fields to struct bnxt_napi to keep track of the events to handle between the 2 functions. We also add had_work_done field to struct bnxt_cp_ring_info to indicate whether some work was performed on the CP ring. This is needed to better support the 57500 chips. We need to poll up to 2 separate CP rings before we update or ARM the CP rings on the 57500 chips. Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions