Thread (57 messages) 57 messages, 6 authors, 2016-03-13

Re: [PATCH v6 1/4] lib/ether: optimize the'rte_eth_tunnel_filter_conf' structure

From: Panu Matilainen <hidden>
Date: 2016-03-02 07:12:10

On 03/02/2016 05:10 AM, Sun, Xutao wrote:
Hi, Panu
quoted
-----Original Message-----
From: Panu Matilainen [mailto:pmatilai@redhat.com]
Sent: Tuesday, March 01, 2016 4:54 PM
To: Sun, Xutao <redacted>; dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH v6 1/4] lib/ether: optimize
the'rte_eth_tunnel_filter_conf' structure

On 03/01/2016 05:47 AM, Xutao Sun wrote:
quoted
Change the fields of outer_mac and inner_mac from pointer to struct in
order to keep the code's readability.

Signed-off-by: Xutao Sun <redacted>
Signed-off-by: Jijiang Liu <redacted>
---
   app/test-pmd/cmdline.c                 |  6 ++++--
   doc/guides/rel_notes/deprecation.rst   |  5 -----
   doc/guides/rel_notes/release_16_04.rst |  2 ++
   drivers/net/i40e/i40e_ethdev.c         | 12 ++++++------
   lib/librte_ether/rte_eth_ctrl.h        |  4 ++--
   5 files changed, 14 insertions(+), 15 deletions(-)
Since this is the commit actually changing the ABI, its best to actually bump
LIBABIVER right here as well lest it go forgotten, and also update the list of
shared library versions in release notes.
See commit d8c4ae275582784ec0ff3b2c54a4c861b55bc056 for an example.

Oh and sorry for not noticing this earlier.

	- Panu -
I didn't use the Macro "RTE_NEXT_ABI", so I think I don't need to update the shared library verisons.
And I also updated the doc about ABI change in the deprecation.rst and release notes.
Shared library version MUST change when there's an incompatible change 
to prevent programs/libraries linked against the older version to be 
used with the incompatible version, that is the sole reason for 
versioning the libraries in the first place. Whether RTE_NEXT_ABI is 
used or not is not relevant.

In fact RTE_NEXT_ABI creates a shared library version of its own, sort 
of parallel to the current one. The basic idea remains the same though: 
shared library version has to change when an incompatible change goes in.

	- Panu -

	- Panu -





	- Panu -



	- Panu -
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help