Michael Chan 3675b92fa7 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>
2018-10-15 22:44:33 -07:00
..
2018-09-07 10:05:20 +02:00
2018-09-21 09:41:05 +02:00
2018-10-12 09:48:41 -07:00
2018-10-07 08:15:57 +02:00
2018-09-29 14:52:14 -07:00
2018-07-21 08:13:02 +02:00
2018-08-08 15:44:47 +10:00
2018-10-15 21:49:56 -07:00
2018-10-15 22:44:33 -07:00
2018-07-02 08:28:32 +02:00
2018-07-16 09:04:54 +02:00
2018-10-10 22:09:02 +02:00
2018-08-18 11:04:51 -07:00
2018-08-20 11:36:07 +02:00
2018-08-25 14:12:36 -07:00
2018-08-20 16:30:27 -07:00
2018-09-28 18:04:06 -07:00
2018-08-23 13:52:46 -07:00
2018-08-19 09:30:44 -07:00
2018-07-06 16:36:19 +02:00
2018-08-17 11:32:50 -07:00
2018-10-07 21:31:32 -07:00
2018-08-24 08:45:19 -07:00
2018-08-18 11:04:51 -07:00