On Fri, 12 Jul 2019 11:36:08 +0530
Ajit Khaparde <ajit.khapa...@broadcom.com> wrote:

> +     snprintf(mz_name, RTE_MEMZONE_NAMESIZE,
> +              "bnxt_%04x:%02x:%02x:%02x-%s", pci_dev->addr.domain,
> +              pci_dev->addr.bus, pci_dev->addr.devid,
> +              pci_dev->addr.function, "rx_port_stats");

You could use the PCI_PRI_FMT definition from rte_pci.h here.

Reply via email to