From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by dpdk.org (Postfix) with ESMTP id A01DB2C4D for ; Tue, 11 Oct 2016 22:42:34 +0200 (CEST) Received: by mail-wm0-f46.google.com with SMTP id c78so8598736wme.1 for ; Tue, 11 Oct 2016 13:42:34 -0700 (PDT) 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:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=cdHBahs0VaQFgTUef66gNRCY/j1DC1+3SxqfGyENToc=; b=r1BEcx6xH2fbp1J41jSUabNYhWEbITZiuaz/1nJm5Y3MYNNPKkT/9s/X5KXfojIc2C UwCMQm58/Yw12V4z4PCWjBz5mMKPpcpYLXSXDxSng7bv4hb6FM6FGRfhGdl1rizUseb1 x4aPubuWC3MbZIqqvtLCG8ih4Dyz6c1h26SWgYvmEAJ0Su3OCKusgZkOpGPxKBTYcX9A c7p+8PTM3d3EjKVXoKISHUKx0Ay/XsuJdKWNud4CtTvri1R0Of+3RSTBquYJiwgUPCoL SeHf4Z14+LduQQ5V+cCtU1ZPf7dbmU/B/Quf70DQtDeMnCwupV+GcCk8PGzUWLeN+sgE qHWg== 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:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=cdHBahs0VaQFgTUef66gNRCY/j1DC1+3SxqfGyENToc=; b=QOwNNBNeWIb8we7pgyKTstZ1ZU+4xCxof+PYl0RX6sVf1pzhKsQrrFhM02P5uNmcwB bGNBUIzrH5Nz0AREQ5sSmVekVEdGYtL7WsQJV0Z3D0tBiENVZQctMTqq4WQijme1uUjo uBVjaDNA55AD6T92ia1EFM3K3XjVpgckcBHFjYU9oHrCWNxzU3qPneJ4rzRtkqPUl8Jg PNgzZYPkS2NLxIvFVYEzPvI0aOEKBF/oRsoknmiztIr8nRUbnDQnkIjviiI9s2uQ5Vqh scQVlaffoXCBH7YwmF0ve0Jm7+Fq/GYCvUBBEAtNE9HUDIQ0J3OY2PFzzaSn0f0gjIcH vkJg== X-Gm-Message-State: AA6/9RnSgNQJryanyQTQIYT1QkYqxpKpW1kxAXAG+TaG6YbUqinJarNa0R0XKDWdw9OKb0ai X-Received: by 10.28.130.18 with SMTP id e18mr445017wmd.75.1476218554381; Tue, 11 Oct 2016 13:42:34 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id 10sm638106wms.22.2016.10.11.13.42.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Oct 2016 13:42:33 -0700 (PDT) From: Thomas Monjalon To: Olivier Matz Cc: dev@dpdk.org, pablo.de.lara.guarch@intel.com Date: Tue, 11 Oct 2016 22:42:32 +0200 Message-ID: <27853899.2h52DiDaec@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1475856318-24616-2-git-send-email-olivier.matz@6wind.com> References: <1473407734-11253-1-git-send-email-olivier.matz@6wind.com> <1475856318-24616-1-git-send-email-olivier.matz@6wind.com> <1475856318-24616-2-git-send-email-olivier.matz@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v5 1/8] mbuf: add function to dump ol flag list 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, 11 Oct 2016 20:42:34 -0000 2016-10-07 18:05, Olivier Matz: > The functions rte_get_rx_ol_flag_name() and rte_get_tx_ol_flag_name() > can dump one flag, or set of flag that are part of the same mask (ex: > PKT_TX_UDP_CKSUM, part of PKT_TX_L4_MASK). But they are not designed to > dump the list of flags contained in mbuf->ol_flags. > > This commit introduce new functions to do that. Similarly to the packet > type dump functions, the goal is to factorize the code that could be > used in several applications and reduce the risk of desynchronization > between the flags and the dump functions. > > Signed-off-by: Olivier Matz I think it must be rebased because of "mbuf: add Tx side tunneling type": http://dpdk.org/commit/63c0d74 Sorry for the late notification.