1. 26 8月, 2017 1 次提交
  2. 02 6月, 2017 4 次提交
    • P
      i40evf: Add support for Adaptive Virtual Function · abf709a1
      Preethi Banala 提交于
      Add device ID define and mac_type assignment needed for
      Adaptive Virtual Function (VF Base Mode Support).
      
      Also, update version to v3.0.0 in order to indicate
      clearly that this is the first driver supporting the AVF
      device ID.
      Signed-off-by: NPreethi Banala <preethi.banala@intel.com>
      Signed-off-by: NJesse Brandeburg <jesse.brandeburg@intel.com>
      Tested-by: NAndrew Bowers <andrewx.bowers@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      abf709a1
    • J
      virtchnl: finish conversion to virtchnl interface · ff3f4cc2
      Jesse Brandeburg 提交于
      This patch implements the complete version of the virtchnl.h file
      with final renames, and fixes the related code in i40e and i40evf.
      
      It also expands comments, and adds details on the usage of
      certain fields.
      
      In addition, due to the changes a couple of casts are needed
      to prevent errors found by sparse after renaming some fields.
      Signed-off-by: NJesse Brandeburg <jesse.brandeburg@intel.com>
      Tested-by: NAndrew Bowers <andrewx.bowers@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      ff3f4cc2
    • J
      virtchnl: rename i40e to generic virtchnl · 310a2ad9
      Jesse Brandeburg 提交于
      This morphs all the i40e and i40evf references to/in virtchnl.h
      to be generic, using only automated methods. Updates all the
      callers to use the new names.  A followup patch provides separate
      clean ups for messy line conversions from these "automatic"
      changes, to make them more reviewable.
      
      Was executed with the following sed script:
      sed -i -f transform_script drivers/net/ethernet/intel/i40e/i40e_client.c
      sed -i -f transform_script drivers/net/ethernet/intel/i40e/i40e_prototype.h
      sed -i -f transform_script drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
      sed -i -f transform_script drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.h
      sed -i -f transform_script drivers/net/ethernet/intel/i40evf/i40e_common.c
      sed -i -f transform_script drivers/net/ethernet/intel/i40evf/i40e_prototype.h
      sed -i -f transform_script drivers/net/ethernet/intel/i40evf/i40evf.h
      sed -i -f transform_script drivers/net/ethernet/intel/i40evf/i40evf_client.c
      sed -i -f transform_script drivers/net/ethernet/intel/i40evf/i40evf_main.c
      sed -i -f transform_script drivers/net/ethernet/intel/i40evf/i40evf_virtchnl.c
      sed -i -f transform_script include/linux/avf/virtchnl.h
      
      transform_script:
      ----8<----
      s/I40E_VIRTCHNL_SUPPORTED_QTYPES/SAVE_ME_SUPPORTED_QTYPES/g
      s/I40E_VIRTCHNL_VF_CAP/SAVE_ME_VF_CAP/g
      
      s/I40E_VIRTCHNL_/VIRTCHNL_/g
      s/i40e_virtchnl_/virtchnl_/g
      s/i40e_vfr_/virtchnl_vfr_/g
      s/I40E_VFR_/VIRTCHNL_VFR_/g
      
      s/VIRTCHNL_OP_ADD_ETHER_ADDRESS/VIRTCHNL_OP_ADD_ETH_ADDR/g
      s/VIRTCHNL_OP_DEL_ETHER_ADDRESS/VIRTCHNL_OP_DEL_ETH_ADDR/g
      s/VIRTCHNL_OP_FCOE/VIRTCHNL_OP_RSVD/g
      
      s/SAVE_ME_SUPPORTED_QTYPES/I40E_VIRTCHNL_SUPPORTED_QTYPES/g
      s/SAVE_ME_VF_CAP/I40E_VIRTCHNL_VF_CAP/g
      ----8<----
      Signed-off-by: NJesse Brandeburg <jesse.brandeburg@intel.com>
      Tested-by: NAndrew Bowers <andrewx.bowers@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      310a2ad9
    • J
      i40e/i40evf: create and use new unified header file · 681bdf80
      Jesse Brandeburg 提交于
      This moves a header for i40evf to include/linux/avf/virtchnl.h.
      The directory name AVF is an acronym for the Intel(R) Adaptive
      Virtual Function.
      
      This first step creates the new file, which is a rename of
      drivers/net/ethernet/intel/i40evf/i40e_virtchnl.h to
      include/linux/avf/virtchnl.h, and should show up in git
      as a rename when using git log --follow.
      
      To keep things building after the move, the changes to the i40evf
      driver are made to point to the new include file location.
      Signed-off-by: NJesse Brandeburg <jesse.brandeburg@intel.com>
      Tested-by: NAndrew Bowers <andrewx.bowers@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      681bdf80
  3. 31 5月, 2017 1 次提交
  4. 20 4月, 2017 1 次提交
  5. 29 3月, 2017 1 次提交
  6. 19 2月, 2017 1 次提交
  7. 03 2月, 2017 1 次提交
  8. 07 12月, 2016 1 次提交
  9. 23 9月, 2016 1 次提交
  10. 22 7月, 2016 1 次提交
  11. 28 4月, 2016 1 次提交
  12. 06 4月, 2016 1 次提交
  13. 19 2月, 2016 1 次提交
  14. 08 1月, 2016 1 次提交
  15. 23 10月, 2015 1 次提交
  16. 20 10月, 2015 1 次提交
  17. 16 10月, 2015 1 次提交
  18. 09 10月, 2015 1 次提交
  19. 08 10月, 2015 1 次提交
  20. 30 9月, 2015 1 次提交
  21. 27 8月, 2015 1 次提交
  22. 06 8月, 2015 2 次提交
  23. 23 7月, 2015 1 次提交
  24. 27 3月, 2015 1 次提交
  25. 07 3月, 2015 1 次提交
  26. 05 3月, 2015 1 次提交
  27. 25 2月, 2015 1 次提交
  28. 03 11月, 2014 1 次提交
  29. 27 8月, 2014 1 次提交
  30. 03 7月, 2014 1 次提交
  31. 08 6月, 2014 1 次提交
  32. 29 5月, 2014 1 次提交
  33. 21 5月, 2014 1 次提交
  34. 01 4月, 2014 1 次提交
  35. 19 3月, 2014 1 次提交
    • E
      i40evf: Rename i40e_ptype_lookup i40evf_ptype_lookup · 37a622c1
      Eric W Biederman 提交于
      When compiling the i40e and the i40evf driver into the same kernel I get:
      LD      drivers/net/ethernet/intel/built-in.o
      drivers/net/ethernet/intel/i40evf/built-in.o:(.data+0x300): multiple definition of `i40e_ptype_lookup'
      drivers/net/ethernet/intel/i40e/built-in.o:(.data+0x780): first defined here
      make[3]: *** [drivers/net/ethernet/intel/built-in.o] Error 1
      make[2]: *** [drivers/net/ethernet/intel] Error 2
      make[1]: *** [drivers/net/ethernet/] Error 2
      make: *** [sub-make] Error 2
      
      Fix this by renaming the i40evf version of this structure from
      i40e_ptype_lookup to i40evf_ptype_lookup.
      
      This build failure was introduced in:
        commit 206812b5
        Author: Jesse Brandeburg <jesse.brandeburg@intel.com>
        i40e/i40evf: i40e implementation for skb_set_hash
      
      Cc: Jesse Brandeburg <jesse.brandeburg@intel.com>
      Cc: Catherine Sullivan <catherine.sullivan@intel.com>
      Signed-off-by: NEric W Biederman <ebiederm@xmission.com>
      Tested-by: NKavindya Deegala <kavindya.s.deegala@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      37a622c1
  36. 07 3月, 2014 1 次提交