#include "private.h"
enum pci_params {
- RTE_PCI_PARAMS_ADDR,
- RTE_PCI_PARAMS_MAX,
+ RTE_PCI_PARAM_ADDR,
+ RTE_PCI_PARAM_MAX,
};
static const char * const pci_params_keys[] = {
- [RTE_PCI_PARAMS_ADDR] = "addr",
- [RTE_PCI_PARAMS_MAX] = NULL,
+ [RTE_PCI_PARAM_ADDR] = "addr",
+ [RTE_PCI_PARAM_MAX] = NULL,
};
static int
return 0;
pdev = RTE_DEV_TO_PCI_CONST(dev);
/* if any field does not match. */
- if (rte_kvargs_process(kvlist, pci_params_keys[RTE_PCI_PARAMS_ADDR],
+ if (rte_kvargs_process(kvlist, pci_params_keys[RTE_PCI_PARAM_ADDR],
&pci_addr_kv_cmp,
(void *)(intptr_t)&pdev->addr))
return 1;
#include "vdev_private.h"
enum vdev_params {
- RTE_VDEV_PARAMS_MAX,
+ RTE_VDEV_PARAM_MAX,
};
static const char * const vdev_params_keys[] = {
- [RTE_VDEV_PARAMS_MAX] = NULL,
+ [RTE_VDEV_PARAM_MAX] = NULL,
};
static int
#include "ethdev_private.h"
enum eth_params {
- RTE_ETH_PARAMS_MAX,
+ RTE_ETH_PARAM_MAX,
};
static const char * const eth_params_keys[] = {
- [RTE_ETH_PARAMS_MAX] = NULL,
+ [RTE_ETH_PARAM_MAX] = NULL,
};
struct eth_dev_match_arg {