From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id 63B1CB3B7 for ; Tue, 26 Aug 2014 16:07:49 +0200 (CEST) Received: by mail-wg0-f52.google.com with SMTP id a1so14490724wgh.23 for ; Tue, 26 Aug 2014 07:11:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=qsJlhNjFdheu+cO44DDp9pzaZsORBYaW1JyFqlovwmQ=; b=GL3BMWCipoP/aqxONuWCDcNu/oo6rVzz99gsSd5C6kRM+9um79zJ1nf6vYJbAt/meI 49/N1HNhAZsiPLED+YWXDp24QlVJ0KGJ2RjTlLwsn2fbV6n0T1+yJfp9RpvPyjT01+4U ZaVuPR+Op7ghS/2JNH6+h8ZX6K6RThKbPB6cvW7dQ9pj35LO/Iuc1g0T5P+ibssD5p/W uRfkuEFox7O45Y8z4HY6Osz5FmjT/CFxb+iNCeYqXO5AMdZwRSuyqSC0wMqMNkMt+J6y qSfeIP7oJ7JGf3t29Ym5KWui4dh/h8hXVmugwboRaq0I4NjxfKMWKGjzOrEMq5fJiObB BhWA== X-Gm-Message-State: ALoCoQlybQqp1V3cEKxfKV4ptn3+hIaPLKdHjqxggIPPfGRzA2IoubwTWqp5HL1K+ytwfkNCgZWz X-Received: by 10.180.101.65 with SMTP id fe1mr22366393wib.53.1409062309378; Tue, 26 Aug 2014 07:11:49 -0700 (PDT) Received: from alcyon.dev.6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by mx.google.com with ESMTPSA id ju1sm8693095wjc.1.2014.08.26.07.11.48 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Aug 2014 07:11:48 -0700 (PDT) From: David Marchand To: dev@dpdk.org Date: Tue, 26 Aug 2014 16:11:37 +0200 Message-Id: <1409062300-17004-1-git-send-email-david.marchand@6wind.com> X-Mailer: git-send-email 1.7.10.4 Subject: [dpdk-dev] [PATCH RFC 0/3] only call iopl when necessary X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2014 14:07:49 -0000 This patch series is just a little clean up to remove the unconditionnal call to iopl on linux. Rather than call iopl() at the eal level, let the PMD that needs it call rte_eal_iopl_init(). -- David Marchand David Marchand (3): eal/bsd: fix fd leak eal: don't call rte_eal_iopl_init unconditionnally eal: remove unused flags field lib/librte_eal/bsdapp/eal/eal.c | 6 ++---- lib/librte_eal/common/include/rte_eal.h | 17 +++++++++++------ lib/librte_eal/linuxapp/eal/eal.c | 11 ++++------- lib/librte_pmd_virtio/virtio_ethdev.c | 15 ++++++++------- 4 files changed, 25 insertions(+), 24 deletions(-) -- 1.7.10.4