netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch net-next 0/8] mlxsw: Allow flow based forwarding in OVS
@ 2017-04-18 14:55 Jiri Pirko
  2017-04-18 14:55 ` [patch net-next 1/8] mlxsw: spectrum: Fix indent in mlxsw_sp_netdevice_port_upper_event Jiri Pirko
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Jiri Pirko @ 2017-04-18 14:55 UTC (permalink / raw)
  To: netdev; +Cc: davem, idosch, mlxsw

From: Jiri Pirko <jiri@mellanox.com>

This patchset does some fixes so the HW is setup correctly to do
flow-based (ACL based) forwarding for OVS-enslaved port.

The first patch is just trivial fix spotted on the way.

Patches 2-4 take care of proper FID setup which HW needs in order to
for ACL based forwarding.

The 7th patch (with dependency of patch 5 and 6) takes care of proper setup
of ports that are enslaved in OVS.

The last patch implements new FID miss trap that is used to push
packets belonging to unknown flows to kernel and userspace.

Jiri Pirko (8):
  mlxsw: spectrum: Fix indent in mlxsw_sp_netdevice_port_upper_event
  mlxsw: spectrum: Implement action to set FID
  mlxsw: spectrum: Add dummy FID initialization
  mlxsw: spectrum_flower: Set dummy FID before forward action
  mlxsw: spectrum: Teach mlxsw_sp_port_vlan_set to accept any vlan range
  net: add netif_is_ovs_port helper
  mlxsw: spectrum: Allow ports to work under OVS master
  mlxsw: spectrum: Add FID miss trap

 .../mellanox/mlxsw/core_acl_flex_actions.c         |  44 ++++++++
 .../mellanox/mlxsw/core_acl_flex_actions.h         |   1 +
 drivers/net/ethernet/mellanox/mlxsw/spectrum.c     | 113 ++++++++++++++++++++-
 drivers/net/ethernet/mellanox/mlxsw/spectrum.h     |   7 +-
 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c |   7 ++
 .../net/ethernet/mellanox/mlxsw/spectrum_flower.c  |   5 +
 .../net/ethernet/mellanox/mlxsw/spectrum_router.c  |   4 +-
 .../ethernet/mellanox/mlxsw/spectrum_switchdev.c   |  33 ++----
 drivers/net/ethernet/mellanox/mlxsw/trap.h         |   1 +
 include/linux/netdevice.h                          |   5 +
 10 files changed, 186 insertions(+), 34 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2017-04-20 19:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-18 14:55 [patch net-next 0/8] mlxsw: Allow flow based forwarding in OVS Jiri Pirko
2017-04-18 14:55 ` [patch net-next 1/8] mlxsw: spectrum: Fix indent in mlxsw_sp_netdevice_port_upper_event Jiri Pirko
2017-04-18 14:55 ` [patch net-next 2/8] mlxsw: spectrum: Implement action to set FID Jiri Pirko
2017-04-18 14:55 ` [patch net-next 3/8] mlxsw: spectrum: Add dummy FID initialization Jiri Pirko
2017-04-18 14:55 ` [patch net-next 4/8] mlxsw: spectrum_flower: Set dummy FID before forward action Jiri Pirko
2017-04-18 14:55 ` [patch net-next 5/8] mlxsw: spectrum: Teach mlxsw_sp_port_vlan_set to accept any vlan range Jiri Pirko
2017-04-18 14:55 ` [patch net-next 6/8] net: add netif_is_ovs_port helper Jiri Pirko
2017-04-18 14:55 ` [patch net-next 7/8] mlxsw: spectrum: Allow ports to work under OVS master Jiri Pirko
2017-04-18 14:55 ` [patch net-next 8/8] mlxsw: spectrum: Add FID miss trap Jiri Pirko
2017-04-20 19:32 ` [patch net-next 0/8] mlxsw: Allow flow based forwarding in OVS 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).