[v2,0/3] examples: fix use of internal struct
Message ID | 20190717075806.2320-1-marcinx.a.zapolski@intel.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DD21C1B53; Wed, 17 Jul 2019 09:58:39 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 662ED23D for <dev@dpdk.org>; Wed, 17 Jul 2019 09:58:38 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Jul 2019 00:58:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,273,1559545200"; d="scan'208";a="187509426" Received: from marcinzx-mobl.ger.corp.intel.com ([10.103.104.99]) by fmsmga001.fm.intel.com with ESMTP; 17 Jul 2019 00:58:36 -0700 From: Marcin Zapolski <marcinx.a.zapolski@intel.com> To: dev@dpdk.org Cc: Marcin Zapolski <marcinx.a.zapolski@intel.com> Date: Wed, 17 Jul 2019 09:58:03 +0200 Message-Id: <20190717075806.2320-1-marcinx.a.zapolski@intel.com> X-Mailer: git-send-email 2.22.0.windows.1 In-Reply-To: <20190715095623.579-1-marcinx.a.zapolski@intel.com> References: <20190715095623.579-1-marcinx.a.zapolski@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [v2 0/3] examples: fix use of internal struct X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
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(-)