mbox series

[v2,net-next,0/4] sfc: more flexible encap matches on TC decap rules

Message ID cover.1683834261.git.ecree.xilinx@gmail.com (mailing list archive)
Headers show
Series sfc: more flexible encap matches on TC decap rules | expand

Message

edward.cree@amd.com May 11, 2023, 7:47 p.m. UTC
From: Edward Cree <ecree.xilinx@gmail.com>

This series extends the TC offload support on EF100 to support optionally
 matching on the IP ToS and UDP source port of the outer header in rules
 performing tunnel decapsulation.  Both of these fields allow masked
 matches if the underlying hardware supports it (current EF100 hardware
 supports masking on ToS, but only exact-match on source port).
Given that the source port is typically populated from a hash of inner
 header entropy, it's not clear whether filtering on it is useful, but
 since we can support it we may as well expose the capability.

Edward Cree (4):
  sfc: release encap match in efx_tc_flow_free()
  sfc: populate enc_ip_tos matches in MAE outer rules
  sfc: support TC decap rules matching on enc_ip_tos
  sfc: support TC decap rules matching on enc_src_port

 drivers/net/ethernet/sfc/mae.c |  28 ++++-
 drivers/net/ethernet/sfc/mae.h |   1 +
 drivers/net/ethernet/sfc/tc.c  | 205 +++++++++++++++++++++++----------
 drivers/net/ethernet/sfc/tc.h  |  27 +++++
 4 files changed, 197 insertions(+), 64 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org May 12, 2023, 11:50 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by David S. Miller <davem@davemloft.net>:

On Thu, 11 May 2023 20:47:27 +0100 you wrote:
> From: Edward Cree <ecree.xilinx@gmail.com>
> 
> This series extends the TC offload support on EF100 to support optionally
>  matching on the IP ToS and UDP source port of the outer header in rules
>  performing tunnel decapsulation.  Both of these fields allow masked
>  matches if the underlying hardware supports it (current EF100 hardware
>  supports masking on ToS, but only exact-match on source port).
> Given that the source port is typically populated from a hash of inner
>  header entropy, it's not clear whether filtering on it is useful, but
>  since we can support it we may as well expose the capability.
> 
> [...]

Here is the summary with links:
  - [v2,net-next,1/4] sfc: release encap match in efx_tc_flow_free()
    https://git.kernel.org/netdev/net-next/c/28fa3ac487c6
  - [v2,net-next,2/4] sfc: populate enc_ip_tos matches in MAE outer rules
    https://git.kernel.org/netdev/net-next/c/56beb35d85e2
  - [v2,net-next,3/4] sfc: support TC decap rules matching on enc_ip_tos
    https://git.kernel.org/netdev/net-next/c/3c9561c0a5b9
  - [v2,net-next,4/4] sfc: support TC decap rules matching on enc_src_port
    https://git.kernel.org/netdev/net-next/c/b6583d5e9e94

You are awesome, thank you!