netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] net/devlink: Add E-Switch encapsulation control
@ 2017-02-09 16:23 Or Gerlitz
  2017-02-09 16:23 ` [PATCH net-next 1/2] " Or Gerlitz
  2017-02-09 16:23 ` [PATCH net-next 2/2] net/mlx5: E-Switch, Add control for encapsulation Or Gerlitz
  0 siblings, 2 replies; 5+ messages in thread
From: Or Gerlitz @ 2017-02-09 16:23 UTC (permalink / raw)
  To: David S. Miller; +Cc: Jiri Pirko, netdev, Or Gerlitz, Hadar Har-Zion

from:  Roi Dayan <roid@mellanox.com>

Add an e-switch global knob to enable/disable HW support for applying
encapsulation/decapsulation to VF traffic as part of SRIOV e-switch 
offloading which is controlled with devlink. Support that in mlx5.

Dave, the series is rebased over the cleanup series Jiri sent earlier today [1]

Or.

[1] http://marc.info/?l=linux-netdev&m=148665219924363&w=2

Roi Dayan (2):
  net/devlink: Add E-Switch encapsulation control
  net/mlx5: E-Switch, Add control for encapsulation

 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c  |  1 +
 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h  |  3 ++
 .../ethernet/mellanox/mlx5/core/eswitch_offloads.c | 41 ++++++++++++++++++++--
 drivers/net/ethernet/mellanox/mlx5/core/main.c     |  2 ++
 include/net/devlink.h                              |  2 ++
 include/uapi/linux/devlink.h                       |  1 +
 net/core/devlink.c                                 | 22 ++++++++++++
 7 files changed, 70 insertions(+), 2 deletions(-)

-- 
2.5.5

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

end of thread, other threads:[~2017-02-09 17:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-09 16:23 [PATCH net-next 0/2] net/devlink: Add E-Switch encapsulation control Or Gerlitz
2017-02-09 16:23 ` [PATCH net-next 1/2] " Or Gerlitz
2017-02-09 17:10   ` Jiri Pirko
     [not found]     ` <2ccce1b4-4407-fe66-847a-9159579fac27@mellanox.com>
2017-02-09 17:36       ` Jiri Pirko
2017-02-09 16:23 ` [PATCH net-next 2/2] net/mlx5: E-Switch, Add control for encapsulation Or Gerlitz

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).