Searched refs:flow_counter (Results 1 – 4 of 4) sorted by relevance
559 struct mlx5_fc *flow_counter; in accel_psp_fs_init_rx() local572 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 …]
207 struct mlx5_fc *flow_counter; in rx_add_rule_drop_auth_trailer() local215 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 …]
931 struct mlx5_fc *flow_counter; in macsec_fs_tx_init() local940 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 …]
168 } else if (MLX5_CAP_ESW_INGRESS_ACL(esw->dev, flow_counter)) { in esw_acl_ingress_lgcy_setup()