Home
last modified time | relevance | path

Searched refs:ucast_counter (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/vdpa/mlx5/net/
Ddebug.c102 node->ucast_counter.mdev = ndev->mvdev.mdev; in mlx5_vdpa_add_rx_counters()
117 node->ucast_counter.dent = debugfs_create_dir("ucast", node->dent); in mlx5_vdpa_add_rx_counters()
118 if (IS_ERR(node->ucast_counter.dent)) in mlx5_vdpa_add_rx_counters()
121 add_counter_node(&node->ucast_counter, node->ucast_counter.dent); in mlx5_vdpa_add_rx_counters()
Dmlx5_vnet.h95 struct mlx5_vdpa_counter ucast_counter; member
Dmlx5_vnet.c1883 node->ucast_counter.counter = mlx5_fc_create(ndev->mvdev.mdev, false); in add_steering_counters()
1884 if (IS_ERR(node->ucast_counter.counter)) in add_steering_counters()
1885 return PTR_ERR(node->ucast_counter.counter); in add_steering_counters()
1898 mlx5_fc_destroy(ndev->mvdev.mdev, node->ucast_counter.counter); in add_steering_counters()
1910 mlx5_fc_destroy(ndev->mvdev.mdev, node->ucast_counter.counter); in remove_steering_counters()
1955 dests[1].counter_id = mlx5_fc_id(node->ucast_counter.counter); in mlx5_vdpa_add_mac_vlan_rules()