src/dpdk/drivers/net/mvpp2/mrvl_mtr.c
void
mrvl_mtr_init(struct rte_eth_dev *dev)
{
	struct mrvl_priv *priv = dev->data->dev_private;

	LIST_INIT(&priv->profiles);
	LIST_INIT(&priv->mtrs);
}
/**
 * Initialize metering resources.
 *
 * @param dev Pointer to the device.
 */
Initialize metering resources.
@param dev Pointer to the device.
Initialize metering resources . @param dev Pointer to the device .
void
mrvl_mtr_init(struct rte_eth_dev *dev)
{
	struct mrvl_priv *priv = dev->data->dev_private;
	LIST_INIT(&priv->profiles);
	LIST_INIT(&priv->mtrs);
}
void mrvl_mtr_init ( struct rte_eth_dev * dev ) { struct mrvl_priv * priv = dev -> data -> dev_private ; LIST_INIT ( & priv -> profiles ) ; LIST_INIT ( & priv -> mtrs ) ; }
Initialize metering resources.
Initialize metering resources .