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 5D334A0613 for ; Wed, 25 Sep 2019 22:22:15 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9439128FD; Wed, 25 Sep 2019 22:22:14 +0200 (CEST) Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.169]) by dpdk.org (Postfix) with ESMTP id 38D9F288C for ; Wed, 25 Sep 2019 22:22:13 +0200 (CEST) Received: by mail-pg1-f169.google.com with SMTP id v27so584225pgk.10 for ; Wed, 25 Sep 2019 13:22:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/mSCbL6d0d45Gzv73nHzv5bNsx5QIa0NRxU77Pz8WRM=; b=HHILuQskFQKB/7W1S3BCEHsolQ4a7n/727szF1X9Og6i0Y9AWoGDBxGS1mFykzMSj1 lSJXIcWDF0DEmNedrDqlwg4dt2PanLNgKYlUdIUf92XnW+ObVv9m0GRR3BB91ujW/A/T wkvBtCXBIsOu3TBrn49EBTWMBk+xFzn2qDFEu8VhHi+Tq/0dCyyBF/1XryGmqSIokzhx VkQL9vgyjnOkaTcgcy2Y8SXB0g7LoxusHgzbktFZrzKW0iRq+GADNYSZ7dtbaG+mOmHx WYRWtciO8mwYUNTWuzoU2CU0lKA72EMvHVq9JP0kUkF4LwIG5Ibj0qTibjwQRS2Btdzw J2CQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/mSCbL6d0d45Gzv73nHzv5bNsx5QIa0NRxU77Pz8WRM=; b=sjhsWClwXAvQ8GLSXRantZDLQo08aLfTtqCskaLtvceVecll+R5/R2wOQPD27zy1sV XRlK/LpvWTmeAiUn813FAUbcsPPamf05gJk3Es/iSBAnhpsirhAem3GBVsHSuth5FOGW SDJuFAn4MxqdiINlBI0pYq+7ify3GjgZi0h6MKlR46VsC9ujQk+s7nmwWZLyKhVQdxYN by7I06Smtf+0hzRtLYuY9X5KAaxRfWlmH6ENU+KGuNLCXIDMoD91GkDr2GFi875FKWIP hV29nGiv7RCv+PwPjfEqD4hYR3h2fzDGy2z7pxJH79LQ10CpwuLWdHj7kD7c7fARen6L HdDQ== X-Gm-Message-State: APjAAAXIJOadj2S4HtMY5a+0ZggY8J8jnSdRf8a31Ja1ueHdtdMY65ao zzK8a3xsBDP8YS3kcZB5qFHvTQ== X-Google-Smtp-Source: APXvYqwiFT21rjv2n7CXZJxFP3tk2GUfingQbnHjw4tO3cy7J7dyTOy6ZX0ljJoXq/HXn0XH+UoQAg== X-Received: by 2002:aa7:98d2:: with SMTP id e18mr101332pfm.188.1569442932255; Wed, 25 Sep 2019 13:22:12 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id 2sm7214783pfa.43.2019.09.25.13.22.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2019 13:22:12 -0700 (PDT) Date: Wed, 25 Sep 2019 13:22:10 -0700 From: Stephen Hemminger To: "Tran (US), Katherine K" Cc: "users@dpdk.org" Message-ID: <20190925132210.7725e6e0@hermes.lan> In-Reply-To: <5cd0d1d8b5bd483692c0e3d4d5463c16@boeing.com> References: <5cd0d1d8b5bd483692c0e3d4d5463c16@boeing.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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" On Wed, 25 Sep 2019 20:06:43 +0000 "Tran (US), Katherine K" wrote: > Hello, > > I am running into an issue of a redundant struct name. Apparently, 'struct ether_addr' is redefined in DPDK (rte_ether.h). The previous definition of ether_addr is from one of the included core network API files (netinet/if_ether.h). > > How should I proceed with this compile error? Shouldn't DPDK have its own userspace? > > Regards, > Katherine Already fixed in 19.08. With earlier versions of DPDK, it is possible to cross headers since the binary layout is the same but it requires lots of unnecessary pain.