1 Description: librte_bond: fix exported symbols
3 The ABI changed in 16.07, but with compat to former 2.0 in place.
4 This was accidentially exported as 16.04 instead of 2.0 symbol.
7 Author: Christian Ehrhardt <christian.ehrhardt@canonical.com>
8 Last-Update: 2016-07-06
10 Index: deb_dpdk/drivers/net/bonding/rte_eth_bond_8023ad.c
11 ===================================================================
12 --- deb_dpdk.orig/drivers/net/bonding/rte_eth_bond_8023ad.c
13 +++ deb_dpdk/drivers/net/bonding/rte_eth_bond_8023ad.c
14 @@ -1068,7 +1068,7 @@ bond_mode_8023ad_conf_assign(struct mode
18 -bond_mode_8023ad_setup_v1604(struct rte_eth_dev *dev,
19 +bond_mode_8023ad_setup_v20(struct rte_eth_dev *dev,
20 struct rte_eth_bond_8023ad_conf *conf)
22 struct rte_eth_bond_8023ad_conf def_conf;
23 @@ -1214,7 +1214,7 @@ free_out:
27 -rte_eth_bond_8023ad_conf_get_v1604(uint8_t port_id,
28 +rte_eth_bond_8023ad_conf_get_v20(uint8_t port_id,
29 struct rte_eth_bond_8023ad_conf *conf)
31 struct rte_eth_dev *bond_dev;
32 @@ -1229,7 +1229,7 @@ rte_eth_bond_8023ad_conf_get_v1604(uint8
33 bond_mode_8023ad_conf_get(bond_dev, conf);
36 -VERSION_SYMBOL(rte_eth_bond_8023ad_conf_get, _v1604, 16.04);
37 +VERSION_SYMBOL(rte_eth_bond_8023ad_conf_get, _v20, 2.0);
40 rte_eth_bond_8023ad_conf_get_v1607(uint8_t port_id,
41 @@ -1278,7 +1278,7 @@ bond_8023ad_setup_validate(uint8_t port_
45 -rte_eth_bond_8023ad_setup_v1604(uint8_t port_id,
46 +rte_eth_bond_8023ad_setup_v20(uint8_t port_id,
47 struct rte_eth_bond_8023ad_conf *conf)
49 struct rte_eth_dev *bond_dev;
50 @@ -1289,11 +1289,11 @@ rte_eth_bond_8023ad_setup_v1604(uint8_t
53 bond_dev = &rte_eth_devices[port_id];
54 - bond_mode_8023ad_setup_v1604(bond_dev, conf);
55 + bond_mode_8023ad_setup_v20(bond_dev, conf);
59 -VERSION_SYMBOL(rte_eth_bond_8023ad_setup, _v1604, 16.04);
60 +VERSION_SYMBOL(rte_eth_bond_8023ad_setup, _v20, 2.0);
63 rte_eth_bond_8023ad_setup_v1607(uint8_t port_id,