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 04C1CA0487 for ; Wed, 3 Jul 2019 10:05:46 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 382CF1E25; Wed, 3 Jul 2019 10:05:45 +0200 (CEST) Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) by dpdk.org (Postfix) with ESMTP id 6F8561E20 for ; Wed, 3 Jul 2019 10:05:43 +0200 (CEST) Received: by mail-pl1-f181.google.com with SMTP id a93so788477pla.7 for ; Wed, 03 Jul 2019 01:05:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=csie-io.20150623.gappssmtp.com; s=20150623; h=from:mime-version:subject:message-id:date:to; bh=vLy+TEBmk/mm/ChVt+9WE3EMLNQkLkJdjKOx24BYTs8=; b=viAnrE4QXBaSHiESm3i77t6UCa+s7as0ggzV6zOJ/KnDGZGcLoyb7DZh2moJLye7T+ 0Fvc3BX5NjTrb+rM8wkPY4NpF76c547hiS16Erqzz9cFvuDngHdL97lUw4SMETBfwgyJ eVHpGPBZOknt0TtLoOQoIPLFRDPHy2A075TPVEGYsu2GLEQTxBrBqVzwdWmCSezkjbtY wyiYXFMv1TtWQVmf/9/qIMq9l0o1GaoRO02n8hohvVKjbXHeOtfE0B1xb65TXHG5zgPL vqLuT65KI0eQJFF3TM9vr45PKZ0nCtLG/F6FNZ2S5gXjLhHpnwonFlh//YxIEY7pAfBg fhpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:message-id:date:to; bh=vLy+TEBmk/mm/ChVt+9WE3EMLNQkLkJdjKOx24BYTs8=; b=UQQxMcwuWgHuUDQcfB9ycTsW1KU3yxaLVFS8LHI3bUVX/z4gF438ovn2GYzepAlZSi JPWo8U7SkqSlOKtg6Jn6XjdMCwAj2klO4g8hcxcexFLEBoaKvIlju3uZbHy98Sntsymz 5Q1Q5oN8lfPdZZpkgQMLn20FAYWe4x/3A2yoAstHID355GSLc6kmsgZpfXzkCQlLxppK dUj5Mp+sgpFjmiMr81CPESTKxRCNVmOAFYGiEmps9FlKIWiFEbSQ15h6+bpwyTZZ8ZDI g4Oyz1lWgyh5kKdjQh9pfKomTuIlyDX5efh6l9lj9vIzUPgZJaDIAI3WJWF58eGbeG9F F9Pw== X-Gm-Message-State: APjAAAWh6sDDqJz9vzNgkxCdHhJ7/dQKedjXSdVLy3fIrVLSFwTZ3lQ6 jaQ2wtHzYa2/9BJI679hmHKo1GdQ3fg= X-Google-Smtp-Source: APXvYqxfEdrPwpWoqVNUWSmQrS17CxDg/1Pkm4CktHXteww38WHxk/WxAcZ16fSeh1yI8OMxxzzeGQ== X-Received: by 2002:a17:902:b20c:: with SMTP id t12mr41159026plr.285.1562141142385; Wed, 03 Jul 2019 01:05:42 -0700 (PDT) Received: from 2001-b400-e2ac-1a8f-d129-04d9-8e00-8d29.emome-ip6.hinet.net (2001-b400-e2ac-1a8f-d129-04d9-8e00-8d29.emome-ip6.hinet.net. [2001:b400:e2ac:1a8f:d129:4d9:8e00:8d29]) by smtp.gmail.com with ESMTPSA id t17sm1427694pgg.48.2019.07.03.01.05.40 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Jul 2019 01:05:41 -0700 (PDT) From: Huai-En Tseng Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Message-Id: <3D036938-873A-44AC-B42F-B63909ADAFF1@csie.io> Date: Wed, 3 Jul 2019 16:05:34 +0800 To: users@dpdk.org X-Mailer: Apple Mail (2.3445.104.11) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] direct specific packets to specific receive queue 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,=20 I suppose below three things to understand what difference between flex = filter, fdir, flex payload and how to use them by tracing source code in = testpmd. =20 First, while I use flex filter API with rte_eth_dev_filter_ctrl(), = RTE_ETH_FILTER_FLEXIBLE and struct rte_eth_flex_filter on my CX4 and = X520 its not working. And I find that in dpdk NIC driver there are only a little NICs like igb = NIC support it, so I assume flex filter does not support most NICs such = as i40e, ixgbe, ixgbevf and mlx5. Second, I assume the fdir API is a smaller set which is included the = flex filter API. Third, flex payload is kind of flex filter API application. Is all my assumption right? And is there any full support hardware list? Last question, is there any method that I can direct specific packets to = specific receive queue? I want to direct pppoe packets to specific receive queue.=20 I have tried the raw fdir API but it has limited function in X520, and = testpmd flex filter is not working on my CX4 and X520 too. I also find there is a feature DDP in Intel 700 series NICs but it seems = only detects pppoe header but I need to detect ppp header in pppoe = header. Thanks a lot.=