Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dipsec_fs.c48 struct mlx5_fc *flow_counter; in esw_ipsec_rx_status_drop_create() local
71 flow_counter = mlx5_fc_create(mdev, false); in esw_ipsec_rx_status_drop_create()
72 if (IS_ERR(flow_counter)) { in esw_ipsec_rx_status_drop_create()
73 err = PTR_ERR(flow_counter); in esw_ipsec_rx_status_drop_create()
81 dest.counter_id = mlx5_fc_id(flow_counter); in esw_ipsec_rx_status_drop_create()
93 rx->status_drop_cnt = flow_counter; in esw_ipsec_rx_status_drop_create()
100 mlx5_fc_destroy(mdev, flow_counter); in esw_ipsec_rx_status_drop_create()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dmacsec_fs.c935 struct mlx5_fc *flow_counter; in macsec_fs_tx_init() local
944 flow_counter = mlx5_fc_create(mdev, false); in macsec_fs_tx_init()
945 if (IS_ERR(flow_counter)) { in macsec_fs_tx_init()
946 err = PTR_ERR(flow_counter); in macsec_fs_tx_init()
952 tx_tables->check_rule_counter = flow_counter; in macsec_fs_tx_init()
954 flow_counter = mlx5_fc_create(mdev, false); in macsec_fs_tx_init()
955 if (IS_ERR(flow_counter)) { in macsec_fs_tx_init()
956 err = PTR_ERR(flow_counter); in macsec_fs_tx_init()
962 tx_tables->check_miss_rule_counter = flow_counter; in macsec_fs_tx_init()
1851 struct mlx5_fc *flow_counter; in macsec_fs_rx_init() local
[all …]
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
Degress_lgcy.c86 } else if (MLX5_CAP_ESW_EGRESS_ACL(esw->dev, flow_counter)) { in esw_acl_egress_lgcy_setup()
Dingress_lgcy.c168 } else if (MLX5_CAP_ESW_INGRESS_ACL(esw->dev, flow_counter)) { in esw_acl_ingress_lgcy_setup()
/Linux-v6.6/include/linux/mlx5/
Dmlx5_ifc.h430 u8 flow_counter[0x1]; member