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
mpipe: fix link initialization ordering
[dpdk.git]
/
drivers
/
net
/
bonding
/
rte_eth_bond.h
diff --git
a/drivers/net/bonding/rte_eth_bond.h
b/drivers/net/bonding/rte_eth_bond.h
index
d688fc3
..
8efbf07
100644
(file)
--- a/
drivers/net/bonding/rte_eth_bond.h
+++ b/
drivers/net/bonding/rte_eth_bond.h
@@
-1,7
+1,7
@@
/*-
* BSD LICENSE
*
/*-
* BSD LICENSE
*
- * Copyright(c) 2010-201
4
Intel Corporation. All rights reserved.
+ * Copyright(c) 2010-201
5
Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@
-130,6
+130,17
@@
extern "C" {
int
rte_eth_bond_create(const char *name, uint8_t mode, uint8_t socket_id);
int
rte_eth_bond_create(const char *name, uint8_t mode, uint8_t socket_id);
+/**
+ * Free a bonded rte_eth_dev device
+ *
+ * @param name Name of the link bonding device.
+ *
+ * @return
+ * 0 on success, negative value otherwise
+ */
+int
+rte_eth_bond_free(const char *name);
+
/**
* Add a rte_eth_dev device as a slave to the bonded device
*
/**
* Add a rte_eth_dev device as a slave to the bonded device
*