1. 25 9月, 2016 4 次提交
    • J
      i40e: cleanup ATR auto_disable_flags use · 234dc4e6
      Jacob Keller 提交于
      Some locations that disable ATR accidentally used the "full" disable by
      disabling the flag in the standard flags field. This incorrectly forces
      ATR off permanently instead of temporarily disabling it. In addition,
      some code locations accidentally set the ATR flag enabled when they only
      meant to clear the auto_disable_flags. This results in ignoring the
      user's ethtool private flag settings.
      
      Additionally, when disabling ATR via ethtool, we did not perform a flush
      of the FD table. This results in the previously assigned ATR rules still
      functioning which was not expected.
      
      Cleanup all these areas so that automatic disable uses only the
      auto_disable_flag. Fix the flush code so that we can trigger a flush
      even when we've disabled ATR and SB support, as otherwise the flush
      doesn't work. Fix ethtool setting to actually request a flush. Fix
      NETIF_F_NTUPLE flag to only clear the auto_disable setting and not
      enable the full feature.
      
      Change-ID: Ib2486111f8031bd16943e9308757b276305c03b5
      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>
      234dc4e6
    • P
      i40e: add encap csum VF offload flag · 2199254c
      Preethi Banala 提交于
      Add ENCAP_CSUM offload negotiation flag. Currently VF assumes checksum
      offload for encapsulated packets is supported by default. Going forward,
      this feature needs to be negotiated with PF before advertising to the
      stack. Hence, we need a flag to control it.
      This is in regards to prepping up for VF base mode functionality support.
      
      Change-ID: Iaab1f25cc0abda5f2fbe3309092640f0e77d163e
      Signed-off-by: NPreethi Banala <preethi.banala@intel.com>
      Tested-by: NAndrew Bowers <andrewx.bowers@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      2199254c
    • A
      i40e: fix deleting mac filters · a6cb9146
      Alan Brady 提交于
      There exists a bug in which deleting a mac filter does not actually
      occur.  The driver reports that the filter has been deleted with no
      error.  The problem occurs because the wrong cmd_flag is passed to the
      firmware when deleting the filter.  The firmware reports an error back
      to the driver but it is expressly ignored.
      
      This fixes the bug by using the correct flag when deleting a filter.
      Without this patch, deleted filters remain in firmware and function as
      if they had not been deleted.
      
      Change-ID: I5f22b874f3b83f457702f18f0d5602ca21ac40c3
      Signed-off-by: NAlan Brady <alan.brady@intel.com>
      Tested-by: NAndrew Bowers <andrewx.bowers@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      a6cb9146
    • H
      i40e: Remove 100 Mbps SGMII support for X722 · f2c7c1d0
      Harshitha Ramamurthy 提交于
      This patch fixes the problem where driver shows 100 Mbps as a supported speed,
      and allows it to be configured for advertising on X722 devices. This patch
      fixes the problem by not setting the 100 Mbps SGMII flag for X722 devices.
      
      Without this patch, the user incorrectly thinks that 100 Mbps is supported
      and hence might try to advertise it on X722 devices when it is actually not
      a supported speed.
      
      Change-ID: I8c3d7c4251a9402d98994ed29749b7b895a0f205
      Signed-off-by: NHarshitha Ramamurthy <harshitha.ramamurthy@intel.com>
      Tested-by: NAndrew Bowers <andrewx.bowers@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      f2c7c1d0
  2. 24 9月, 2016 8 次提交
  3. 23 9月, 2016 28 次提交