1. 28 4月, 2016 4 次提交
  2. 27 4月, 2016 2 次提交
  3. 26 4月, 2016 3 次提交
    • M
      i40evf: Don't Panic · c0913c2e
      Mitch Williams 提交于
      Under some circumstances the driver remove function may be called before
      the driver is fully initialized. So we can't assume that we know where
      our towel is at, or that all of the data structures are initialized.
      
      To ensure that we don't panic, check that the vsi_res pointer is valid
      before dereferencing it. Then drink beer and eat peanuts.
      
      Change-ID: If697b4db57348e39f9538793e16aa755e3e1af03
      Signed-off-by: NMitch Williams <mitch.a.williams@intel.com>
      Tested-by: NAndrew Bowers <andrewx.bowers@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      c0913c2e
    • A
      i40e/i40evf: Add support for IPIP and SIT offloads · 577389a5
      Alexander Duyck 提交于
      Looking over the documentation it turns out enabling IPIP and SIT offloads
      for i40e is pretty straightforward.  As such I decided to enable them with
      this patch.  In my testing I am seeing an improvement of 8 to 10 Gb/s
      for IPIP and SIT tunnels with this offload enabled.
      Signed-off-by: NAlexander Duyck <aduyck@mirantis.com>
      Tested-by: NAndrew Bowers <andrewx.bowers@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      577389a5
    • A
      i40e/i40evf: Clean up feature flags · b0fe3306
      Alexander Duyck 提交于
      The feature flags list for i40e and i40evf is beginning to become pretty
      massive.  I plan to add another 4 or so features to these drivers and
      duplicating the flags for each and every flags list is becoming a bit
      repetitive.
      
      The primary change here is that we now build our features list around
      hw_encap_features.  After that we assign that to vlan_features,
      hw_features, and finally map that onto features.  In addition we end up
      throwing features onto hw_encap_features that end up having no effect such
      as the Rx offloads and SCTP_CRC.  However that should have no impact and
      makes things a bit easier for us as hw_encap_features is one of the less
      updated features maps available.
      
      For i40evf I went through and sanity checked a few features as well.
      Specifically RXCSUM was being set as a read-only feature which didn't make
      much sense.  I have updated things so we can clear the NETIF_F_RXCSUM flag
      since that is really a software feature and not a hardware one anyway so
      disabling it is just a matter of ignoring the result from the hardware.
      Signed-off-by: NAlexander Duyck <aduyck@mirantis.com>
      Tested-by: NAndrew Bowers <andrewx.bowers@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      b0fe3306
  4. 14 4月, 2016 1 次提交
  5. 07 4月, 2016 8 次提交
  6. 06 4月, 2016 8 次提交
  7. 05 4月, 2016 5 次提交
  8. 19 2月, 2016 9 次提交