git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/enic: avoid error message when no advanced filtering
[dpdk.git]
/
drivers
/
net
/
bnxt
/
rte_pmd_bnxt.h
diff --git
a/drivers/net/bnxt/rte_pmd_bnxt.h
b/drivers/net/bnxt/rte_pmd_bnxt.h
index
68fbe34
..
86b8d71
100644
(file)
--- a/
drivers/net/bnxt/rte_pmd_bnxt.h
+++ b/
drivers/net/bnxt/rte_pmd_bnxt.h
@@
-1,12
+1,16
@@
/* SPDX-License-Identifier: BSD-3-Clause
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2017-20
18
Broadcom
+ * Copyright(c) 2017-20
21
Broadcom
* All rights reserved.
*/
#ifndef _PMD_BNXT_H_
#define _PMD_BNXT_H_
* All rights reserved.
*/
#ifndef _PMD_BNXT_H_
#define _PMD_BNXT_H_
-#include <rte_ethdev_driver.h>
+#include <rte_ethdev.h>
+#include <rte_ether.h>
+
+/** mbuf dynamic field where CFA code is stored */
+#define RTE_PMD_BNXT_CFA_CODE_DYNFIELD_NAME "rte_net_bnxt_dynfield_cfa_code"
/*
* Response sent back to the caller after callback
/*
* Response sent back to the caller after callback
@@
-67,7
+71,7
@@
int rte_pmd_bnxt_set_vf_mac_anti_spoof(uint16_t port, uint16_t vf, uint8_t on);
* - (-EINVAL) if *vf* or *mac_addr* is invalid.
*/
int rte_pmd_bnxt_set_vf_mac_addr(uint16_t port, uint16_t vf,
* - (-EINVAL) if *vf* or *mac_addr* is invalid.
*/
int rte_pmd_bnxt_set_vf_mac_addr(uint16_t port, uint16_t vf,
- struct ether_addr *mac_addr);
+ struct
rte_
ether_addr *mac_addr);
/**
* Enable/Disable vf vlan strip for all queues in a pool
/**
* Enable/Disable vf vlan strip for all queues in a pool
@@
-303,7
+307,7
@@
int rte_pmd_bnxt_get_vf_tx_drop_count(uint16_t port, uint16_t vf_id,
* - (-ENOTSUP) Ethernet device is not a PF
* - (-ENOMEM) on an allocation failure
*/
* - (-ENOTSUP) Ethernet device is not a PF
* - (-ENOMEM) on an allocation failure
*/
-int rte_pmd_bnxt_mac_addr_add(uint16_t port, struct ether_addr *mac_addr,
+int rte_pmd_bnxt_mac_addr_add(uint16_t port, struct
rte_
ether_addr *mac_addr,
uint32_t vf_id);
/**
uint32_t vf_id);
/**