netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/9] Mellanox 100G SRIOV offloads vlan push/pop
@ 2016-09-22 17:01 Saeed Mahameed
  2016-09-22 17:01 ` [PATCH net-next 1/9] net_sched: act_vlan: add helper inlines to access tcf_vlan info Saeed Mahameed
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Saeed Mahameed @ 2016-09-22 17:01 UTC (permalink / raw)
  To: David S. Miller
  Cc: netdev, Or Gerlitz, Hadar Hen-Zion, Jiri Pirko, Andy Gospodarek,
	Jesse Brandeburg, John Fastabend, Amir Vadai, Saeed Mahameed

Hi Dave,

>From Or Gerlitz:

This series further enhances the SRIOV TC offloads of mlx5 to handle
the TC vlan push and pop actions. This serves a common use-case in
virtualization systems where the virtual switch add (push) vlan tags
to packets sent from VMs and removes (pop) vlan tags before the packet
is received by the VM. We use the new E-Switch switchdev mode and the
TC vlan action to achieve that also in SW defined SRIOV environments by
offloading TC rules that contain this action along with forwarding
(TC mirred/redirect action) the packet.

In the first patch we add some helpers to access the TC vlan action info
by offloading drivers. The next five patches don't add any new functionality,
they do some refactoring and cleanups in the current code to be used next.

The seventh patch deals with supporting vlans by the mlx5 e-switch in switchdev
mode. The eighth patch does the vlan action offload from TC and the last patch
adds matching for vlans as typically required by TC flows that involve vlan
pop action.

The series was applied on top of commit 524605e "cxgb4: Convert to use simple_open()"

Thanks.

Or Gerlitz (9):
  net_sched: act_vlan: add helper inlines to access tcf_vlan info
  net/mlx5: E-Switch, Set the vport when registering the uplink rep
  net/mlx5: E-Switch, Set vport representor fields explicitly on
    registration
  net/mlx5: E-Switch, Allow fine tuning of eswitch vport push/pop vlan
  net/mlx5: Put elements related to offloaded TC rule in one struct
  net/mlx5e: Refactor retrival of skb from rx completion element (cqe)
  net/mlx5: E-Switch, Support VLAN actions in the offloads mode
  net/mlx5e: Add TC vlan action for SRIOV offloads
  net/mlx5e: Add TC vlan match parsing

 drivers/net/ethernet/mellanox/mlx5/core/en.h       |   1 +
 drivers/net/ethernet/mellanox/mlx5/core/en_main.c  |  27 ++-
 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c    |  74 +++++--
 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c    | 109 ++++++----
 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c  |  33 ++-
 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h  |  38 +++-
 .../ethernet/mellanox/mlx5/core/eswitch_offloads.c | 222 +++++++++++++++++++--
 include/net/tc_act/tc_vlan.h                       |  25 +++
 8 files changed, 446 insertions(+), 83 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-09-23 11:22 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-22 17:01 [PATCH net-next 0/9] Mellanox 100G SRIOV offloads vlan push/pop Saeed Mahameed
2016-09-22 17:01 ` [PATCH net-next 1/9] net_sched: act_vlan: add helper inlines to access tcf_vlan info Saeed Mahameed
2016-09-22 17:01 ` [PATCH net-next 2/9] net/mlx5: E-Switch, Set the vport when registering the uplink rep Saeed Mahameed
2016-09-22 17:01 ` [PATCH net-next 3/9] net/mlx5: E-Switch, Set vport representor fields explicitly on registration Saeed Mahameed
2016-09-22 17:01 ` [PATCH net-next 4/9] net/mlx5: E-Switch, Allow fine tuning of eswitch vport push/pop vlan Saeed Mahameed
2016-09-22 17:01 ` [PATCH net-next 5/9] net/mlx5: Put elements related to offloaded TC rule in one struct Saeed Mahameed
2016-09-22 17:01 ` [PATCH net-next 6/9] net/mlx5e: Refactor retrival of skb from rx completion element (cqe) Saeed Mahameed
2016-09-22 17:01 ` [PATCH net-next 7/9] net/mlx5: E-Switch, Support VLAN actions in the offloads mode Saeed Mahameed
2016-09-22 17:01 ` [PATCH net-next 8/9] net/mlx5e: Add TC vlan action for SRIOV offloads Saeed Mahameed
2016-09-22 17:01 ` [PATCH net-next 9/9] net/mlx5e: Add TC vlan match parsing Saeed Mahameed
2016-09-23 11:22 ` [PATCH net-next 0/9] Mellanox 100G SRIOV offloads vlan push/pop David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).