1. 27 2月, 2019 1 次提交
  2. 08 11月, 2018 1 次提交
  3. 12 10月, 2018 1 次提交
  4. 11 10月, 2018 1 次提交
  5. 02 10月, 2018 1 次提交
  6. 31 7月, 2018 1 次提交
  7. 27 7月, 2018 1 次提交
  8. 18 7月, 2018 1 次提交
  9. 29 5月, 2018 1 次提交
  10. 24 5月, 2018 3 次提交
  11. 30 3月, 2018 1 次提交
  12. 08 2月, 2018 1 次提交
  13. 23 1月, 2018 1 次提交
  14. 20 1月, 2018 2 次提交
  15. 15 1月, 2018 1 次提交
  16. 10 1月, 2018 2 次提交
  17. 04 1月, 2018 1 次提交
  18. 17 11月, 2017 1 次提交
  19. 05 11月, 2017 1 次提交
    • J
      nfp: bpf: move to new BPF program offload infrastructure · c6c580d7
      Jakub Kicinski 提交于
      Following steps are taken in the driver to offload an XDP program:
      
      XDP_SETUP_PROG:
       * prepare:
         - allocate program state;
         - run verifier (bpf_analyzer());
         - run translation;
       * load:
         - stop old program if needed;
         - load program;
         - enable BPF if not enabled;
       * clean up:
         - free program image.
      
      With new infrastructure the flow will look like this:
      
      BPF_OFFLOAD_VERIFIER_PREP:
        - allocate program state;
      BPF_OFFLOAD_TRANSLATE:
         - run translation;
      XDP_SETUP_PROG:
         - stop old program if needed;
         - load program;
         - enable BPF if not enabled;
      BPF_OFFLOAD_DESTROY:
         - free program image.
      
      Take advantage of the new infrastructure.  Allocation of driver
      metadata has to be moved from jit.c to offload.c since it's now
      done at a different stage.  Since there is no separate driver
      private data for verification step, move temporary nfp_meta
      pointer into nfp_prog.  We will now use user space context
      offsets.
      Signed-off-by: NJakub Kicinski <jakub.kicinski@netronome.com>
      Reviewed-by: NQuentin Monnet <quentin.monnet@netronome.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c6c580d7
  20. 10 10月, 2017 1 次提交
  21. 04 9月, 2017 1 次提交
  22. 19 8月, 2017 1 次提交
  23. 08 8月, 2017 3 次提交
  24. 28 6月, 2017 2 次提交
  25. 25 6月, 2017 5 次提交
  26. 10 6月, 2017 1 次提交
  27. 08 6月, 2017 2 次提交
  28. 01 6月, 2017 1 次提交