Post issuing counter_qstats cmd, update the driver's local stat * entries with the values DMA-ed by FW in the output table */
| 972 | * entries with the values DMA-ed by FW in the output table |
| 973 | */ |
| 974 | static void bnxt_update_fc_post_qstat(struct bnxt_filter_info *filter, |
| 975 | uint64_t *out_tbl, |
| 976 | uint32_t out_tbl_idx) |
| 977 | { |
| 978 | filter->hw_stats.packets = out_tbl[2 * out_tbl_idx]; |
| 979 | filter->hw_stats.bytes = out_tbl[(2 * out_tbl_idx) + 1]; |
| 980 | } |
| 981 | |
| 982 | static int bnxt_update_fc_tbl(struct bnxt *bp, uint16_t ctr, |
| 983 | struct bnxt_filter_info *en_tbl[], |
no outgoing calls
no test coverage detected