mbox series

[net-next,0/4] nfp: Offload MPLS actions

Message ID 1563892442-4654-1-git-send-email-john.hurley@netronome.com
Headers show
Series nfp: Offload MPLS actions | expand

Message

John Hurley July 23, 2019, 2:33 p.m. UTC
The module act_mpls has recently been added to the kernel. This allows the
manipulation of MPLS headers on packets including push, pop and modify.
Add these new actions and parameters to the intermediate representation
API for hardware offload. Follow this by implementing the offload of these
MPLS actions in the NFP driver.

John Hurley (4):
  net: sched: include mpls actions in hardware intermediate
    representation
  nfp: flower: offload MPLS push action
  nfp: flower: offload MPLS pop action
  nfp: flower: offload MPLS set action

 drivers/net/ethernet/netronome/nfp/flower/action.c | 120 +++++++++++++++++++++
 drivers/net/ethernet/netronome/nfp/flower/cmsg.h   |  21 ++++
 include/net/flow_offload.h                         |  19 ++++
 include/net/tc_act/tc_mpls.h                       |  75 +++++++++++++
 net/sched/cls_api.c                                |  25 +++++
 5 files changed, 260 insertions(+)

Comments

David Miller July 23, 2019, 8:53 p.m. UTC | #1
From: John Hurley <john.hurley@netronome.com>
Date: Tue, 23 Jul 2019 15:33:58 +0100

> The module act_mpls has recently been added to the kernel. This allows the
> manipulation of MPLS headers on packets including push, pop and modify.
> Add these new actions and parameters to the intermediate representation
> API for hardware offload. Follow this by implementing the offload of these
> MPLS actions in the NFP driver.

Looks nice, clean, and straightforward.

Applied, thanks.