1. 16 Jan, 2015 1 commit
  2. 09 Dec, 2014 3 commits
  3. 20 Nov, 2014 1 commit
    • Mitch Williams's avatar
      i40e: don't overload fields · 1001dc37
      Mitch Williams authored
      
      
      Overloading the msg_size field in the arq_event_info struct is just a
      bad idea. It leads to repeated bugs when the structure is used in a
      loop, since the input value (buffer size) is overwritten by the output
      value (actual message length).
      
      Fix this by splitting the field into two and renaming to indicate the
      actual function of each field.
      
      Since the arq_event struct has now changed, we need to change the drivers
      to support this. Note that we no longer need to initialize the buffer size
      each time we go through a loop as this value is no longer destroyed by
      arq processing.
      
      In the process, we also fix a bug in i40evf_verify_api_ver where the
      buffer size was not correctly reinitialized each time through the loop.
      
      Change-ID: Ic7f9633cdd6f871f93e698dfb095e29c696f5581
      Signed-off-by: default avatarMitch Williams <mitch.a.williams@intel.com>
      Acked-by: default avatarShannon Nelson <shannon.nelson@intel.com>
      Acked-by: default avatarAshish Shah <ashish.n.shah@intel.com>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      1001dc37
  4. 11 Nov, 2014 1 commit
  5. 24 Jul, 2014 1 commit
    • Shannon Nelson's avatar
      i40e/i40evf: Add nvmupdate support · cd552cb4
      Shannon Nelson authored
      
      
      This implements a state machine intended to support the userland tool for
      updating the device eeprom. The state machine implements one-shot reads,
      writes, multi-step write sessions, and checksum requests. If we're in the middle
      of a multi-step write session, no one should fire off other writes, however, one
      shot reads are valid. The userland tool is expected to keep track of its session
      status, arrange the placement and ordering of the writes, and deal with the
      checksum requirement.
      
      This patch also adds nvmupdate support to ethtool callbacks.
      The get_eeprom() and set_eeprom() services in ethtool are used here to
      facilitate the userland NVMUpdate tool.  The 'magic' value in the get and
      set commands is used to pass additional control information for managing
      the read and write steps.
      
      The read operation works both as normally expected in the standard ethtool
      method, as well as with the extra NVM controls.  The write operation
      works only for the expanded NVM functions - the normal ethtool method is
      not allowed because of the NVM semaphore management needed for multipart
      writes, as well as the checksum requirement.
      
      Change-ID: I1d84a170153a9f437906744e2e350fd68fe7563d
      Signed-off-by: default avatarShannon Nelson <shannon.nelson@intel.com>
      Tested-by: default avatarJim Young <jamesx.m.young@intel.com>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      cd552cb4
  6. 01 Jul, 2014 2 commits
  7. 21 Apr, 2014 1 commit
  8. 09 Jan, 2014 1 commit
  9. 05 Jan, 2014 1 commit
  10. 06 Dec, 2013 1 commit
  11. 11 Sep, 2013 1 commit