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 2E670A00BE; Mon, 28 Oct 2019 17:30:01 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8E2D51BF53; Mon, 28 Oct 2019 17:29:59 +0100 (CET) Received: from cvs.linux-mips.org (eddie.linux-mips.org [148.251.95.138]) by dpdk.org (Postfix) with ESMTP id 352962AB for ; Mon, 28 Oct 2019 00:44:57 +0100 (CET) Received: (from localhost user: 'macro', uid#1010) by eddie.linux-mips.org with ESMTP id S23991783AbfJ0Xo4LVPWP (ORCPT ); Mon, 28 Oct 2019 00:44:56 +0100 Date: Sun, 27 Oct 2019 23:44:56 +0000 (GMT) From: "Maciej W. Rozycki" To: Andy Lutomirski cc: Willy Tarreau , dev@dpdk.org, Thomas Gleixner , Peter Zijlstra , LKML In-Reply-To: Message-ID: References: <20191025064225.GA22917@1wt.eu> User-Agent: Alpine 2.21 (LFD 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Mailman-Approved-At: Mon, 28 Oct 2019 17:29:58 +0100 Subject: Re: [dpdk-dev] Please stop using iopl() in DPDK 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, 25 Oct 2019, Andy Lutomirski wrote: > > I'd see an API more or less like this : > > > > int ioport(int op, u16 port, long val, long *ret); > > Hmm. I have some memory of a /dev/ioport or similar, but now I can't > find it. It does seem quite reasonable. crw-r----- 1 root kmem 1, 4 Sep 9 13:58 /dev/port Maciej