Home
last modified time | relevance | path

Searched refs:flow_counter (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dpsp.c559 struct mlx5_fc *flow_counter; in accel_psp_fs_init_rx() local
572 flow_counter = mlx5_fc_create(mdev, false); in accel_psp_fs_init_rx()
573 if (IS_ERR(flow_counter)) { in accel_psp_fs_init_rx()
576 flow_counter); in accel_psp_fs_init_rx()
577 err = PTR_ERR(flow_counter); in accel_psp_fs_init_rx()
580 accel_psp->rx_counter = flow_counter; in accel_psp_fs_init_rx()
582 flow_counter = mlx5_fc_create(mdev, false); in accel_psp_fs_init_rx()
583 if (IS_ERR(flow_counter)) { in accel_psp_fs_init_rx()
586 flow_counter); in accel_psp_fs_init_rx()
587 err = PTR_ERR(flow_counter); in accel_psp_fs_init_rx()
[all …]
H A Dipsec_fs.c207 struct mlx5_fc *flow_counter; in rx_add_rule_drop_auth_trailer() local
215 flow_counter = mlx5_fc_create(mdev, true); in rx_add_rule_drop_auth_trailer()
216 if (IS_ERR(flow_counter)) { in rx_add_rule_drop_auth_trailer()
217 err = PTR_ERR(flow_counter); in rx_add_rule_drop_auth_trailer()
222 sa_entry->ipsec_rule.auth.fc = flow_counter; in rx_add_rule_drop_auth_trailer()
227 dest.counter = flow_counter; in rx_add_rule_drop_auth_trailer()
244 flow_counter = mlx5_fc_create(mdev, true); in rx_add_rule_drop_auth_trailer()
245 if (IS_ERR(flow_counter)) { in rx_add_rule_drop_auth_trailer()
246 err = PTR_ERR(flow_counter); in rx_add_rule_drop_auth_trailer()
251 sa_entry->ipsec_rule.trailer.fc = flow_counter; in rx_add_rule_drop_auth_trailer()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dmacsec_fs.c931 struct mlx5_fc *flow_counter; in macsec_fs_tx_init() local
940 flow_counter = mlx5_fc_create(mdev, false); in macsec_fs_tx_init()
941 if (IS_ERR(flow_counter)) { in macsec_fs_tx_init()
942 err = PTR_ERR(flow_counter); in macsec_fs_tx_init()
948 tx_tables->check_rule_counter = flow_counter; in macsec_fs_tx_init()
950 flow_counter = mlx5_fc_create(mdev, false); in macsec_fs_tx_init()
951 if (IS_ERR(flow_counter)) { in macsec_fs_tx_init()
952 err = PTR_ERR(flow_counter); in macsec_fs_tx_init()
958 tx_tables->check_miss_rule_counter = flow_counter; in macsec_fs_tx_init()
1847 struct mlx5_fc *flow_counter; in macsec_fs_rx_init() local
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A Dingress_lgcy.c168 } else if (MLX5_CAP_ESW_INGRESS_ACL(esw->dev, flow_counter)) { in esw_acl_ingress_lgcy_setup()