Netdev List
 help / color / mirror / Atom feed
From: Saeed Mahameed <saeedm@mellanox.com>
To: netdev@vger.kernel.org, Jes Sorensen <jsorensen@fb.com>
Cc: kernel-team@fb.com, Or Gerlitz <ogerlitz@mellanox.com>,
	Tzahi Oved <tzahio@mellanox.com>,
	Saeed Mahameed <saeedm@mellanox.com>
Subject: [PATCH RFC net-next 0/4] Mellanox, MLX5 E-Switch break down
Date: Thu,  8 Jun 2017 02:42:10 +0300	[thread overview]
Message-ID: <20170607234214.24723-1-saeedm@mellanox.com> (raw)

Based on Jes Sorensen work to make eswitch_offloads optional at
compilation time, here is an initial RFC series that provides similar
behavior, but here we do more accurate zoom in into eswitch and we break
it into two HW components (MPFS & ESWITCH) to not break any functionality,
and provide more modular separation.

In this series we provide the following modular separation
and give the option of compiling out:

MLX5_MPFS: Multi-Physical Function Switch (MPFs) needed only for Multi-PF configurations
MLX5_ESWITCH: SRIOV Ethernet Switch

With this separation, E-Switch becomes responsible only for ethernet SRIOV and needed only
when SRIOV in enabled, otherwise it is not required.

The two patches at the beginning are for preparation and cleanup only.

Thanks,
Saeed.

Saeed Mahameed (4):
  net/mlx5e: Rearrange netdevice ops structures
  net/mlx5e: NIC netdev init flow cleanup
  net/mlx5: Separate between eswitch and MPFS l2 table logic
  net/mlx5: Add CONFIG_MLX5_ESWITCH Kconfig

 drivers/net/ethernet/mellanox/mlx5/core/Kconfig   |  15 ++
 drivers/net/ethernet/mellanox/mlx5/core/Makefile  |   8 +-
 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c   |  14 +-
 drivers/net/ethernet/mellanox/mlx5/core/en_main.c |  69 ++++----
 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c  |  13 ++
 drivers/net/ethernet/mellanox/mlx5/core/en_rep.h  |   9 +
 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c   |   2 +
 drivers/net/ethernet/mellanox/mlx5/core/en_tc.h   |   7 +
 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c | 189 ++++----------------
 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h |  78 ++------
 drivers/net/ethernet/mellanox/mlx5/core/main.c    |  34 ++--
 drivers/net/ethernet/mellanox/mlx5/core/mpfs.c    | 205 ++++++++++++++++++++++
 drivers/net/ethernet/mellanox/mlx5/core/mpfs.h    |  98 +++++++++++
 include/linux/mlx5/driver.h                       |   2 +
 14 files changed, 473 insertions(+), 270 deletions(-)
 create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/mpfs.c
 create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/mpfs.h

-- 
2.11.0

             reply	other threads:[~2017-06-07 23:49 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-07 23:42 Saeed Mahameed [this message]
2017-06-07 23:42 ` [PATCH RFC net-next 1/4] net/mlx5e: Rearrange netdevice ops structures Saeed Mahameed
2017-06-08  7:52   ` Or Gerlitz
2017-06-07 23:42 ` [PATCH RFC net-next 2/4] net/mlx5e: NIC netdev init flow cleanup Saeed Mahameed
2017-06-08  8:30   ` Or Gerlitz
2017-06-07 23:42 ` [PATCH RFC net-next 3/4] net/mlx5: Separate between eswitch and MPFS l2 table logic Saeed Mahameed
2017-06-08  9:13   ` Or Gerlitz
2017-06-08 10:26     ` Saeed Mahameed
2017-06-08 11:12       ` Or Gerlitz
2017-06-08  9:26   ` Or Gerlitz
2017-06-12 17:52   ` Jes Sorensen
2017-06-13 17:49     ` Saeed Mahameed
2017-06-13 18:18       ` Jes Sorensen
2017-06-07 23:42 ` [PATCH RFC net-next 4/4] net/mlx5: Add CONFIG_MLX5_ESWITCH Kconfig Saeed Mahameed
2017-06-08  9:35   ` Or Gerlitz
2017-06-08 10:32     ` Saeed Mahameed
2017-06-12 18:20   ` Jes Sorensen
2017-06-13 17:58     ` Saeed Mahameed
2017-06-13 18:21       ` Jes Sorensen
2017-06-13 21:53         ` 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=20170607234214.24723-1-saeedm@mellanox.com \
    --to=saeedm@mellanox.com \
    --cc=jsorensen@fb.com \
    --cc=kernel-team@fb.com \
    --cc=netdev@vger.kernel.org \
    --cc=ogerlitz@mellanox.com \
    --cc=tzahio@mellanox.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox