net/bonding: fix exported symbol versioning
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>
Mon, 11 Jul 2016 11:27:01 +0000 (13:27 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 11 Jul 2016 12:56:51 +0000 (14:56 +0200)
commit2bf4c835554a382f22a58194180ebacc2e9a5399
tree04fb2743bae9f70ab0cc5d7b69ae480b7ab61e5c
parentb2063f104db791c63d020b38fce9669fa647ddde
net/bonding: fix exported symbol versioning

The older versions of rte_eth_bond_8023ad_conf_get and
rte_eth_bond_8023ad_setup were available in the old way since 2.0 - at
least according to the map file.

But versioning in the code was set to 16.04.
That breaks compatibility checks for 2.0 on that library.

For example with the dpdk abi checker:
http://people.canonical.com/~paelzer/compat_report.html

To fix, version the old symbols on the 2.0 version as they were
initially added to the map file.

See http://people.canonical.com/~paelzer/compat_report.html

Fixes: dc40f17a ("net/bonding: allow external state machine in mode 4")

Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
drivers/net/bonding/rte_eth_bond_8023ad.c
drivers/net/bonding/rte_eth_bond_8023ad.h