MCPcopy Create free account
hub / github.com/F-Stack/f-stack / bnxt_update_fc_post_qstat

Function bnxt_update_fc_post_qstat

dpdk/drivers/net/bnxt/bnxt_stats.c:974–980  ·  view source on GitHub ↗

Post issuing counter_qstats cmd, update the driver's local stat * entries with the values DMA-ed by FW in the output table */

Source from the content-addressed store, hash-verified

972 * entries with the values DMA-ed by FW in the output table
973 */
974static 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
982static int bnxt_update_fc_tbl(struct bnxt *bp, uint16_t ctr,
983 struct bnxt_filter_info *en_tbl[],

Callers 1

bnxt_update_fc_tblFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected