mbox series

[v2,00/10] net/sfc: add support for tunnel offload

Message ID 20211004235558.14593-1-ivan.malov@oktetlabs.ru (mailing list archive)
Headers
Series net/sfc: add support for tunnel offload |

Message

Ivan Malov Oct. 4, 2021, 11:55 p.m. UTC
  The first 6 patches comprise the fundamental part of the series.
They are trying to be future-proof with respect to the planned
HW/FW changes. 4 more patches form the adaptation part of some
sort to make the offload work on the currently available HW/FW.

This patch series should be applied on top of another patch
series named "A means to negotiate delivery of Rx meta data":
https://patches.dpdk.org/project/dpdk/list/?series=19373

Changes in v2:
* Rebase on top of v4 of the above mentioned patch series

Ivan Malov (10):
  net/sfc: fence off 8 bits in Rx mark for tunnel offload
  common/sfc_efx/base: add API to set RECIRC ID in outer rules
  net/sfc: support JUMP flows in tunnel offload
  common/sfc_efx/base: add RECIRC ID match in action rules API
  net/sfc: support GROUP flows in tunnel offload
  net/sfc: implement control path operations in tunnel offload
  net/sfc: override match on ETH in tunnel offload JUMP rules
  net/sfc: use action rules in tunnel offload JUMP rules
  net/sfc: support counters in tunnel offload JUMP rules
  net/sfc: refine pattern of GROUP flows in tunnel offload

 drivers/common/sfc_efx/base/efx.h      |  22 ++
 drivers/common/sfc_efx/base/efx_impl.h |   1 +
 drivers/common/sfc_efx/base/efx_mae.c  |  60 +++-
 drivers/common/sfc_efx/version.map     |   2 +
 drivers/net/sfc/meson.build            |   1 +
 drivers/net/sfc/sfc.h                  |   3 +
 drivers/net/sfc/sfc_dp.c               |  48 +++
 drivers/net/sfc/sfc_dp.h               |   9 +
 drivers/net/sfc/sfc_dp_rx.h            |   3 +
 drivers/net/sfc/sfc_ef100_rx.c         |  26 +-
 drivers/net/sfc/sfc_ethdev.c           |   4 +
 drivers/net/sfc/sfc_flow.c             |  53 ++-
 drivers/net/sfc/sfc_flow.h             |  14 +
 drivers/net/sfc/sfc_flow_tunnel.c      | 480 +++++++++++++++++++++++++
 drivers/net/sfc/sfc_flow_tunnel.h      | 117 ++++++
 drivers/net/sfc/sfc_mae.c              | 472 +++++++++++++++++++++---
 drivers/net/sfc/sfc_mae.h              |  12 +
 drivers/net/sfc/sfc_mae_counter.c      |  41 ++-
 drivers/net/sfc/sfc_mae_counter.h      |   3 +
 drivers/net/sfc/sfc_rx.c               |  10 +-
 20 files changed, 1311 insertions(+), 70 deletions(-)
 create mode 100644 drivers/net/sfc/sfc_flow_tunnel.c
 create mode 100644 drivers/net/sfc/sfc_flow_tunnel.h
  

Comments

Ferruh Yigit Oct. 12, 2021, 11:46 p.m. UTC | #1
On 10/5/2021 12:55 AM, Ivan Malov wrote:
> The first 6 patches comprise the fundamental part of the series.
> They are trying to be future-proof with respect to the planned
> HW/FW changes. 4 more patches form the adaptation part of some
> sort to make the offload work on the currently available HW/FW.
> 
> This patch series should be applied on top of another patch
> series named "A means to negotiate delivery of Rx meta data":
> https://patches.dpdk.org/project/dpdk/list/?series=19373
> 
> Changes in v2:
> * Rebase on top of v4 of the above mentioned patch series
> 
> Ivan Malov (10):
>    net/sfc: fence off 8 bits in Rx mark for tunnel offload
>    common/sfc_efx/base: add API to set RECIRC ID in outer rules
>    net/sfc: support JUMP flows in tunnel offload
>    common/sfc_efx/base: add RECIRC ID match in action rules API
>    net/sfc: support GROUP flows in tunnel offload
>    net/sfc: implement control path operations in tunnel offload
>    net/sfc: override match on ETH in tunnel offload JUMP rules
>    net/sfc: use action rules in tunnel offload JUMP rules
>    net/sfc: support counters in tunnel offload JUMP rules
>    net/sfc: refine pattern of GROUP flows in tunnel offload
> 

Hi Ivan,

Can you also this set on top of next-net? Previous sfc patches are
conflicting with this one.

Thanks,
ferruh
  
Ivan Malov Oct. 13, 2021, 12:28 a.m. UTC | #2
Hi Ferruh,

On 13/10/2021 02:46, Ferruh Yigit wrote:
> On 10/5/2021 12:55 AM, Ivan Malov wrote:
>> The first 6 patches comprise the fundamental part of the series.
>> They are trying to be future-proof with respect to the planned
>> HW/FW changes. 4 more patches form the adaptation part of some
>> sort to make the offload work on the currently available HW/FW.
>>
>> This patch series should be applied on top of another patch
>> series named "A means to negotiate delivery of Rx meta data":
>> https://patches.dpdk.org/project/dpdk/list/?series=19373
>>
>> Changes in v2:
>> * Rebase on top of v4 of the above mentioned patch series
>>
>> Ivan Malov (10):
>>    net/sfc: fence off 8 bits in Rx mark for tunnel offload
>>    common/sfc_efx/base: add API to set RECIRC ID in outer rules
>>    net/sfc: support JUMP flows in tunnel offload
>>    common/sfc_efx/base: add RECIRC ID match in action rules API
>>    net/sfc: support GROUP flows in tunnel offload
>>    net/sfc: implement control path operations in tunnel offload
>>    net/sfc: override match on ETH in tunnel offload JUMP rules
>>    net/sfc: use action rules in tunnel offload JUMP rules
>>    net/sfc: support counters in tunnel offload JUMP rules
>>    net/sfc: refine pattern of GROUP flows in tunnel offload
>>
> 
> Hi Ivan,
> 
> Can you also this set on top of next-net? Previous sfc patches are
> conflicting with this one.

Done. Thank you.

> 
> Thanks,
> ferruh