Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_tc.c1681 bnxt_hwrm_cfa_flow_stats_get(struct bnxt *bp, int num_flows, in bnxt_hwrm_cfa_flow_stats_get() argument
1697 req->num_flows = cpu_to_le16(num_flows); in bnxt_hwrm_cfa_flow_stats_get()
1698 for (i = 0; i < num_flows; i++) { in bnxt_hwrm_cfa_flow_stats_get()
1714 for (i = 0; i < num_flows; i++) { in bnxt_hwrm_cfa_flow_stats_get()
1757 bnxt_tc_flow_stats_batch_update(struct bnxt *bp, int num_flows, in bnxt_tc_flow_stats_batch_update() argument
1763 rc = bnxt_hwrm_cfa_flow_stats_get(bp, num_flows, stats_batch); in bnxt_tc_flow_stats_batch_update()
1767 for (i = 0; i < num_flows; i++) { in bnxt_tc_flow_stats_batch_update()
1785 int *num_flows) in bnxt_tc_flow_stats_batch_prep() argument
1815 *num_flows = i; in bnxt_tc_flow_stats_batch_prep()
1822 int num_flows, rc; in bnxt_tc_flow_stats_work() local
[all …]
Dbnxt_hsi.h7562 __le16 num_flows; member
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads.c575 atomic64_inc(&esw->offloads.num_flows); in mlx5_eswitch_add_offloaded_rule()
655 atomic64_inc(&esw->offloads.num_flows); in mlx5_eswitch_add_fwd_rule()
689 atomic64_dec(&esw->offloads.num_flows); in __mlx5_eswitch_del_rule()
3466 if (atomic64_read(&esw->offloads.num_flows) > 0) { in mlx5_devlink_eswitch_inline_mode_set()
3547 if (atomic64_read(&esw->offloads.num_flows) > 0) { in mlx5_devlink_eswitch_encap_mode_set()
Deswitch.h253 atomic64_t num_flows; member
Deswitch.c1564 atomic64_set(&esw->offloads.num_flows, 0); in mlx5_eswitch_init()