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
cfgfile: fix leak on creation error
[dpdk.git]
/
drivers
/
net
/
bonding
/
rte_eth_bond_8023ad_private.h
diff --git
a/drivers/net/bonding/rte_eth_bond_8023ad_private.h
b/drivers/net/bonding/rte_eth_bond_8023ad_private.h
index
802551d
..
433c700
100644
(file)
--- a/
drivers/net/bonding/rte_eth_bond_8023ad_private.h
+++ b/
drivers/net/bonding/rte_eth_bond_8023ad_private.h
@@
-195,6
+195,7
@@
struct mode8023ad_private {
uint16_t rx_qid;
uint16_t tx_qid;
} dedicated_queues;
uint16_t rx_qid;
uint16_t tx_qid;
} dedicated_queues;
+ enum rte_bond_8023ad_agg_selection agg_selection;
};
/**
};
/**
@@
-278,7
+279,7
@@
bond_mode_8023ad_stop(struct rte_eth_dev *dev);
*/
void
bond_mode_8023ad_handle_slow_pkt(struct bond_dev_private *internals,
*/
void
bond_mode_8023ad_handle_slow_pkt(struct bond_dev_private *internals,
-
uint8
_t slave_id, struct rte_mbuf *pkt);
+
uint16
_t slave_id, struct rte_mbuf *pkt);
/**
* @internal
/**
* @internal
@@
-292,7
+293,7
@@
bond_mode_8023ad_handle_slow_pkt(struct bond_dev_private *internals,
* 0 on success, negative value otherwise.
*/
void
* 0 on success, negative value otherwise.
*/
void
-bond_mode_8023ad_activate_slave(struct rte_eth_dev *dev, uint
8
_t port_id);
+bond_mode_8023ad_activate_slave(struct rte_eth_dev *dev, uint
16
_t port_id);
/**
* @internal
/**
* @internal
@@
-306,7
+307,7
@@
bond_mode_8023ad_activate_slave(struct rte_eth_dev *dev, uint8_t port_id);
* 0 on success, negative value otherwise.
*/
int
* 0 on success, negative value otherwise.
*/
int
-bond_mode_8023ad_deactivate_slave(struct rte_eth_dev *dev, uint
8
_t slave_pos);
+bond_mode_8023ad_deactivate_slave(struct rte_eth_dev *dev, uint
16
_t slave_pos);
/**
* Updates state when MAC was changed on bonded device or one of its slaves.
/**
* Updates state when MAC was changed on bonded device or one of its slaves.
@@
-317,12
+318,12
@@
bond_mode_8023ad_mac_address_update(struct rte_eth_dev *bond_dev);
int
bond_ethdev_8023ad_flow_verify(struct rte_eth_dev *bond_dev,
int
bond_ethdev_8023ad_flow_verify(struct rte_eth_dev *bond_dev,
- uint
8
_t slave_port);
+ uint
16
_t slave_port);
int
int
-bond_ethdev_8023ad_flow_set(struct rte_eth_dev *bond_dev, uint
8
_t slave_port);
+bond_ethdev_8023ad_flow_set(struct rte_eth_dev *bond_dev, uint
16
_t slave_port);
int
int
-bond_8023ad_slow_pkt_hw_filter_supported(uint
8
_t port_id);
+bond_8023ad_slow_pkt_hw_filter_supported(uint
16
_t port_id);
#endif /* RTE_ETH_BOND_8023AD_H_ */
#endif /* RTE_ETH_BOND_8023AD_H_ */