* Create the needed meter and suffix tables. * * @param[in] dev * Pointer to Ethernet device. * * @return * 0 on success, -1 otherwise. */
| 8901 | * 0 on success, -1 otherwise. |
| 8902 | */ |
| 8903 | int |
| 8904 | mlx5_flow_create_mtr_tbls(struct rte_eth_dev *dev, |
| 8905 | struct mlx5_flow_meter_info *fm, |
| 8906 | uint32_t mtr_idx, |
| 8907 | uint8_t domain_bitmap) |
| 8908 | { |
| 8909 | const struct mlx5_flow_driver_ops *fops; |
| 8910 | |
| 8911 | fops = flow_get_drv_ops(MLX5_FLOW_TYPE_DV); |
| 8912 | return fops->create_mtr_tbls(dev, fm, mtr_idx, domain_bitmap); |
| 8913 | } |
| 8914 | |
| 8915 | /** |
| 8916 | * Destroy the meter table set. |
no outgoing calls
no test coverage detected