MCPcopy Create free account
hub / github.com/F-Stack/f-stack / mlx5_flow_create_mtr_tbls

Function mlx5_flow_create_mtr_tbls

dpdk/drivers/net/mlx5/mlx5_flow.c:8903–8913  ·  view source on GitHub ↗

* Create the needed meter and suffix tables. * * @param[in] dev * Pointer to Ethernet device. * * @return * 0 on success, -1 otherwise. */

Source from the content-addressed store, hash-verified

8901 * 0 on success, -1 otherwise.
8902 */
8903int
8904mlx5_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.

Callers 1

mlx5_flow_meter_createFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected