From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id D47FB2C69 for ; Mon, 29 Feb 2016 11:47:16 +0100 (CET) Received: by mail-wm0-f50.google.com with SMTP id p65so39519822wmp.0 for ; Mon, 29 Feb 2016 02:47:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=QGnb8Nzo6LuUg4upJST68F+8LDHHEIjPVJdvvfd5CEM=; b=EiYOQUkIJsG+Otfwt7OGtr1EH5OHQj/MoAR6E7rzNlLe4PIyVdhlNYzwvseuP2L6PX YM2DY6hA0+XprAq+4hKW7J/4QA9s/u7MO8JrtTakm5BJc5vNHTXtF9YZCOxDthFghC1b xd5k4qW/5HPmCRR/JXKNmQIp6k2RPBTXaGA0X3xaRsKOV+eazuDnrYvc9cheMx8vRMAi 2JUnHQ84KFpaZlh8rjnGb8H4j5zZLWagfkNqgBpjMc+gP1WY1AURf9Fn7yXFF49OXRgw RjCdMycoxcC4UQIsxPr1Uk1UuErQazWfQXghxNv7u+kNUkloNcTAFgWe1EUfXFHARvC+ aMiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=QGnb8Nzo6LuUg4upJST68F+8LDHHEIjPVJdvvfd5CEM=; b=RtYk+OTjCWxZq0WTzCnHZYjET3jvKGuAESiQeu2C1JYMiOexuc6ud/Tquy2n7tFoOY TEdOv4O8QitBdEprvzcQrPBC8nOWhlURP38uZ0UOLKeVsFWizpjjKwA4ibbR7t0iGOcE jVo11+EunKs/BjLqaBpcghp3jREh6Izcx3TWd7MXprvDObfQw2ZtxuDuHG/3D7QdemrE hSaDa+GWlE8UNxpUdbjENfreV+Tzf4oOLULKoDtNYvdhVNcJjl0E6GEajVRisydRxbQZ zSELBfzRqJs3yFnq0KCb24f+SUTDZXMg1cyasNfRLtRUxiJbj5WRtkK+DNMhHlX5nik5 +CYA== X-Gm-Message-State: AD7BkJKQDTRrwYkAXcuE1vybS7NNF17E1ANGH2ljjr0G2DH4s4ORxVZNEciuNuLtXKw9mLeL X-Received: by 10.28.131.141 with SMTP id f135mr10568362wmd.33.1456742836648; Mon, 29 Feb 2016 02:47:16 -0800 (PST) Received: from xps13.localnet (171.36.101.84.rev.sfr.net. [84.101.36.171]) by smtp.gmail.com with ESMTPSA id jf6sm4369515wjb.2.2016.02.29.02.47.15 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 29 Feb 2016 02:47:15 -0800 (PST) From: Thomas Monjalon To: Tomasz Kulasek Date: Mon, 29 Feb 2016 11:45:39 +0100 Message-ID: <3693025.4xSy8mvUuT@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1456741987-2196-1-git-send-email-tomaszx.kulasek@intel.com> References: <1456307324-3116-1-git-send-email-tomaszx.kulasek@intel.com> <1456741987-2196-1-git-send-email-tomaszx.kulasek@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v3] examples/l3fwd: exact-match rework 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: Mon, 29 Feb 2016 10:47:17 -0000 2016-02-29 11:33, Tomasz Kulasek: > Current implementation of Exact-Match uses different execution path than > for LPM. Unifying them allows to reuse big part of LPM code and sightly > increase performance of Exact-Match. > > Main changes: > ------------- > * Packet classification stage is separated from the rest of path for both > LPM and EM. > * Packet processing, modifying and transmit part is the same for LPM and EM > and mostly based on the current LPM implementation. > * Shared code is moved to the common file "l3fwd_sse.h". > * While sequential packet classification in EM path, seems to be faster > than using multi hash lookup, used before, it is used by default. Old > implementation is moved to the file l3fwd_em_hlm_sse.h and can be enabled > with HASH_LOOKUP_MULTI global define in compilation time. > > This patch depends of Ravi Kerur's "Modify and modularize l3fwd code" and > should be applied after it. > > Changes in v3: > - fixed error: unused function 'l3fwd_em_simple_forward'. This function is > used only in l3fwd_em_no_opt_send_packets, and after moving it to new > header file l3fwd_em.h in Ravi's patch, also should be moved there. > > Changes in v2: > - patch rebase to be applicable on top of "Modify and modularize l3fwd > code" v3 > > Signed-off-by: Tomasz Kulasek > Acked-by: Konstantin Ananyev Applied, thanks