mbox series

[0/4] pipeline: support large structure fields

Message ID 20220812095445.1253138-1-cristian.dumitrescu@intel.com (mailing list archive)
Headers
Series pipeline: support large structure fields |

Message

Cristian Dumitrescu Aug. 12, 2022, 9:54 a.m. UTC
  This patch set adds support for structure fields bigger than 64 bits.
These fields can be packet header or meta-data fields. They can be
used as part of the table lookup key or as action arguments. They are
now valid operands for the move instruction.

This is required for supporting the 128-bit IPv6 addresses, which up
to now had to be split into two 64-bit fields.

Cristian Dumitrescu (4):
  pipeline: remove the 64-bit limit for structure fields
  pipeline: read large structure fields on the control path
  pipeline: support large default action arguments
  pipeline: add instruction support for moving large structure fields

 lib/pipeline/rte_swx_ctl.c               | 357 +++++++++++++++++++----
 lib/pipeline/rte_swx_pipeline.c          | 256 +++++++++++-----
 lib/pipeline/rte_swx_pipeline_internal.h |  78 ++++-
 lib/pipeline/rte_swx_pipeline_spec.c     |   3 +-
 4 files changed, 559 insertions(+), 135 deletions(-)
  

Comments

Thomas Monjalon Sept. 23, 2022, 11:56 a.m. UTC | #1
12/08/2022 11:54, Cristian Dumitrescu:
> This patch set adds support for structure fields bigger than 64 bits.
> These fields can be packet header or meta-data fields. They can be
> used as part of the table lookup key or as action arguments. They are
> now valid operands for the move instruction.
> 
> This is required for supporting the 128-bit IPv6 addresses, which up
> to now had to be split into two 64-bit fields.
> 
> Cristian Dumitrescu (4):
>   pipeline: remove the 64-bit limit for structure fields
>   pipeline: read large structure fields on the control path
>   pipeline: support large default action arguments
>   pipeline: add instruction support for moving large structure fields

Applied, thanks.