1. 25 11月, 2017 2 次提交
  2. 24 11月, 2017 7 次提交
  3. 22 11月, 2017 13 次提交
  4. 21 11月, 2017 6 次提交
  5. 20 11月, 2017 3 次提交
  6. 19 11月, 2017 4 次提交
  7. 18 11月, 2017 4 次提交
  8. 17 11月, 2017 1 次提交
    • J
      nfp: remove false positive offloads in flower vxlan · 0115552e
      John Hurley 提交于
      Pass information to the match offload on whether or not the repr is the
      ingress or egress dev. Only accept tunnel matches if repr is the egress
      dev.
      
      This means rules such as the following are successfully offloaded:
      tc .. add dev vxlan0 .. enc_dst_port 4789 .. action redirect dev nfp_p0
      
      While rules such as the following are rejected:
      tc .. add dev nfp_p0 .. enc_dst_port 4789 .. action redirect dev vxlan0
      
      Also reject non tunnel flows that are offloaded to an egress dev.
      Non tunnel matches assume that the offload dev is the ingress port and
      offload a match accordingly.
      
      Fixes: 611aec10 ("nfp: compile flower vxlan tunnel metadata match fields")
      Signed-off-by: NJohn Hurley <john.hurley@netronome.com>
      Reviewed-by: NJakub Kicinski <jakub.kicinski@netronome.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0115552e