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:58 +0300
committerDavid S. Miller <davem@davemloft.net>2018-10-16 08:44:33 +0300
commit0fcec9854ab478551debaef11e9c7875fc837906 (patch)
tree4365aafe24c329bcacab2b160121f14009a9b8ce /tools/perf/scripts/python/call-graph-from-sql.py
parent3675b92fa70ece4c9263b812fc8cbf3bd606398c (diff)
downloadlinux-0fcec9854ab478551debaef11e9c7875fc837906.tar.xz
bnxt_en: Add new NAPI poll function for 57500 chips.
Add a new poll function that polls for NQ events. If the NQ event is a CQ notification, we locate the CP ring from the cq_handle and call __bnxt_poll_work() to handle RX/TX events on the CP ring. Add a new has_more_work field in struct bnxt_cp_ring_info to indicate budget has been reached. __bnxt_poll_cqs_done() is called to update or ARM the CP rings if budget has not been reached or not. If budget has been reached, the next bnxt_poll_p5() call will continue to poll from the CQ rings directly. Otherwise, the NQ will be ARMed for the next IRQ. 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