1. 17 Apr, 2019 21 commits
  2. 16 Apr, 2019 17 commits
  3. 15 Apr, 2019 2 commits
    • David S. Miller's avatar
      Merge branch 'nfp-Flower-flow-merging' · b6ed55cb
      David S. Miller authored
      Simon Horman says:
      
      ====================
      nfp: Flower flow merging
      
      John Hurley says,
      
      These patches deal with 'implicit recirculation' on the NFP. This is a
      firmware feature whereby a packet egresses to an 'internal' port meaning
      that it will recirculate back to the header extract phase with the
      'internal' port now marked as its ingress port. This internal port can
      then be matched on by another rule. This process simulates how OvS
      datapath outputs to an internal port. The FW traces the packet's
      recirculation route and sends a 'merge hint' to the driver telling it
      which flows it matched against. The driver can then decide if these flows
      can be merged to a single rule and offloaded.
      
      The patches deal with the following issues:
      
      - assigning/freeing IDs to/from each of these new internal ports
      - offloading rules that match on internal ports
      - offloading neighbour table entries whose egress port is internal
      - handling fallback traffic with an internal port as ingress
      - using merge hints to create 'faster path' flows and tracking stats etc.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      b6ed55cb
    • John Hurley's avatar
      nfp: flower: offload merge flows · 8af56f40
      John Hurley authored
      A merge flow is formed from 2 sub flows. The match fields of the merge are
      the same as the first sub flow that has formed it, with the actions being
      a combination of the first and second sub flow. Therefore, a merge flow
      should replace sub flow 1 when offloaded.
      
      Offload valid merge flows by using a new 'flow mod' message type to
      replace an existing offloaded rule. Track the deletion of sub flows that
      are linked to a merge flow and revert offloaded merge rules if required.
      Signed-off-by: default avatarJohn Hurley <john.hurley@netronome.com>
      Signed-off-by: default avatarSimon Horman <simon.horman@netronome.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      8af56f40