From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-gw.pt.net (smtp-gw.pt.net [206.210.194.15]) by dpdk.org (Postfix) with ESMTP id AABF11B14D for ; Wed, 24 Oct 2018 14:35:30 +0200 (CEST) X-ASG-Debug-ID: 1540384529-09411a12c68ed50001-TfluYd Received: from mail.pt.net (mail.pt.net [206.210.194.11]) by smtp-gw.pt.net with ESMTP id X6PVDUAzIMI4knsG (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 24 Oct 2018 07:35:29 -0500 (CDT) X-Barracuda-Envelope-From: lew@perftech.com X-Barracuda-Effective-Source-IP: mail.pt.net[206.210.194.11] X-Barracuda-Apparent-Source-IP: 206.210.194.11 Received: from localhost (localhost [IPv6:::1]) by mail.pt.net (Postfix) with ESMTP id BA4578425F5 for ; Wed, 24 Oct 2018 07:35:29 -0500 (CDT) Received: from mail.pt.net ([IPv6:::1]) by localhost (mail.pt.net [IPv6:::1]) (amavisd-new, port 10032) with ESMTP id HRZeN4qFvCTm for ; Wed, 24 Oct 2018 07:35:29 -0500 (CDT) Received: from localhost (localhost [IPv6:::1]) by mail.pt.net (Postfix) with ESMTP id 7D31C8425FF for ; Wed, 24 Oct 2018 07:35:29 -0500 (CDT) X-Virus-Scanned: amavisd-new at pt.net Received: from mail.pt.net ([IPv6:::1]) by localhost (mail.pt.net [IPv6:::1]) (amavisd-new, port 10026) with ESMTP id RjQSfp-vcp37 for ; Wed, 24 Oct 2018 07:35:29 -0500 (CDT) Received: from lewhome-dhcp-158.pt.net (lewhome-dhcp-158.pt.net [206.210.207.158]) (Authenticated sender: lew@pt.net) by mail.pt.net (Postfix) with ESMTPSA id 555478425F5 for ; Wed, 24 Oct 2018 07:35:29 -0500 (CDT) From: Lewis Donzis Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.0 \(3445.100.39\)) Message-Id: <905F0B17-2987-4847-A054-C94501ACBC2D@perftech.com> X-ASG-Orig-Subj: Change ether_addr to avoid conflict Date: Wed, 24 Oct 2018 07:35:28 -0500 To: dev@dpdk.org X-Mailer: Apple Mail (2.3445.100.39) X-Barracuda-Connect: mail.pt.net[206.210.194.11] X-Barracuda-Start-Time: 1540384529 X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384 X-Barracuda-URL: https://smtp-gw.pt.net:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at pt.net X-Barracuda-Scan-Msg-Size: 393 X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.60422 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Subject: [dpdk-dev] Change ether_addr to avoid conflict X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Oct 2018 12:35:31 -0000 Please consider changing "struct ether_addr" in rte_ether.h to "struct = rte_ether_addr", in order to avoid conflicts with the same structure = name /usr/include/net/ethernet.h. Sometimes, there is need to include /usr/include/net/ethernet.h, but it = conflicts with the same structure name in rte_ether.h. Was there a = reason this structure wasn't given the standard rte_ prefix? Thanks, lew=