[dpdk-dev] [PATCH 01/15] net/bnxt: fix extended port counter statistics

Stephen Hemminger stephen at networkplumber.org
Fri Jul 12 17:04:05 CEST 2019


On Fri, 12 Jul 2019 11:36:08 +0530
Ajit Khaparde <ajit.khaparde at 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.


More information about the dev mailing list