1. 16 May, 2023 10 commits
  2. 15 May, 2023 14 commits
  3. 13 May, 2023 14 commits
  4. 12 May, 2023 2 commits
    • David S. Miller's avatar
      Merge branch 'sfc-decap' · ba79e9a7
      David S. Miller authored
      Edward Cree says:
      
      ====================
      sfc: more flexible encap matches on TC decap rules
      
      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.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      ba79e9a7
    • Edward Cree's avatar
      sfc: support TC decap rules matching on enc_src_port · b6583d5e
      Edward Cree authored
      Allow efx_tc_encap_match entries to include a udp_sport and a
       udp_sport_mask.  As with enc_ip_tos, use pseudos to enforce that all
       encap matches within a given <src_ip,dst_ip,udp_dport> tuple have
       the same udp_sport_mask.
      Note that since we use a single layer of pseudos for both fields, two
       matches that differ in (say) udp_sport value aren't permitted to have
       different ip_tos_mask, even though this would technically be safe.
      Current userland TC does not support setting enc_src_port; this patch
       was tested with an iproute2 patched to support it.
      Signed-off-by: default avatarEdward Cree <ecree.xilinx@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      b6583d5e