1. 01 3月, 2016 1 次提交
  2. 26 1月, 2016 2 次提交
    • A
      net: i40e: shut up uninitialized variable warnings · 79febbc1
      Arnd Bergmann 提交于
      intel/i40e/i40e_txrx.c: In function 'i40e_xmit_frame_ring':
      intel/i40e/i40e_txrx.c:2367:20: error: 'oiph' may be used uninitialized in this function [-Werror=maybe-uninitialized]
      intel/i40e/i40e_txrx.c:2317:16: note: 'oiph' was declared here
      intel/i40e/i40e_txrx.c:2367:17: error: 'oudph' may be used uninitialized in this function [-Werror=maybe-uninitialized]
      intel/i40e/i40e_txrx.c:2316:17: note: 'oudph' was declared here
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Tested-by: NAndrew Bowers <andrewx.bowers@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      79febbc1
    • E
      i40e: fix build warnings · 5cae7615
      Eric Dumazet 提交于
      Fixes following build warnings :
      
      drivers/net/ethernet/intel/i40e/i40e_main.c:7057:13: warning:
      'i40e_sync_udp_filters_subtask' defined but not used [-Wunused-function]
      drivers/net/ethernet/intel/i40e/i40e_main.c:8524:13: warning:
      'i40e_add_vxlan_port' defined but not used [-Wunused-function]
      drivers/net/ethernet/intel/i40e/i40e_main.c:8569:13: warning:
      'i40e_del_vxlan_port' defined but not used [-Wunused-function]
      drivers/net/ethernet/intel/i40e/i40e_main.c:8604:13: warning:
      'i40e_add_geneve_port' defined but not used [-Wunused-function]
      drivers/net/ethernet/intel/i40e/i40e_main.c:8651:13: warning:
      'i40e_del_geneve_port' defined but not used [-Wunused-function]
      
      Fixes: 6a899024 ("i40e: geneve tunnel offload support")
      Signed-off-by: NEric Dumazet <edumazet@google.com>
      Tested-by: NAndrew Bowers <andrewx.bowers@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      5cae7615
  3. 08 1月, 2016 13 次提交
  4. 30 12月, 2015 8 次提交
  5. 22 12月, 2015 10 次提交
  6. 16 12月, 2015 5 次提交
  7. 15 12月, 2015 1 次提交
    • B
      e1000e: Fix msi-x interrupt automask · 0a8047ac
      Benjamin Poirier 提交于
      Since the introduction of 82574 support in e1000e, the driver has worked
      on the assumption that msi-x interrupt generation is automatically
      disabled after each irq. As it turns out, this is not the case.
      Currently, rx interrupts can fire multiple times before and during napi
      processing. This can be a problem for users because frames that arrive
      in a certain window (after adapter->clean_rx() but before
      napi_complete_done() has cleared NAPI_STATE_SCHED) generate an interrupt
      which does not lead to napi_schedule(). These frames sit in the rx queue
      until another frame arrives (a tcp retransmit for example).
      
      While the EIAC and CTRL_EXT registers are properly configured for irq
      automask, the modification of IAM in e1000_configure_msix() is what
      prevents automask from working as intended.
      
      This patch removes that erroneous write and fixes interrupt rearming for
      tx interrupts. It also clears IAME from CTRL_EXT. This is not strictly
      necessary for operation of the driver but it is to avoid disruption from
      potential programs that access the registers directly, like `ethregs -c`.
      Reported-by: NFrank Steiner <steiner-reg@bio.ifi.lmu.de>
      Signed-off-by: NBenjamin Poirier <bpoirier@suse.com>
      Tested-by: NAaron Brown <aaron.f.brown@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      0a8047ac