From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 607EF4318D for ; Tue, 17 Oct 2023 17:52:28 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 51C78411F3; Tue, 17 Oct 2023 17:52:28 +0200 (CEST) Received: from mail-pj1-f49.google.com (mail-pj1-f49.google.com [209.85.216.49]) by mails.dpdk.org (Postfix) with ESMTP id A272A410FD for ; Tue, 17 Oct 2023 17:52:27 +0200 (CEST) Received: by mail-pj1-f49.google.com with SMTP id 98e67ed59e1d1-27d0251d305so3348788a91.2 for ; Tue, 17 Oct 2023 08:52:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1697557947; x=1698162747; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=wpadBCpAOVI1JZt1e/6pHlxTEy57Ie6sRbZtYngTwCA=; b=dyBzV3IA13nuDRlSX7tyCH7twxXx4Vl1XK1U4w8l6KnpZHXkYG2kdQD14Kd60n0lwF QMc0pkuFkbezKoICan6TlAVFwTVbf3rVM29vXWWkEK4OQDdZFljNSnANnYXw3YQDykT8 vEgRJY67Cwqelge+21vGInH2ZdAWxyB/Io5SjIgJzuDYrNPWyCOXX/PeI925tVwx+HOF 3NqMlaIzahzKd9Tj0HEEvQCoStAR07uJGVd3Jlw+/twdi/D49U7Euoj6IqaAQP6mD39k 5wBaU3WAN3uzkKoz1CnTf99KcmaSbLSFO7JljTUaqzfpgJGEeioWCDBOnQtYehnlgowi A9aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697557947; x=1698162747; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wpadBCpAOVI1JZt1e/6pHlxTEy57Ie6sRbZtYngTwCA=; b=DwLIKfMbzedKViR3wIus84V0t8BoigzoZG8PXgykUBGKb4lHmGW8kXPcFo+du1c3xQ 5g9uhQ8HRN35zMRoq8AKjQZwhyqYHD9866c1GeauaCu/9Gl5a6kC57CObNrpOWVHr5h1 kOpWwkLBELKCPG1X3hELNy+M/sSdk5Vb+J8yod98qopjwJ1AlnM4EgRi2GkLKb0Yx2Oy ofLNiMd0ttiGirvyV2CIV6/TeRlgaubWvqcd6Cpq72/NenyTKBgBZTEk0mqrXXPOGCP0 qYjFsphCOxHgMngk7OjV9bQqlcAoG5uWfe6annH/zlRsCSw5OqQ5Ub/OVs4OfOfuIES+ lYqw== X-Gm-Message-State: AOJu0Yzcvi/BkB9Cqa5+XR2SbhO2fnBljvqO2NvqkOd/K0AItEtbA2do op+feoBsPA2yMwE7HgkeMkWNsQ== X-Google-Smtp-Source: AGHT+IEtqjgqZM3x61XNOhb5d2MyOpQTXTwDpM4lFdSuLzUaIpI7BXO/3YH9mMN0LV5Nb9MQ1TGh6Q== X-Received: by 2002:a17:90a:1549:b0:268:5575:93d9 with SMTP id y9-20020a17090a154900b00268557593d9mr2483115pja.10.1697557946823; Tue, 17 Oct 2023 08:52:26 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id m1-20020a170902db0100b001c72c07c9d9sm1711836plx.308.2023.10.17.08.52.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 08:52:26 -0700 (PDT) Date: Tue, 17 Oct 2023 08:52:25 -0700 From: Stephen Hemminger To: "jiangheng (G)" Cc: "beilei.xing@intel.com" , "users@dpdk.org" , "Fanbin(Kira,2012 Blue Lab.)" Subject: Re: Whether the creatation of flow rules of i40e NIC support tcp port mask Message-ID: <20231017085225.1b35dee7@hermes.local> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org On Tue, 17 Oct 2023 08:52:22 +0000 "jiangheng (G)" wrote: > Hi beilei=EF=BC=8C >=20 > I would like to create flows using tcp port mask, but it seems only mask = 0xffff or 0x0 work, Does flow rlue can be created using other mask? >=20 > I40e dirver was using now. Why not create multiple rules each pointing at same action? Or is mask so wide that you run out of rte_flow slots.