net/i40e: support cloud filter with L4 port
[dpdk.git] / drivers / net / bnx2x / bnx2x_ethdev.h
index 5f9169d..f712bb3 100644 (file)
@@ -1,11 +1,8 @@
-/*
+/* SPDX-License-Identifier: BSD-3-Clause
  * Copyright (c) 2013-2015 Brocade Communications Systems, Inc.
- *
  * Copyright (c) 2015-2018 Cavium Inc.
  * All rights reserved.
  * www.cavium.com
- *
- * See LICENSE.bnx2x_pmd for copyright and licensing details.
  */
 
 #ifndef PMD_BNX2X_ETHDEV_H
@@ -18,6 +15,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <stdbool.h>
 #include <errno.h>
 #include <stdint.h>
 #include <string.h>
@@ -50,8 +48,6 @@
 #define FALSE               0
 #define TRUE                1
 
-#define false               0
-#define true                1
 #define min(a,b)        RTE_MIN(a,b)
 
 #define mb()    rte_mb()
@@ -77,7 +73,8 @@
 
 /* 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 */
 };