From: Jakub Kicinski <kuba@kernel.org> To: davem@davemloft.net Cc: netdev@vger.kernel.org, anthony.l.nguyen@intel.com, jeffrey.t.kirsher@intel.com, intel-wired-lan@lists.osuosl.org, Jakub Kicinski <kuba@kernel.org> Subject: [PATCH net-next v1 0/7] udp_tunnel: convert Intel drivers with shared tables Date: Tue, 21 Jul 2020 18:27:09 -0700 [thread overview] Message-ID: <20200722012716.2814777-1-kuba@kernel.org> (raw) This set converts Intel drivers which have the ability to spawn multiple netdevs, but have only one UDP tunnel port table. Appropriate support is added to the core infra in patch 1, followed by netdevsim support and a selftest. The table sharing works by core attaching the same table structure to all devices sharing the table. This means the reference count has to accommodate potentially large values. Once core is ready i40e and ice are converted. These are complex drivers, and I don't have HW to test so please review.. Jakub Kicinski (7): udp_tunnel: add the ability to share port tables netdevsim: add warnings on unexpected UDP tunnel port errors netdevsim: shared UDP tunnel port table support selftests: net: add a test for shared UDP tunnel info tables i40e: convert to new udp_tunnel infrastructure ice: remove unused args from ice_get_open_tunnel_port() ice: convert to new udp_tunnel infrastructure drivers/net/ethernet/intel/i40e/i40e.h | 6 +- drivers/net/ethernet/intel/i40e/i40e_main.c | 264 ++++-------------- .../net/ethernet/intel/ice/ice_ethtool_fdir.c | 6 +- drivers/net/ethernet/intel/ice/ice_fdir.c | 2 +- .../net/ethernet/intel/ice/ice_flex_pipe.c | 231 +++++++-------- .../net/ethernet/intel/ice/ice_flex_pipe.h | 11 +- .../net/ethernet/intel/ice/ice_flex_type.h | 5 +- drivers/net/ethernet/intel/ice/ice_main.c | 97 ++----- drivers/net/ethernet/intel/ice/ice_type.h | 3 + drivers/net/netdevsim/netdevsim.h | 7 +- drivers/net/netdevsim/udp_tunnels.c | 30 +- include/net/udp_tunnel.h | 24 ++ net/ipv4/udp_tunnel_nic.c | 96 ++++++- .../drivers/net/netdevsim/udp_tunnel_nic.sh | 109 ++++++++ 14 files changed, 440 insertions(+), 451 deletions(-) -- 2.26.2
WARNING: multiple messages have this Message-ID (diff)
From: Jakub Kicinski <kuba@kernel.org> To: intel-wired-lan@osuosl.org Subject: [Intel-wired-lan] [PATCH net-next v1 0/7] udp_tunnel: convert Intel drivers with shared tables Date: Tue, 21 Jul 2020 18:27:09 -0700 [thread overview] Message-ID: <20200722012716.2814777-1-kuba@kernel.org> (raw) This set converts Intel drivers which have the ability to spawn multiple netdevs, but have only one UDP tunnel port table. Appropriate support is added to the core infra in patch 1, followed by netdevsim support and a selftest. The table sharing works by core attaching the same table structure to all devices sharing the table. This means the reference count has to accommodate potentially large values. Once core is ready i40e and ice are converted. These are complex drivers, and I don't have HW to test so please review.. Jakub Kicinski (7): udp_tunnel: add the ability to share port tables netdevsim: add warnings on unexpected UDP tunnel port errors netdevsim: shared UDP tunnel port table support selftests: net: add a test for shared UDP tunnel info tables i40e: convert to new udp_tunnel infrastructure ice: remove unused args from ice_get_open_tunnel_port() ice: convert to new udp_tunnel infrastructure drivers/net/ethernet/intel/i40e/i40e.h | 6 +- drivers/net/ethernet/intel/i40e/i40e_main.c | 264 ++++-------------- .../net/ethernet/intel/ice/ice_ethtool_fdir.c | 6 +- drivers/net/ethernet/intel/ice/ice_fdir.c | 2 +- .../net/ethernet/intel/ice/ice_flex_pipe.c | 231 +++++++-------- .../net/ethernet/intel/ice/ice_flex_pipe.h | 11 +- .../net/ethernet/intel/ice/ice_flex_type.h | 5 +- drivers/net/ethernet/intel/ice/ice_main.c | 97 ++----- drivers/net/ethernet/intel/ice/ice_type.h | 3 + drivers/net/netdevsim/netdevsim.h | 7 +- drivers/net/netdevsim/udp_tunnels.c | 30 +- include/net/udp_tunnel.h | 24 ++ net/ipv4/udp_tunnel_nic.c | 96 ++++++- .../drivers/net/netdevsim/udp_tunnel_nic.sh | 109 ++++++++ 14 files changed, 440 insertions(+), 451 deletions(-) -- 2.26.2
next reply other threads:[~2020-07-22 1:27 UTC|newest] Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-07-22 1:27 Jakub Kicinski [this message] 2020-07-22 1:27 ` [Intel-wired-lan] [PATCH net-next v1 0/7] udp_tunnel: convert Intel drivers with shared tables Jakub Kicinski 2020-07-22 1:27 ` [PATCH net-next v1 1/7] udp_tunnel: add the ability to share port tables Jakub Kicinski 2020-07-22 1:27 ` [Intel-wired-lan] " Jakub Kicinski 2020-07-22 1:27 ` [PATCH net-next v1 2/7] netdevsim: add warnings on unexpected UDP tunnel port errors Jakub Kicinski 2020-07-22 1:27 ` [Intel-wired-lan] " Jakub Kicinski 2020-07-22 1:27 ` [PATCH net-next v1 3/7] netdevsim: shared UDP tunnel port table support Jakub Kicinski 2020-07-22 1:27 ` [Intel-wired-lan] " Jakub Kicinski 2020-07-22 1:27 ` [PATCH net-next v1 4/7] selftests: net: add a test for shared UDP tunnel info tables Jakub Kicinski 2020-07-22 1:27 ` [Intel-wired-lan] " Jakub Kicinski 2020-09-19 7:23 ` Brown, Aaron F 2020-09-19 7:23 ` Brown, Aaron F 2020-09-21 21:44 ` Jakub Kicinski 2020-09-21 21:44 ` Jakub Kicinski 2020-09-22 17:34 ` Brown, Aaron F 2020-09-22 17:34 ` Brown, Aaron F 2020-09-22 18:35 ` Jakub Kicinski 2020-09-22 18:35 ` Jakub Kicinski 2020-09-24 22:25 ` Nguyen, Anthony L 2020-09-24 22:25 ` Nguyen, Anthony L 2020-09-24 22:28 ` Jakub Kicinski 2020-09-24 22:28 ` Jakub Kicinski 2020-07-22 1:27 ` [PATCH net-next v1 5/7] i40e: convert to new udp_tunnel infrastructure Jakub Kicinski 2020-07-22 1:27 ` [Intel-wired-lan] " Jakub Kicinski 2020-09-19 7:04 ` Brown, Aaron F 2020-09-19 7:04 ` Brown, Aaron F 2020-07-22 1:27 ` [PATCH net-next v1 6/7] ice: remove unused args from ice_get_open_tunnel_port() Jakub Kicinski 2020-07-22 1:27 ` [Intel-wired-lan] " Jakub Kicinski 2020-09-19 5:40 ` Brown, Aaron F 2020-09-19 5:40 ` [Intel-wired-lan] " Brown, Aaron F 2020-07-22 1:27 ` [PATCH net-next v1 7/7] ice: convert to new udp_tunnel infrastructure Jakub Kicinski 2020-07-22 1:27 ` [Intel-wired-lan] " Jakub Kicinski 2020-09-19 5:42 ` Brown, Aaron F 2020-09-19 5:42 ` [Intel-wired-lan] " Brown, Aaron F 2020-07-22 21:22 ` [PATCH net-next v1 0/7] udp_tunnel: convert Intel drivers with shared tables Nguyen, Anthony L 2020-07-22 21:22 ` [Intel-wired-lan] " Nguyen, Anthony L 2020-07-23 20:06 ` Nguyen, Anthony L 2020-07-23 20:06 ` [Intel-wired-lan] " Nguyen, Anthony L 2020-07-23 20:17 ` David Miller 2020-07-23 20:17 ` [Intel-wired-lan] " David Miller 2020-09-03 23:22 ` Jakub Kicinski 2020-09-03 23:22 ` [Intel-wired-lan] " Jakub Kicinski 2020-09-04 16:12 ` Nguyen, Anthony L 2020-09-04 16:12 ` [Intel-wired-lan] " Nguyen, Anthony L
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=20200722012716.2814777-1-kuba@kernel.org \ --to=kuba@kernel.org \ --cc=anthony.l.nguyen@intel.com \ --cc=davem@davemloft.net \ --cc=intel-wired-lan@lists.osuosl.org \ --cc=jeffrey.t.kirsher@intel.com \ --cc=netdev@vger.kernel.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: linkBe 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.