From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4DF9CA04C2; Mon, 25 Nov 2019 15:24:49 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 671CB2952; Mon, 25 Nov 2019 15:24:48 +0100 (CET) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) by dpdk.org (Postfix) with ESMTP id 671AB28EE for ; Mon, 25 Nov 2019 15:24:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1574691886; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+wzcJyLnogATMqObGHoYRBS33/AQLhzBFiQEKejyk3M=; b=B/36prvzJYxK66I6vZVEQLKACb9xuWhL2SZHIV/ChMlPC6mP4YZ4g03ztUlW4l0adnrHvN x0aPJ250+UqysqUwZttbGUN+LCIa0/lYcKN1J4BsKPq7ggigt4tZ07DFyy/mbGzIK0Akcr LhD0UtYJ0GBCflWHng43neZcPJ9NaQw= Received: from mail-vs1-f69.google.com (mail-vs1-f69.google.com [209.85.217.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-223-D5IbfcNbOwGI3f-NseosRQ-1; Mon, 25 Nov 2019 09:24:45 -0500 Received: by mail-vs1-f69.google.com with SMTP id e18so2091310vsp.8 for ; Mon, 25 Nov 2019 06:24:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Sge01LrVgyChSxBDtphLfZYx6aeZYl/D/wufrmcP6rw=; b=BNkNj1UqT2gUupPMd+prDPUGZsCp6x4PC+xWhRfU3Skj9cocH2v7lL24NMpEmSZtpJ CxW8/2C3GaOubkWCvuqdYXk5Ja1nctEA/smEJ/D/3ww+EzEjAgKP4XPaT6iKsFMNFTii R56T54iLPtIhQSPd++RFFUGchVuo0pdjgjTCJIge1BFWFIZmXOMpVzNVjzzpMQO21qMz 2ppJz/VmTexQraytrWkw9v/ddJ7g7vRVAi2XPWMkIomNkChMjhfs2gTHtVJk/XkPBGuo PdlhLu/DOBbsX3gmZZSYU1Zf0K+/wFY1l+h1IesrkLIWajPeqHSC2Mzn3gqdTxGOKpLO LKUg== X-Gm-Message-State: APjAAAXv4ZfrnW1kXJ+EqJsJzHrcTGTtDmhPf6a8aHqxaYi+nCzKM+ok V06mRXqp69PY8Bhrl6JuXupzYMxhmb3J36TBBv3jfCrnFNw3i1ojRD5hm0AFcigA/VxV+Z/Z/vn U3iQ2TyQKAIgzpXFURe8= X-Received: by 2002:a67:f3c7:: with SMTP id j7mr19073151vsn.141.1574691885127; Mon, 25 Nov 2019 06:24:45 -0800 (PST) X-Google-Smtp-Source: APXvYqxcv+jbFQI4sjxeGESQu3GFu/bbxfS714D6itVOldiYaNh1bYBLsjXmCp/2Gqqu0VHMpYka3pTSRolC1O1sL7I= X-Received: by 2002:a67:f3c7:: with SMTP id j7mr19073126vsn.141.1574691884830; Mon, 25 Nov 2019 06:24:44 -0800 (PST) MIME-Version: 1.0 References: <1572940915-29416-1-git-send-email-viacheslavo@mellanox.com> <1573146604-17803-1-git-send-email-viacheslavo@mellanox.com> <1573146604-17803-17-git-send-email-viacheslavo@mellanox.com> In-Reply-To: <1573146604-17803-17-git-send-email-viacheslavo@mellanox.com> From: David Marchand Date: Mon, 25 Nov 2019 15:24:34 +0100 Message-ID: To: Viacheslav Ovsiienko Cc: dev , Matan Azrad , Raslan , Thomas Monjalon , Ori Kam , Yongseok Koh X-MC-Unique: D5IbfcNbOwGI3f-NseosRQ-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] [PATCH v3 16/19] net/mlx5: add meta data support to Rx datapath 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, Nov 7, 2019 at 6:13 PM Viacheslav Ovsiienko wrote: > @@ -1011,7 +1010,29 @@ > pkts[pos + 3]->timestamp =3D > rte_be_to_cpu_64(cq[pos + p3].timestamp); > } > - > + if (rte_flow_dynf_metadata_avail()) { > + uint64_t flag =3D rte_flow_dynf_metadata_mask; > + int offs =3D rte_flow_dynf_metadata_offs; IIUC, this patch does not use the helpers from rte_flow.h: RTE_FLOW_DYNF_METADATA, PKT_RX_DYNF_METADATA. --=20 David Marchand