mbox series

[v2,0/3] examples: fix use of internal struct

Message ID 20190717075806.2320-1-marcinx.a.zapolski@intel.com (mailing list archive)
Headers show
Series examples: fix use of internal struct | expand

Message

Marcin Zapolski July 17, 2019, 7:58 a.m. UTC
Some example applications have references to rte_eth_dev structure,
which is not a part of public API. These patches replace them with
calls to API functions.

v2:
* adjust commit titles
* add fixlines for the original commits

Marcin Zapolski (3):
  examples/l3fwd*: fix use of internal struct
  examples/ip_fragmentation: fix use of internal struct
  examples/ipsec-secgw: fix use of internal struct

 examples/ip_fragmentation/main.c                | 2 +-
 examples/ipsec-secgw/ipsec.c                    | 9 ++++-----
 examples/l3fwd-acl/main.c                       | 6 +-----
 examples/l3fwd-power/main.c                     | 6 +-----
 examples/l3fwd-vf/main.c                        | 7 +------
 examples/l3fwd/main.c                           | 6 +-----
 examples/performance-thread/l3fwd-thread/main.c | 6 +-----
 7 files changed, 10 insertions(+), 32 deletions(-)

Comments

Thomas Monjalon July 18, 2019, 8:42 p.m. UTC | #1
> Marcin Zapolski (3):
>   examples/l3fwd*: fix use of internal struct
>   examples/ip_fragmentation: fix use of internal struct
>   examples/ipsec-secgw: fix use of internal struct

Applied, thanks