From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id 63E1F58E4 for ; Tue, 25 Nov 2014 11:12:42 +0100 (CET) Received: by mail-wg0-f52.google.com with SMTP id a1so400041wgh.39 for ; Tue, 25 Nov 2014 02:23:34 -0800 (PST) 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:content-type; bh=gciGSAq/a2KDMtD5ZmvKYfk8/SinIGOeJ7Rin3Dbq94=; b=G4F3FZ9nOl+Xw5El+8YOkK2sgqSeib6745xYlG5e8O/3sdwCuE/EyX9o7Je3twXfUE jxV3K5Dsj+/hNNx+P4Fu91rhfRGdas+x/tbtV4lPBnFbBT/xkHxlYdDh568noK7Omzkn mnVtxxXrdNpxu4LtGCzsmc1gbEQRbblXqGr8ZwgpgX0AJz8RW+uYCV/4LSmiq0GFK6Kr XWbzZa7UJbj2vKrZuiAJy1b+yZ5/KklNEHvH7yESZLFNWEFW6UV+kkuFGXnsWV+k9/7t V7T0Ebkg9TbBmCwrrkdOwR44QoBR8No9qPdJW7vOHhdzMZ6Jhh2/ocQ1hoh+WrkrKx3v Xy9Q== X-Gm-Message-State: ALoCoQlNSipChio8JZAdzw9hSrJ10pp5DGlEa04ZLHblYtT+vEK56vYJr6XDPHtmU9PdSy8ybXSa X-Received: by 10.195.17.231 with SMTP id gh7mr42546622wjd.21.1416911014235; Tue, 25 Nov 2014 02:23:34 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id eu15sm2168663wid.18.2014.11.25.02.23.32 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Nov 2014 02:23:33 -0800 (PST) From: Thomas Monjalon To: dev@dpdk.org Date: Tue, 25 Nov 2014 11:23:09 +0100 Message-ID: <8355108.7nNKShSdjv@xps13> Organization: 6WIND User-Agent: KMail/4.14.2 (Linux/3.17.2-1-ARCH; KDE/4.14.2; x86_64; ; ) In-Reply-To: <1416524335-22753-7-git-send-email-olivier.matz@6wind.com> References: <1415984609-2484-1-git-send-email-olivier.matz@6wind.com> <1416524335-22753-1-git-send-email-olivier.matz@6wind.com> <1416524335-22753-7-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 v3 06/13] mbuf: add functions to get the name of an ol_flag 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, 25 Nov 2014 10:12:43 -0000 > In test-pmd (rxonly.c), the code is able to dump the list of ol_flags. > The issue is that the list of flags in the application has to be > synchronized with the flags defined in rte_mbuf.h. > > This patch introduces 2 new functions rte_get_rx_ol_flag_name() > and rte_get_tx_ol_flag_name() that returns the name of a flag from > its mask. It also fixes rxonly.c to use this new functions and to > display the proper flags. > > Signed-off-by: Olivier Matz Any comment or ack? -- Thomas