#include <stdio.h>
#include <stdlib.h>
+#include <stdbool.h>
#include <errno.h>
#include <stdint.h>
#include <string.h>
#include <rte_debug.h>
#include <rte_pci.h>
#include <rte_malloc.h>
-#include <rte_ethdev_driver.h>
+#include <ethdev_driver.h>
#include <rte_spinlock.h>
#include <rte_eal.h>
#include <rte_mempool.h>
#define FALSE 0
#define TRUE 1
-#define false 0
-#define true 1
#define min(a,b) RTE_MIN(a,b)
#define mb() rte_mb()
/* MAC address operations */
struct bnx2x_mac_ops {
- void (*mac_addr_add)(struct rte_eth_dev *dev, struct ether_addr *addr,
+ void (*mac_addr_add)(struct rte_eth_dev *dev,
+ struct rte_ether_addr *addr,
uint16_t index, uint32_t pool); /* not implemented yet */
void (*mac_addr_remove)(struct rte_eth_dev *dev, uint16_t index); /* not implemented yet */
};