diff options
author | Michael Chan <michael.chan@broadcom.com> | 2018-10-14 14:02:57 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-16 08:44:33 +0300 |
commit | 3675b92fa70ece4c9263b812fc8cbf3bd606398c (patch) | |
tree | c9c377c86d20b498639873d3f6adacb2127515eb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 58590c8d9044dd6ff1757d9e9af63a253cc15101 (diff) | |
download | linux-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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions