All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ido Schimmel <idosch@nvidia.com>
To: Jack Ma <jack4it@gmail.com>
Cc: netdev@vger.kernel.org, David Ahern <dsahern@kernel.org>,
	Stephen Hemminger <stephen@networkplumber.org>,
	Jakub Kicinski <kuba@kernel.org>
Subject: Re: [PATCH iproute2-next v2 2/2] ip nexthop: support fdb destination port
Date: Thu, 23 Jul 2026 10:49:52 +0300	[thread overview]
Message-ID: <20260723074952.GD3189375@shredder> (raw)
In-Reply-To: <20260723-b4-vxlan-fdb-port-iproute2-v2-2-9012ac01b49e@gmail.com>

On Thu, Jul 23, 2026 at 01:25:08AM +0000, Jack Ma wrote:
> The kernel gained NHA_DST_PORT, an optional per-nexthop UDP destination
> port for fdb nexthops.  VXLAN uses it to reach several receivers that
> share an underlay IP but listen on different ports, load-balancing a
> flow across (IP, port) legs of one nexthop group.
> 
> Wire it into `ip nexthop`:
> 
>   ip nexthop add id 1 via 192.0.2.1 fdb dst_port 4790
> 
> The port is parsed on add (sent as NHA_DST_PORT, __be16, network order)
> and printed back on dump/get.  The kernel only accepts it together with
> fdb and a gateway.
> 
> Signed-off-by: Jack Ma <jack4it@gmail.com>

Reviewed-by: Ido Schimmel <idosch@nvidia.com>

      reply	other threads:[~2026-07-23  7:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-23  1:25 [PATCH iproute2-next v2 0/2] ip nexthop: support fdb destination port Jack Ma
2026-07-23  1:25 ` [PATCH iproute2-next v2 1/2] uapi: add NHA_DST_PORT Jack Ma
2026-07-23  1:25 ` [PATCH iproute2-next v2 2/2] ip nexthop: support fdb destination port Jack Ma
2026-07-23  7:49   ` Ido Schimmel [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260723074952.GD3189375@shredder \
    --to=idosch@nvidia.com \
    --cc=dsahern@kernel.org \
    --cc=jack4it@gmail.com \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=stephen@networkplumber.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.