Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp657852lqp; Wed, 12 Jun 2024 12:07:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV8L09Av/z+8H3vt1Xh0it9aUe6DH7SqDo2zkwh741gZ32VKwsfbLulzSKsJnsmI6VY8JKCrb015lj/mXedPJcqXZWUPjh9PKwe6K9F1A== X-Google-Smtp-Source: AGHT+IEqh80TJ8e1PlxZpRvBcVW7Wa8T2TNKSD0gRz/Xo6EokgoYs3d4YhyE1GRGCt/68lb1n+61 X-Received: by 2002:a05:6214:5f01:b0:6b0:9048:9802 with SMTP id 6a1803df08f44-6b1917790b9mr28336686d6.3.1718219266904; Wed, 12 Jun 2024 12:07:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718219266; cv=pass; d=google.com; s=arc-20160816; b=i7G0wsiVKf06zMGTHlhoDevSVbfl4yIk7qj4mmgiRmxF8zD9XEYJL7x/dMNGDTpc2H EyHrew8+TrzRDHgcAzT5SilMrjoLj2V2oXbl93Sdn0NMhjb284uvupPbSjQJymd4jSMN OiLk3eRtZA1HiBJsOVg1sYHrBHhpJTcCJHFZMfLCyUK0DntSEbOd86Ro4kBskWTdKw2L JClLobfuwJVbjcP+Q6hJdgENK6bVYJ57wPWhcRDXVNAmU7cuvrFB6elyrGGGrT9htj8u NU+ipMpUc1io3qlGKgvX+AWNE2tLfCbjns/jxQqMs5hEnBngSQq8VBA1iYkYN/pCLwqR 38SQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=3tg37hDV1BDpuU8wJ1oEr9Pre8YU8Bzm8jgYREs85Uo=; fh=kiEwqjYEckb/xXuauc41K4KseN1BW1U8YbTcPfQIXsA=; b=w2UtqomzLP9B2zoT/cDAyrb4iap6FsCIS+aXCjwmPQMycbdkrkd57VcxBPywXnZ+9i fIZehnJ3ct1YnG9oyRJ0gOz74I2Ek5T+PJX7ZbVrN4FM8N0CjSnJgGPR2CLx6gwHsq6O qavkxhZSOuuciOWGG//VS7orkqG1x2Ni0mW8AotPbjO2pPcK891BV9meyJjGRWn9yjxD 8Q7X5UzADlX+vVV5tMJKsYE21/JkUHB+nb1Ebtg1pz1ZcCytKO/9gLt+PniDVGVQhmdO 1Hs4Y7LZy6CCk7P7mSGg0LS7wVtxnPalmZs7tRqBaQfCIJT5Wt0jltg70/OKfdFKhK7n Ngjw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fiberby.net header.s=202008 header.b=h9LqdHtw; arc=pass (i=1 spf=pass spfdomain=fiberby.net dkim=pass dkdomain=fiberby.net dmarc=pass fromdomain=fiberby.net); spf=pass (google.com: domain of linux-kernel+bounces-212136-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212136-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=fiberby.net Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6b2a2617eb1si6673056d6.257.2024.06.12.12.07.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 12:07:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-212136-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@fiberby.net header.s=202008 header.b=h9LqdHtw; arc=pass (i=1 spf=pass spfdomain=fiberby.net dkim=pass dkdomain=fiberby.net dmarc=pass fromdomain=fiberby.net); spf=pass (google.com: domain of linux-kernel+bounces-212136-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212136-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=fiberby.net Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 9D8301C23307 for ; Wed, 12 Jun 2024 19:07:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3931383A07; Wed, 12 Jun 2024 19:07:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fiberby.net header.i=@fiberby.net header.b="h9LqdHtw" Received: from mail1.fiberby.net (mail1.fiberby.net [193.104.135.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DC5A582C8E; Wed, 12 Jun 2024 19:07:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.104.135.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718219247; cv=none; b=P3hcaGRXvHxZAz8bDRg2iB7UqjA1AYRZpifLgbQXe6EcCEIIwUqQUhMrU7ERfbLKoHL8RZkSLNP/e0ym4KhJEEWiOwd37WEJClTYcub5moZcQrP/XdGSFU18yaKKngz62b0WgmqYxPZpabzuGm+1S6h/5FqSEuJJzjltgtihJeI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718219247; c=relaxed/simple; bh=pYJ0NhdbHfLh+0Ti9ZhqGoLI9uZW8HiS8P0m+9+BSFk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=dwx6tq8CLiUO2RGoc8aufZeEvPqhvBRP9UsJCDGInuIoyf6ThZTJoq54yBQ2oKX1/LYU1tGRJayP8617R8Q3dL2BNQG0lTVivsfEPSDmOJ68GDYXKix9zAKrQiKhGbyv4IkP3vmEzmKk02A9mh/QJoiWsYEEAgxHDetPA6rz/3w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=fiberby.net; spf=pass smtp.mailfrom=fiberby.net; dkim=pass (2048-bit key) header.d=fiberby.net header.i=@fiberby.net header.b=h9LqdHtw; arc=none smtp.client-ip=193.104.135.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=fiberby.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fiberby.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fiberby.net; s=202008; t=1718219241; bh=pYJ0NhdbHfLh+0Ti9ZhqGoLI9uZW8HiS8P0m+9+BSFk=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=h9LqdHtwtogXhy/EoRPzbtvst5NoICJ5N8y76YZchkAvliQOKXDwNmHESWfnJq8ZN oEDaPipW6ZJYWr9x6IdyT3HEsrnIydCOSDXbEs38DZsdwN/t5vNLAH90tj1wVvh0eD 5en6iHTVo9W/eahEb3Tk0b02EL+LmJOTSnFLpMKYQGjga+C9MD5r/G1ZccCL21dRs0 A2gb5hD5xVurnU+YN4CPPHB2/q8MEAfQidQipYjyHjmUaGrd9onJiNA0jbuU0aLAae Sk2x8tT+CWtPX8/9XhtXXy1U9Yb4In2jM7lbTR9IVGF2+kXAB5OqfXy77GEZJSXuvL 3GCHLbeQPuAiQ== Received: from x201s (193-104-135-243.ip4.fiberby.net [193.104.135.243]) by mail1.fiberby.net (Postfix) with ESMTPSA id 9D76B6007C; Wed, 12 Jun 2024 19:07:18 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by x201s (Postfix) with ESMTP id D52B3201136; Wed, 12 Jun 2024 19:07:12 +0000 (UTC) Message-ID: <2642a36f-1e53-4672-9826-8c07d10d69f2@fiberby.net> Date: Wed, 12 Jun 2024 19:07:12 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH net-next 0/9] flower: rework TCA_FLOWER_KEY_ENC_FLAGS usage To: Davide Caratti Cc: Ilya Maximets , Jamal Hadi Salim , Cong Wang , Jiri Pirko , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , David Ahern , Simon Horman , netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240611235355.177667-1-ast@fiberby.net> Content-Language: en-US From: =?UTF-8?Q?Asbj=C3=B8rn_Sloth_T=C3=B8nnesen?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi Davide, On 6/12/24 3:06 PM, Davide Caratti wrote: > On Tue, Jun 11, 2024 at 11:53:33PM +0000, Asbjørn Sloth Tønnesen wrote: >> This series reworks the recently added TCA_FLOWER_KEY_ENC_FLAGS >> attribute, to be more like TCA_FLOWER_KEY_FLAGS, and use >> the unused u32 flags field in TCA_FLOWER_KEY_ENC_CONTROL, >> instead of adding another u32 in FLOW_DISSECTOR_KEY_ENC_FLAGS. s/TCA_FLOWER_KEY_ENC_CONTROL/FLOW_DISSECTOR_KEY_ENC_CONTROL/ >> I have defined the new FLOW_DIS_F_* and TCA_FLOWER_KEY_FLAGS_* >> flags to coexists for now, so the meaning of the flags field >> in struct flow_dissector_key_control is not depending on the >> context that it is used in. If we run out of bits then we can >> always make split them up later, if we really want to. s/always make split/always split/ >> Davide and Ilya would this work for you? > > If you are ok with this, I can adjust the iproute code I keep locally, > and the kselftest, re-test, and than report back to the series total > reviewed-by. > It's going a take some days though; and of course, those bit will be > upstreamed as well. > > WDYT? That would be great, there is still quite some time left before net-next closes, I just wanted to get the ball rolling, with some code, so it is easier to discuss the implementation details. -- Best regards Asbjørn Sloth Tønnesen Network Engineer Fiberby - AS42541