From: Jakub Kicinski <kuba@kernel•org>
To: saeedm@mellanox•com
Cc: netdev@vger•kernel.org, davem@davemloft•net, mkubecek@suse•cz,
Jakub Kicinski <kuba@kernel•org>
Subject: [PATCH net-next v2 0/2] udp_tunnel: convert mlx5 to the new udp_tunnel infrastructure
Date: Tue, 28 Jul 2020 14:46:04 -0700 [thread overview]
Message-ID: <20200728214606.303058-1-kuba@kernel.org> (raw)
This set converts mlx5 to the new infrastructure.
We need a small amount of special handling as mlx5 expects IANA VXLAN
port to always be programmed into the device. ethtool will show such
ports in a separate, type-less, fake table, at the end:
Tunnel information for eth0:
UDP port table 0:
Size: 7
Types: vxlan
No entries
UDP port table 1:
Size: 1
Types: none (static entries)
Entries (1):
port 4789, vxlan
Saeed - this should apply on top of net-next, independently of
the Intel patches, would you mind taking this in for testing
and review? I'll post the netdevsim & test once Intel patches
re-emerge.
v2: - don't disable the offload on reprs in patch #2.
Jakub Kicinski (2):
udp_tunnel: add the ability to hard-code IANA VXLAN
mlx5: convert to new udp_tunnel infrastructure
Documentation/networking/ethtool-netlink.rst | 3 +
drivers/net/ethernet/mellanox/mlx5/core/en.h | 2 -
.../net/ethernet/mellanox/mlx5/core/en_main.c | 88 ++-----------------
.../net/ethernet/mellanox/mlx5/core/en_rep.c | 6 +-
.../ethernet/mellanox/mlx5/core/lib/vxlan.c | 87 +++++++++---------
.../ethernet/mellanox/mlx5/core/lib/vxlan.h | 6 +-
include/net/udp_tunnel.h | 5 ++
net/ethtool/tunnels.c | 69 +++++++++++++--
net/ipv4/udp_tunnel_nic.c | 7 ++
9 files changed, 130 insertions(+), 143 deletions(-)
--
2.26.2
next reply other threads:[~2020-07-28 21:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-28 21:46 Jakub Kicinski [this message]
2020-07-28 21:46 ` [PATCH net-next v2 1/2] udp_tunnel: add the ability to hard-code IANA VXLAN Jakub Kicinski
2020-07-28 21:46 ` [PATCH net-next v2 2/2] mlx5: convert to new udp_tunnel infrastructure Jakub Kicinski
2020-07-29 6:52 ` Saeed Mahameed
2020-07-28 21:50 ` [PATCH net-next v2 0/2] udp_tunnel: convert mlx5 to the " Jakub Kicinski
2020-07-29 6:41 ` Saeed Mahameed
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=20200728214606.303058-1-kuba@kernel.org \
--to=kuba@kernel$(echo .)org \
--cc=davem@davemloft$(echo .)net \
--cc=mkubecek@suse$(echo .)cz \
--cc=netdev@vger$(echo .)kernel.org \
--cc=saeedm@mellanox$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox