From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 84002133F for ; Mon, 20 Mar 2017 16:37:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1490024253; x=1521560253; h=subject:to:references:from:message-id:date:mime-version: in-reply-to:content-transfer-encoding; bh=1xTcJ8uFaW0Ex05Eo0kqZjypIAwi0+1zsgizCHXYwxA=; b=tr5yUJCwc4Ub2JL1464gJQM1MagzQyDhAzYb5hZ4QTlcdLKqwICUSdQS 5iivYXY7GmLyGtz6VA8LSc204lyC+Q==; Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Mar 2017 08:37:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,194,1486454400"; d="scan'208";a="78450579" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.122]) ([10.237.220.122]) by fmsmga005.fm.intel.com with ESMTP; 20 Mar 2017 08:37:31 -0700 To: Andrew Rybchenko , dev@dpdk.org References: <1488438439-14776-1-git-send-email-arybchenko@solarflare.com> <1490004919-2177-1-git-send-email-arybchenko@solarflare.com> From: Ferruh Yigit Message-ID: <9f2cd334-cde4-ca24-0db8-90cc27062f57@intel.com> Date: Mon, 20 Mar 2017 15:37:30 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <1490004919-2177-1-git-send-email-arybchenko@solarflare.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2 00/13] Improve Solarflare PMD performance 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: Mon, 20 Mar 2017 15:37:33 -0000 On 3/20/2017 10:15 AM, Andrew Rybchenko wrote: > Implement EF10 (SFN7xxx and SFN8xxx) native datapaths which may be > chosen per device using PCI whitelist device arguments. > > libefx-based datapath implementation is bound to API and structure > imposed by the libefx. It has many indirect function calls to > provide HW abstraction (bad for CPU pipeline) and uses many data > structures: driver Rx/Tx queue, driver event queue, libefx Rx/Tx > queue, libefx event queue, libefx NIC (bad for cache). > > Native datapath implementation is fully separated from control > path to be able to use alternative control path if required > (e.g. kernel-aware). > > Native datapaths show better performance than libefx-based. > > v2: > - fix spelling, reword commit messages as requested > - exclude packed stream support since it shows worse performance yet > because of indirect mbufs usage > - use uint16_t for port_id to avoid changes when corresponding > mbuf patches are applied > - add header with functions shared by EF10 Rx and Tx > - clear event queue entries by cache-lines > - remove unnecessary checks in refill code > - add missing BSD LICENSE line to new files > - avoid usage of function pointers in state structures, make EF10 > native datapath multi-process support friendly to avoid code > shuffling in the future > - remove unnecessary memory barriers, add corresponding comments > - do not use libefx macros for Rx/Tx queue limit, define own which > take event queue clear by cache-line into account > > Andrew Rybchenko (13): > net/sfc: use different callbacks for event queues > net/sfc: emphasis that RSS hash flag is an Rx queue flag > net/sfc: do not use Rx queue control state on datapath > net/sfc: factor out libefx-based Rx datapath > net/sfc: make Rx scatter a datapath-dependent feature > net/sfc: remove few conditions in Rx queue refill > net/sfc: implement EF10 native Rx datapath > net/sfc: factor out libefx-based Tx datapath > net/sfc: make VLAN insertion a datapath-dependent feature > net/sfc: make TSO a datapath-dependent feature > net/sfc: implement EF10 native Tx datapath > net/sfc: make multi-segment support a Tx datapath feature > net/sfc: implement simple EF10 native Tx datapath Series applied to dpdk-next-net/master, thanks.