1. 18 9月, 2018 1 次提交
    • J
      intel-ethernet: rename i40evf to iavf · 8062b226
      Jesse Brandeburg 提交于
      Rename the Intel Ethernet Adaptive Virtual Function driver
      (i40evf) to a new name (iavf) that is more consistent with
      the ongoing maintenance of the driver as the universal VF driver
      for multiple product lines.
      
      This first patch fixes up the directory names and the .ko name,
      intentionally ignoring the function names inside the driver
      for now.  Basically this is the simplest patch that gets
      the rename done and will be followed by other patches that
      rename the internal functions.
      
      This patch also addresses a couple of string/name issues
      and updates the Copyright year.
      
      Also, made sure to add a MODULE_ALIAS to the old name.
      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>
      8062b226
  2. 07 8月, 2018 1 次提交
  3. 01 5月, 2018 1 次提交
  4. 28 4月, 2018 1 次提交
  5. 24 3月, 2018 1 次提交
  6. 27 1月, 2018 1 次提交
  7. 11 1月, 2018 2 次提交
  8. 03 10月, 2017 1 次提交
  9. 28 8月, 2017 1 次提交
    • J
      i40e: prevent snprintf format specifier truncation · b5d5504a
      Jacob Keller 提交于
      Increase the size of the prefix buffer so that it can hold enough
      characters for every possible input. Although 20 is enough for all
      expected inputs, it is possible for the values to be larger than
      expected, resulting in a possibly truncated string. Additionally, lets
      use sizeof(prefix) in order to ensure we use the correct size if we need
      to change the array length in the future.
      
      New versions of GCC starting at 7 now include warnings to prevent
      truncation unless you handle the return code. At most 27 bytes can be
      written here, so lets just increase the buffer size even if for all
      expected hw->bus.* values we only needed 20.
      Signed-off-by: NJacob Keller <jacob.e.keller@intel.com>
      Tested-by: NAndrew Bowers <andrewx.bowers@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      b5d5504a
  10. 26 8月, 2017 1 次提交
  11. 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
  12. 31 5月, 2017 1 次提交
  13. 20 4月, 2017 1 次提交
  14. 29 3月, 2017 1 次提交
  15. 19 2月, 2017 1 次提交
  16. 03 2月, 2017 1 次提交
  17. 07 12月, 2016 1 次提交
  18. 23 9月, 2016 1 次提交
  19. 22 7月, 2016 1 次提交
  20. 28 4月, 2016 1 次提交
  21. 06 4月, 2016 1 次提交
  22. 19 2月, 2016 1 次提交
  23. 08 1月, 2016 1 次提交
  24. 23 10月, 2015 1 次提交
  25. 20 10月, 2015 1 次提交
  26. 16 10月, 2015 1 次提交
  27. 09 10月, 2015 1 次提交
  28. 08 10月, 2015 1 次提交
  29. 30 9月, 2015 1 次提交
  30. 27 8月, 2015 1 次提交
  31. 06 8月, 2015 2 次提交
  32. 23 7月, 2015 1 次提交
  33. 27 3月, 2015 1 次提交
  34. 07 3月, 2015 1 次提交
  35. 05 3月, 2015 1 次提交