From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v5 1/8] mbuf: add function to dump ol flag list Date: Tue, 11 Oct 2016 22:42:32 +0200 Message-ID: <27853899.2h52DiDaec@xps13> 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, pablo.de.lara.guarch@intel.com To: Olivier Matz 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) In-Reply-To: <1475856318-24616-2-git-send-email-olivier.matz@6wind.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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.