mbox series

[net-next,0/2] nfp: flower: add support for QinQ matching

Message ID 20200820143938.21199-1-simon.horman@netronome.com
Headers show
Series nfp: flower: add support for QinQ matching | expand

Message

Simon Horman Aug. 20, 2020, 2:39 p.m. UTC
Louis says:

Add new feature to the Netronome flower driver to enable QinQ offload.
This needed a bit of gymnastics in order to not break compatibility with
older firmware as the flow key sent to the firmware had to be updated
in order to make space for the extra field.

Louis Peens (2):
  nfp: flower: check that we don't exceed the FW key size
  nfp: flower: add support to offload QinQ match

 .../net/ethernet/netronome/nfp/flower/cmsg.h  | 17 ++++
 .../net/ethernet/netronome/nfp/flower/main.h  |  6 +-
 .../net/ethernet/netronome/nfp/flower/match.c | 73 +++++++++++++++-
 .../ethernet/netronome/nfp/flower/offload.c   | 85 ++++++++++++++++---
 4 files changed, 165 insertions(+), 16 deletions(-)

Comments

Jakub Kicinski Aug. 20, 2020, 4:06 p.m. UTC | #1
On Thu, 20 Aug 2020 16:39:36 +0200 Simon Horman wrote:
> Louis says:
> 
> Add new feature to the Netronome flower driver to enable QinQ offload.
> This needed a bit of gymnastics in order to not break compatibility with
> older firmware as the flow key sent to the firmware had to be updated
> in order to make space for the extra field.

Acked-by: Jakub Kicinski <kuba@kernel.org>
David Miller Aug. 20, 2020, 11:01 p.m. UTC | #2
From: Simon Horman <simon.horman@netronome.com>
Date: Thu, 20 Aug 2020 16:39:36 +0200

> Louis says:
> 
> Add new feature to the Netronome flower driver to enable QinQ offload.
> This needed a bit of gymnastics in order to not break compatibility with
> older firmware as the flow key sent to the firmware had to be updated
> in order to make space for the extra field.

I'll apply this series, thanks Simon.