1. 09 3月, 2015 1 次提交
  2. 03 3月, 2015 2 次提交
  3. 26 2月, 2015 1 次提交
  4. 18 11月, 2014 1 次提交
  5. 11 6月, 2014 1 次提交
    • N
      i40e: Separate out DCB capability and enabled flags · 4d9b6043
      Neerav Parikh 提交于
      Currently if the firmware reports DCB capability the driver enables
      I40E_FLAG_DCB_ENABLED flag. When this flag is enabled the driver
      inserts a tag when transmitting a packet from the port even if there
      are no DCB traffic classes configured at the port.
      
      This patch adds a new flag I40E_FLAG_DCB_CAPABLE that will be set
      when the DCB capability is present and the existing flag
      I40E_FLAG_DCB_ENABLED will be set only if there are more than one
      traffic classes configured at the port.
      
      Change-ID: I24ccbf53ef293db2eba80c8a9772acf729795bd5
      Signed-off-by: NNeerav Parikh <neerav.parikh@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      4d9b6043
  6. 09 6月, 2014 1 次提交
    • M
      i40e: allow for more VSIs · 505682cd
      Mitch Williams 提交于
      The number of VSIs that the firmware reports to us is a guaranteed
      minimum, not an absolute maximum. The hardware actually supports far
      more  than the reported value, which we often need.
      
      To allow for this, we allocate space for a larger number of VSIs than is
      guaranteed by the firmware, with the knowledge that we may fail to get
      them all in the future.
      
      Note that we are just allocating pointers here, the actual (much larger)
      VSI structures are allocated on demand.
      
      Change-ID: I6f4e535ce39d3bf417aef78306e04fbc7505140e
      Signed-off-by: NMitch Williams <mitch.a.williams@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      505682cd
  7. 18 1月, 2014 1 次提交
    • N
      i40e: add DCB and DCBNL support · 4e3b35b0
      Neerav Parikh 提交于
      This patch adds capability to configure DCB on i40e network
      interfaces using Intel XL710 adapter firmware APIs.
      
      By default all VSIs are only enabled for the default traffic
      class enabled by firmware for any given PF. The driver would
      query the firmware for the traffic classes that are enabled for
      the port and reconfigure the LAN VSI to match to the port traffic
      class settings. All other VSIs are only enabled for the default
      traffic class settings for now.
      
      The driver registers and listens to firmware events that may
      require change in the DCB settings. It may reconfigure the VSI
      settings based on these events.
      
      This patch exposes IEEE DCBNL interfaces for the i40e driver to
      allow any application to query the DCB settings on the adapter.
      Signed-off-by: NNeerav Parikh <Neerav.Parikh@intel.com>
      Signed-off-by: NJesse Brandeburg <jesse.brandeburg@intel.com>
      Tested-By: Jack Morgan<jack.morgan@intel.com>
      Signed-off-by: NAaron Brown <aaron.f.brown@intel.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4e3b35b0