From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 76A512F8EB5 for ; Thu, 23 Jul 2026 01:43:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784771030; cv=none; b=i3UgXywHVhPctzYfrLb52dmjAi7UWOoo7WT7i4aWbvF7i/zQ43a3y6vOljmW/KgjPNIBVVnLSrtU3s0O3NI+WMYSYZV6npCqbJ+xA/Hwhpl+5l5dyvt0Bm0NBB3I3vtVEs3ngv3akMlNM6kNAIE4tVYQ3/cIK2oi9E6/OeP1chk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784771030; c=relaxed/simple; bh=xX+IXMPW2P6MfkNy8t+mUr9sj2Zll/A3MxrgWHIbltw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=DM5HR4krMQcu4isqt9ARDS9OBwwPLqB6ItVH8d1JdG2333BeVR4LagBs6gn43RTTscvCK91n7HIZCtqcR30Dzg5CgRf/wgTfjD2BPwwInCjDlDVpUvHUq190Pvt2vXXfyngLiHTiFReWjIHohIP42eJevYDrmSQSdqex4yC/ddI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=iQ9J4E51; arc=none smtp.client-ip=209.85.210.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="iQ9J4E51" Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-84536ecfc5bso119678b3a.2 for ; Wed, 22 Jul 2026 18:43:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784771029; x=1785375829; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=Nx2KjPDx0JgpwngNp+VsU8xD8xU+8AxWDsarHpeVVmI=; b=iQ9J4E51vqr80L2/Mgecf01JWnWlp4o3+9Zf1Aa/1q0+IkeMWNNLcQ0WBlqa8ui/k1 9uVcpSYQnOthNQGpTfI9lzrK7KC8BO+l7YWWe0ztubfdKaqL2jFVY3tqsS8ax/VkzZSZ xJxwS4rGCsGO5wccU1e+ol7kZvCW+WaUj1Kglfmhxv1xoYqZGutE6Zj3GVPCOHZ/CF5P aL7OjXVWt4tqafuoYvABuy2CvUWClz8Yq7lrBaxYi1DZkRZ5R6gO8bPHTcCFywki8p+i 0s/7RMlIr6nwVnLRWoCJ7XuJmW5dCdcaBflesVX2uvuHTIZtGwN25v15vm9zuqARF1yu Z/ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784771029; x=1785375829; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=Nx2KjPDx0JgpwngNp+VsU8xD8xU+8AxWDsarHpeVVmI=; b=kpsyWBqPatIgML/3FHYT23Vb/WFRJ2cj7ZipplNyCV4dKwalInln6M66AF8M5CUzD9 L6K7Ys+/6OJCY0KWS8cneah4+nUW6O5atzlE9FFhNm91EbDBsTU2hCjpBVu2dE+WEf2o CxknK1wNK+Sb9wRkLcY4ZDO5zfjrGRaDHuQnDcswNns3RQTawo+tx3meSFRpfxDZpDQH RV6oAiOhX1mR2roZknC2ixomOLZbabcfjWA6xDoj6GdaeBc7bRSlN0xxsqEcJlwUCOm+ mGcfzqYD1VNhbqIcSp2NtpprWLCNzC/pvCwqN3LwsoIxOaF5lSLuu18MV5djmla+dQcV 5KyA== X-Forwarded-Encrypted: i=1; AHgh+Ronx6DxSnWR59eSzjKKMR/11ky9b69iL7lRYGa3yiWagLpqmognwcawTAyksAoiDfIyS4csV0YWV+S/iiU=@vger.kernel.org X-Gm-Message-State: AOJu0YxqCJNKKKK+/IkwUvBf8I8w10psknzn2V/aI0Z59vO/Yg97RluD NJkr1YX/FRcZsFnG+z6TB45OowiwwZr+wEwdKvAg1q3uwlbC4NUBDZHD X-Gm-Gg: AR+sD12b8EKVuhfOFky8i3XBlVjbidE1YTSNhvyVEUHZ1xq+tM4UdQyBoNqtaKOJ9tX 37cuEqKZa6+21WQpXMUGIFw2/fiCkAsTQh7Nj3WW60fe1BHIHKYaTgGfYM5MkDsjHXqq+qoGiOg K+hsSaL+Udl8Z4fgRLATT9PZryyjs3awWlE+jH5xnawEoSIwluxPI25/wnXG4i4vXwWCdugil8q 7PD2O2Uv5L0ntikfA/C0+m09Tn3wKTsfMcDcVh6oudXCkWksigm05afas2bTAKXvDt2gOfmuqDh a+LqYWK7Jc35UihWQRqXw66X6X8kJzO0LS64rE7mH20bXSQCR1p0IiG/bSPImBqrJ+I9RTMjO24 V0l3aKjxNBFfwJEu2Q7Wu7D8lvEIx14mwbuhOmlhhnVpJPpVEMPEiKxLfJt1yxNbHDf2rpF0buL gsUKa36j4GUkXIoTF/zlkE9eTPRuGX68DkqKDjxPeAHDnFZQ== X-Received: by 2002:a05:6a00:10d4:b0:848:5d9b:687c with SMTP id d2e1a72fcca58-84e2bbcf64cmr1398945b3a.54.1784771028660; Wed, 22 Jul 2026 18:43:48 -0700 (PDT) Received: from CPC-mjac-HKWGEZ.redmond.corp.microsoft.com ([70.37.26.37]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-cbb8f18ba96sm1830121a12.17.2026.07.22.18.43.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jul 2026 18:43:47 -0700 (PDT) From: Jack Ma To: Ido Schimmel , David Ahern , netdev@vger.kernel.org Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , Shuah Khan , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Jack Ma Subject: Re: [PATCH net-next v3 1/3] net: nexthop: add NHA_FDB_PORT for fdb nexthops Date: Thu, 23 Jul 2026 01:43:02 +0000 Message-ID: <20260723014302.994-1-jack4it@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260722152346.GB3022830@shredder> References: <20260721-b4-vxlan-fdb-port-v3-0-9aa0a543a78a@gmail.com> <20260721-b4-vxlan-fdb-port-v3-1-9aa0a543a78a@gmail.com> <20260722114621.GA2928696@shredder> <20260722152346.GB3022830@shredder> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On Wed, Jul 22, 2026 at 06:23:46PM +0300, Ido Schimmel wrote: > > No preference on dst_port / DST_PORT versus other options > > (NHA_FDB_UDP_PORT for example) > I don't see a reason to make the attribute overly specific (to UDP and > FDB), which is why I prefer DST_PORT. Thanks both. Done in v4: the attribute is now NHA_DST_PORT with a matching "dst_port" keyword in iproute2, and the internal fields follow suit (nh_config.nh_dst_port, nh_info.dst_port). Validation is unchanged -- the port is still accepted only together with NHA_FDB and NHA_GATEWAY -- so the name is generic while the feature stays FDB-only for now, exactly as you suggested. v4: https://lore.kernel.org/netdev/20260723-b4-vxlan-fdb-port-v4-0-46e3a2dd88a3@gmail.com/ Thanks, Jack