From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2765FA0613 for ; Wed, 25 Sep 2019 22:31:53 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6727AB62; Wed, 25 Sep 2019 22:31:52 +0200 (CEST) Received: from clt-mbsout-01.mbs.boeing.net (clt-mbsout-01.mbs.boeing.net [130.76.144.162]) by dpdk.org (Postfix) with ESMTP id 00C7C2AB for ; Wed, 25 Sep 2019 22:31:50 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by clt-mbsout-01.mbs.boeing.net (8.14.4/8.14.4/DOWNSTREAM_MBSOUT) with SMTP id x8PKVngl005235; Wed, 25 Sep 2019 16:31:49 -0400 Received: from XCH16-04-09.nos.boeing.com (xch16-04-09.nos.boeing.com [144.115.66.87]) by clt-mbsout-01.mbs.boeing.net (8.14.4/8.14.4/UPSTREAM_MBSOUT) with ESMTP id x8PKVkr4005178 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=FAIL); Wed, 25 Sep 2019 16:31:46 -0400 Received: from XCH16-04-08.nos.boeing.com (144.115.66.86) by XCH16-04-09.nos.boeing.com (144.115.66.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.1.1713.5; Wed, 25 Sep 2019 13:31:45 -0700 Received: from XCH16-04-08.nos.boeing.com ([fe80::adbd:9838:ba8e:54f]) by XCH16-04-08.nos.boeing.com ([fe80::adbd:9838:ba8e:54f%2]) with mapi id 15.01.1713.004; Wed, 25 Sep 2019 13:31:45 -0700 From: "Tran (US), Katherine K" To: Stephen Hemminger CC: "users@dpdk.org" Thread-Topic: [dpdk-users] Redundant struct ether_addr Thread-Index: AdVz3LbblW5cqat3Tw+N8GMry9LGvgAPN4gAAA6SnmA= Date: Wed, 25 Sep 2019 20:31:45 +0000 Message-ID: <16463210c6784c83a373796f795a155e@boeing.com> References: <5cd0d1d8b5bd483692c0e3d4d5463c16@boeing.com> <20190925132210.7725e6e0@hermes.lan> In-Reply-To: <20190925132210.7725e6e0@hermes.lan> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [137.137.12.6] x-tm-snts-smtp: 978D3C47BA774FA8547B3E200BCB29392573FB71EBEBC6F5BA19EBEBFF98F8C62000:8 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-TM-AS-GCONF: 00 Subject: Re: [dpdk-users] Redundant struct ether_addr X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" My linux machine is using Ubuntu 18.04.1 which has the dpdk version 17.11.6= . Since I am using dpdk as a API library, I would like to use 'apt-get' to= install dpdk. I would like to avoid downloading the entire DPDK source cod= e.=20 Is there a PPA for me to update the dpdk version?=20 -----Original Message----- From: Stephen Hemminger [mailto:stephen@networkplumber.org]=20 Sent: Wednesday, September 25, 2019 1:22 PM To: Tran (US), Katherine K Cc: users@dpdk.org Subject: Re: [dpdk-users] Redundant struct ether_addr On Wed, 25 Sep 2019 20:06:43 +0000 "Tran (US), Katherine K" wrote: > Hello, >=20 > I am running into an issue of a redundant struct name. Apparently, 'struc= t ether_addr' is redefined in DPDK (rte_ether.h). The previous definition o= f ether_addr is from one of the included core network API files (netinet/if= _ether.h). >=20 > How should I proceed with this compile error? Shouldn't DPDK have its own= userspace? >=20 > Regards, > Katherine Already fixed in 19.08. With earlier versions of DPDK, it is possible to cross headers since the bi= nary layout is the same but it requires lots of unnecessary pain.