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/bonding: fix mode type mismatch
[dpdk.git]
/
drivers
/
net
/
bonding
/
eth_bond_private.h
diff --git
a/drivers/net/bonding/eth_bond_private.h
b/drivers/net/bonding/eth_bond_private.h
index
8f198bd
..
156335c
100644
(file)
--- a/
drivers/net/bonding/eth_bond_private.h
+++ b/
drivers/net/bonding/eth_bond_private.h
@@
-8,7
+8,7
@@
#include <stdint.h>
#include <sys/queue.h>
#include <stdint.h>
#include <sys/queue.h>
-#include <
rte_
ethdev_driver.h>
+#include <ethdev_driver.h>
#include <rte_flow.h>
#include <rte_spinlock.h>
#include <rte_bitmap.h>
#include <rte_flow.h>
#include <rte_spinlock.h>
#include <rte_bitmap.h>
@@
-139,7
+139,7
@@
struct bond_dev_private {
uint16_t slave_count; /**< Number of bonded slaves */
struct bond_slave_details slaves[RTE_MAX_ETHPORTS];
uint16_t slave_count; /**< Number of bonded slaves */
struct bond_slave_details slaves[RTE_MAX_ETHPORTS];
- /**< Ar
ar
y of bonded slaves details */
+ /**< Ar
ra
y of bonded slaves details */
struct mode8023ad_private mode4;
uint16_t tlb_slaves_order[RTE_MAX_ETHPORTS];
struct mode8023ad_private mode4;
uint16_t tlb_slaves_order[RTE_MAX_ETHPORTS];
@@
-167,8
+167,8
@@
struct bond_dev_private {
struct rte_eth_desc_lim tx_desc_lim; /**< Tx descriptor limits */
uint16_t reta_size;
struct rte_eth_desc_lim tx_desc_lim; /**< Tx descriptor limits */
uint16_t reta_size;
- struct rte_eth_rss_reta_entry64 reta_conf[ETH_RSS_RETA_SIZE_512 /
- RTE_RETA_GROUP_SIZE];
+ struct rte_eth_rss_reta_entry64 reta_conf[
RTE_
ETH_RSS_RETA_SIZE_512 /
+ RTE_
ETH_
RETA_GROUP_SIZE];
uint8_t rss_key[52]; /**< 52-byte hash key buffer. */
uint8_t rss_key_len; /**< hash key length in bytes. */
uint8_t rss_key[52]; /**< 52-byte hash key buffer. */
uint8_t rss_key_len; /**< hash key length in bytes. */
@@
-212,7
+212,7
@@
int
valid_bonded_port_id(uint16_t port_id);
int
valid_bonded_port_id(uint16_t port_id);
int
-valid_slave_port_id(
uint16_t port_id, uint8_t mode
);
+valid_slave_port_id(
struct bond_dev_private *internals, uint16_t port_id
);
void
deactivate_slave(struct rte_eth_dev *eth_dev, uint16_t port_id);
void
deactivate_slave(struct rte_eth_dev *eth_dev, uint16_t port_id);
@@
-240,7
+240,7
@@
slave_remove_mac_addresses(struct rte_eth_dev *bonded_eth_dev,
uint16_t slave_port_id);
int
uint16_t slave_port_id);
int
-bond_ethdev_mode_set(struct rte_eth_dev *eth_dev,
in
t mode);
+bond_ethdev_mode_set(struct rte_eth_dev *eth_dev,
uint8_
t mode);
int
slave_configure(struct rte_eth_dev *bonded_eth_dev,
int
slave_configure(struct rte_eth_dev *bonded_eth_dev,