Home
last modified time | relevance | path

Searched refs:num_flows (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_tc.c1673 bnxt_hwrm_cfa_flow_stats_get(struct bnxt *bp, int num_flows, in bnxt_hwrm_cfa_flow_stats_get() argument
1683 req.num_flows = cpu_to_le16(num_flows); in bnxt_hwrm_cfa_flow_stats_get()
1684 for (i = 0; i < num_flows; i++) { in bnxt_hwrm_cfa_flow_stats_get()
1701 for (i = 0; i < num_flows; i++) { in bnxt_hwrm_cfa_flow_stats_get()
1743 bnxt_tc_flow_stats_batch_update(struct bnxt *bp, int num_flows, in bnxt_tc_flow_stats_batch_update() argument
1749 rc = bnxt_hwrm_cfa_flow_stats_get(bp, num_flows, stats_batch); in bnxt_tc_flow_stats_batch_update()
1753 for (i = 0; i < num_flows; i++) { in bnxt_tc_flow_stats_batch_update()
1771 int *num_flows) in bnxt_tc_flow_stats_batch_prep() argument
1801 *num_flows = i; in bnxt_tc_flow_stats_batch_prep()
1808 int num_flows, rc; in bnxt_tc_flow_stats_work() local
[all …]
Dbnxt_hsi.h6734 __le16 num_flows; member
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads.c427 atomic64_inc(&esw->offloads.num_flows); in mlx5_eswitch_add_offloaded_rule()
501 atomic64_inc(&esw->offloads.num_flows); in mlx5_eswitch_add_fwd_rule()
534 atomic64_dec(&esw->offloads.num_flows); in __mlx5_eswitch_del_rule()
2578 if (atomic64_read(&esw->offloads.num_flows) > 0) { in mlx5_devlink_eswitch_inline_mode_set()
2670 if (atomic64_read(&esw->offloads.num_flows) > 0) { in mlx5_devlink_eswitch_encap_mode_set()
Deswitch.h216 atomic64_t num_flows; member
Deswitch.c1771 atomic64_set(&esw->offloads.num_flows, 0); in mlx5_eswitch_init()