From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 3BD46A00E6 for ; Thu, 16 May 2019 07:35:18 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9443934F0; Thu, 16 May 2019 07:35:17 +0200 (CEST) Received: from mail-pl1-f195.google.com (mail-pl1-f195.google.com [209.85.214.195]) by dpdk.org (Postfix) with ESMTP id 0FF81326C for ; Thu, 16 May 2019 07:35:16 +0200 (CEST) Received: by mail-pl1-f195.google.com with SMTP id g9so1019195plm.6 for ; Wed, 15 May 2019 22:35:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=csie-io.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=5p0rNhHBt6U/TpktSE4KgM6rueDL7noDEftPMzQNBZI=; b=rilmDT4t+b//0YlkA3Dch+T4axiNIBmvWOBB07S0JiA84ZhyyUBBLg7802LWqAqgC8 E5tMP9rTv6nTlOnHSjFAGs7MOvc/UCzVCMjkp2+AUvpY8/xYcDxJszNDeGAFm0HmjQmH 0cJh2/pm5s8qK7AqT0SCsFnUCDor6oxJqrN0AuHJXyuohes4p+VG5MnKM1QW1sjfeHXD QdEigtEsJ6GrK1vpK9bBMLfrZ1LW9wLaxfwNXHHD/5fQZpX720snKIKycgoiNz0kLUfI y5G3K01vZxBMS3HCOfhk7TcqROPJ8j9ODrCFK7hjo4QhgMmydmbK9HANKBuM5lv060e3 sgLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=5p0rNhHBt6U/TpktSE4KgM6rueDL7noDEftPMzQNBZI=; b=UysLJ+zHrrR19aGOGKSteygJP7jaVtGHQNIM2hU08YhB/ZLlZyUGgR3H7NH01Tqgcp 8N7nwvspzThMqptUh+bYQ2ZTEgW1VU3jxNC/rH0kcIkpv1y8KR2ueCKG0tupW2fx9xTe Hcl2e6wK53Co9Ypn29STI+NQDKv4n7LAjfVPMNLDJYUvfzniZAYBvWDnlov9IOhvn1+g Yz/d09NUKS2JrV6oMjNVkB5zB/Z90xPnAGpldeu+la43Uy4CT3H0tt8tzoyyKf29+bp2 MdRZ2yCgEAz1lmmtUqADXYej4QvrgbOaTa8VH/AeAB0kY2p53Y1pEI0b2u0nlC1+7WHT XteQ== X-Gm-Message-State: APjAAAVSgKa+V2JfZVqrBOl+EhgFh+wHliJ5Mpi+pZOUOln59ECweloG mV/Dg4V5ywiDoXzbGA2F/dyCZQ== X-Google-Smtp-Source: APXvYqy/Sz5mSe5zk9jBlcYC/QrCbOLydNrGyt7dGsssZDJ2rqZSZ13C7o8Jh3LhDLLwL8IJq80fJA== X-Received: by 2002:a17:902:765:: with SMTP id 92mr47148457pli.196.1557984915335; Wed, 15 May 2019 22:35:15 -0700 (PDT) Received: from 2001-b400-e3a6-9e66-2da6-a2f0-9d7c-9c52.emome-ip6.hinet.net (2001-b400-e3a6-9e66-2da6-a2f0-9d7c-9c52.emome-ip6.hinet.net. [2001:b400:e3a6:9e66:2da6:a2f0:9d7c:9c52]) by smtp.gmail.com with ESMTPSA id r29sm6026101pgn.14.2019.05.15.22.35.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 May 2019 22:35:14 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) From: =?utf-8?B?5pu+5oe35oGp?= In-Reply-To: <20190513084911.GI4284@6wind.com> Date: Thu, 16 May 2019 13:34:46 +0800 Cc: Wenzhuo Lu , Konstantin Ananyev , =?utf-8?B?5by15pWs5piK?= , users@dpdk.org Content-Transfer-Encoding: quoted-printable Message-Id: <728B50C7-F3D8-4D9D-B569-66F29EB5D427@csie.io> References: <859A28C4-16C1-4397-9326-A3BEDB1AD73E@csie.io> <20190509123833.GF4284@6wind.com> <20190510134427.GG4284@6wind.com> <34F3ED03-F004-4172-9536-6CAAEE56A480@csie.io> <20190513084911.GI4284@6wind.com> To: Adrien Mazarguil X-Mailer: Apple Mail (2.3445.104.11) Subject: Re: [dpdk-users] Flow director struct rte_flow_item_raw guild X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Hi Adrien,=20 Thanks for reply, I tried to trace the mlx5 and ixgbe driver source code in DPDK source = and notice that the flow director APIs are processed in it. I also compared the difference of flow director APIs between both two = drivers and found that there is no rte_flow_item_raw defined in mlx5 = driver. Is there any possible mlx5 series NICs support rte_flow_item_raw in the = future? Thanks a lot. Best Regards, > Adrien Mazarguil =E6=96=BC = 2019=E5=B9=B45=E6=9C=8813=E6=97=A5 =E4=B8=8B=E5=8D=884:49 =E5=AF=AB=E9=81=93= =EF=BC=9A >=20 > On Sat, May 11, 2019 at 02:20:48AM +0800, Huai-En Tseng wrote: >> Thanks for reply, >>=20 >> Actually I=E2=80=99d like to use rte_flow_item_raw structure with = PPP header, the ICMP format is my little trial. >=20 > OK, makes sense, there's no pattern item for PPP yet. >=20 >> I will try X520 next week. >>=20 >> Another question, is ixgbevf also support RTE_FLOW_ITEM_RAW? >=20 > The ixgbe driver looks like it does but I'm not sure regarding the VF > variant, Cc'ing maintainers just in case. >=20 > --=20 > Adrien Mazarguil > 6WIND