From patchwork Wed Oct 11 16:00:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Fischetti, Antonio" X-Patchwork-Id: 824480 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=openvswitch.org (client-ip=140.211.169.12; helo=mail.linuxfoundation.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yBzH201tNz9s83 for ; Thu, 12 Oct 2017 03:01:02 +1100 (AEDT) Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id E29EAA59; Wed, 11 Oct 2017 16:00:59 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@mail.linuxfoundation.org Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id E7038927 for ; Wed, 11 Oct 2017 16:00:58 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 82C07422 for ; Wed, 11 Oct 2017 16:00:58 +0000 (UTC) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Oct 2017 09:00:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos; i="5.43,362,1503385200"; d="scan'208"; a="1180952321" Received: from sivswdev01.ir.intel.com (HELO localhost.localdomain) ([10.237.217.45]) by orsmga001.jf.intel.com with ESMTP; 11 Oct 2017 09:00:56 -0700 From: antonio.fischetti@intel.com To: dev@openvswitch.org Date: Wed, 11 Oct 2017 17:00:50 +0100 Message-Id: <1507737656-31627-1-git-send-email-antonio.fischetti@intel.com> X-Mailer: git-send-email 1.7.0.7 MIME-Version: 1.0 X-Spam-Status: No, score=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD autolearn=disabled version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Subject: [ovs-dev] [PATCH v5 0/6] netdev-dpdk: Fix management of pre-existing mempools. X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: ovs-dev-bounces@openvswitch.org Errors-To: ovs-dev-bounces@openvswitch.org List of versions: - v5: manage new MTU value when a pre-existing mempool is returned. - v4: fix NUMA awareness usecase - v3: avoid deletion of pre-existing mempools - v2: rework to accomodate code changes for dpdk ports too - v1: 1st implementation. Fischetti, Antonio (6): netdev-dpdk: fix management of pre-existing mempools. netdev-dpdk: Fix mempool names to reflect socket id. netdev-dpdk: skip init for existing mempools. netdev-dpdk: assert mempool names. netdev-dpdk: Reword mp_size as n_mbufs. netdev-dpdk: Rename dpdk_mp_put as dpdk_mp_free. lib/netdev-dpdk.c | 88 +++++++++++++++++++++++++++++++------------------------ 1 file changed, 50 insertions(+), 38 deletions(-)