Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A 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 …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A Degress_lgcy.c86 } else if (MLX5_CAP_ESW_EGRESS_ACL(esw->dev, flow_counter)) { in esw_acl_egress_lgcy_setup()
H A Dingress_lgcy.c168 } else if (MLX5_CAP_ESW_INGRESS_ACL(esw->dev, flow_counter)) { in esw_acl_ingress_lgcy_setup()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_fs.c161 struct mlx5_fc *flow_counter; in ipsec_rx_status_drop_create() local
184 flow_counter = mlx5_fc_create(mdev, false); in ipsec_rx_status_drop_create()
185 if (IS_ERR(flow_counter)) { in ipsec_rx_status_drop_create()
186 err = PTR_ERR(flow_counter); in ipsec_rx_status_drop_create()
194 dest.counter_id = mlx5_fc_id(flow_counter); in ipsec_rx_status_drop_create()
207 rx->status_drop_cnt = flow_counter; in ipsec_rx_status_drop_create()
214 mlx5_fc_destroy(mdev, flow_counter); in ipsec_rx_status_drop_create()
/openbmc/linux/include/linux/mlx5/
H A Dmlx5_ifc.h430 u8 flow_counter[0x1]; member