diff options
author | 2018-10-14 07:02:58 -0400 | |
---|---|---|
committer | 2018-10-15 22:44:33 -0700 | |
commit | 0fcec9854ab478551debaef11e9c7875fc837906 (patch) | |
tree | 4365aafe24c329bcacab2b160121f14009a9b8ce /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bnxt_en: Refactor bnxt_poll_work(). (diff) | |
download | linux-dev-0fcec9854ab478551debaef11e9c7875fc837906.tar.xz linux-dev-0fcec9854ab478551debaef11e9c7875fc837906.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions