3675b92fa7
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> |
||
---|---|---|
.. | ||
bnxt_coredump.h | ||
bnxt_dcb.c | ||
bnxt_dcb.h | ||
bnxt_debugfs.c | ||
bnxt_debugfs.h | ||
bnxt_devlink.c | ||
bnxt_devlink.h | ||
bnxt_dim.c | ||
bnxt_ethtool.c | ||
bnxt_ethtool.h | ||
bnxt_fw_hdr.h | ||
bnxt_hsi.h | ||
bnxt_nvm_defs.h | ||
bnxt_sriov.c | ||
bnxt_sriov.h | ||
bnxt_tc.c | ||
bnxt_tc.h | ||
bnxt_ulp.c | ||
bnxt_ulp.h | ||
bnxt_vfr.c | ||
bnxt_vfr.h | ||
bnxt_xdp.c | ||
bnxt_xdp.h | ||
bnxt.c | ||
bnxt.h | ||
Makefile |