Skip to content
  1. Mar 29, 2014
    • Erik Hugne's avatar
      tipc: make discovery domain a bearer attribute · 16470111
      Erik Hugne authored
      
      
      The node discovery domain is assigned when a bearer is enabled.
      In the previous commit we reflect this attribute directly in the
      bearer structure since it's needed to reinitialize the node
      discovery mechanism after a hardware address change.
      
      There's no need to replicate this attribute anywhere else, so we
      remove it from the tipc_link_req structure.
      
      Signed-off-by: default avatarErik Hugne <erik.hugne@ericsson.com>
      Reviewed-by: default avatarYing Xue <ying.xue@windriver.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      16470111
    • Erik Hugne's avatar
      tipc: fix neighbor detection problem after hw address change · a21a584d
      Erik Hugne authored
      
      
      If the hardware address of a underlying netdevice is changed, it is
      not enough to simply reset the bearer/links over this device. We
      also need to reflect this change in the TIPC bearer and node
      discovery structures aswell.
      
      This patch adds the necessary reinitialization of the node disovery
      mechanism following a hardware address change so that the correct
      originating media address is advertised in the discovery messages.
      
      Signed-off-by: default avatarErik Hugne <erik.hugne@ericsson.com>
      Reported-by: default avatarDong Liu <dliu.cn@gmail.com>
      Reviewed-by: default avatarYing Xue <ying.xue@windriver.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      a21a584d
    • David S. Miller's avatar
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net-next · c8c3d7e2
      David S. Miller authored
      
      
      Jeff Kirsher says:
      
      ====================
      Intel Wired LAN Driver Updates
      
      This series contains updates to e1000e, igb, i40e and i40evf
      
      Anjali provides i40e fix to remove the ATR filter on RST as well as FIN
      packets.  Cleans up add_del_fdir() because it was used and implemented
      only for the add, so change the name and drop a parameter.  Adds the
      ability to drop a flow if we wanted to and adds a flow director
      message level to be used for flow director specific messages.
      
      Mitch fixes an issue on i40evf where the Tx watchdog handler was causing
      an oops when sending an admin queue message to request a reset because
      the admin queue functions use spinlocks.
      
      Greg provides a change to i40e to make the alloc and free queue vector
      calls orthogonal.
      
      Shannon fixes i40e to verify the eeprom checksum and firmware CRC status
      bits, and shutdown the driver if they fail.  This change stops the
      processing of traffic, but does not kill the PF netdev so that the
      NVMUpdate process still has a chance at fixing the image.  Also provides
      a fix to make sure the VSI has a netdev before trying to use it in
      the debugfs netdev_ops commands.
      
      Jakub Kicinski provides patches for e1000e and igb to fix a number issues
      found in the PTP code.
      
      v2:
      - drop patch 11 "i40e: Add a fallback debug flow for the driver" from the
        series based on feedback from David Miller
      ====================
      
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c8c3d7e2
    • Byungho An's avatar
      net: sxgbe: fix potential null dereference · 2405e8f6
      Byungho An authored
      
      
      This fixes following:
      
      drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c:1828 sxgbe_hw_init()
      error: potential null dereference 'priv->hw'.  (kmalloc returns null)
      
      Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
      Signed-off-by: default avatarByungho An <bh74.an@samsung.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      2405e8f6
    • Byungho An's avatar
      net: sxgbe: fix sparse warnings about static declaration · 40b92cad
      Byungho An authored
      
      
      This fixes followings:
      
      sparse warnings: (new ones prefixed by >>)
      
      >> drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c:197:5:
      sparse: symbol 'sxgbe_platform_freeze' was not declared. Should it be static?
      >> drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c:204:5:
      sparse: symbol 'sxgbe_platform_restore' was not declared. Should it be static?
      >> drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c:228:24:
      sparse: symbol 'sxgbe_platform_driver' was not declared. Should it be static?
      
      >> drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c:1795:6:
      sparse: symbol 'sxgbe_get_ops' was not declared. Should it be static?
      
      Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
      Signed-off-by: default avatarByungho An <bh74.an@samsung.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      40b92cad
    • David S. Miller's avatar
      Merge branch 'be2net-next' · 1d784724
      David S. Miller authored
      
      
      Sathya Perla says:
      
      ====================
      be2net: add vxlan offload support
      
      The first patch adds the FW cmds needed to configure the Skyhawk-R
      chip for supporting VxLAN offloads. The second patch implements the
      ndo_add/del_vxlan_port() methods and the plumbing for supporting
      RX/TX csum, TSO and RSS steering offloads for VxLAN traffic.
      
      v2 changes:
      NETIF_F_SG need not be set for hw_enc_features by the driver as it is
      done by the stack.
      
      v3 changes:
      * Defer FW cmds needed for VxLAN offloads to a workqueue
      * Reset FW to VxLAN offloads disabled state in the unload path
      
      v4 changes:
      * Revert the usage of workqueue (introduced in v3) to implement
      ndo_add/del_vxlan_port() as it is currently not needed (none of the
      FW cmd calls sleep.) Suggested by David M.
      ====================
      
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      1d784724
    • Sathya Perla's avatar
      be2net: csum, tso and rss steering offload support for VxLAN · c9c47142
      Sathya Perla authored
      
      
      This patch mainly implements the add/del_vxlan_port() methods by invoking
      the needed FW cmds for supporting VxLAN offloads for Skyhawk-R.
      
      Signed-off-by: default avatarSathya Perla <sathya.perla@emulex.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c9c47142
    • Sathya Perla's avatar
      be2net: add FW cmds needed for VxLAN offloads · a401801c
      Sathya Perla authored
      
      
      This patch adds support for the FW cmds needed for VxLAN offloads
      on Skyhawk-R:
      1) The VxLAN UDP port needs to be configured via the port-desc of
         SET_PROFILE_CONFIG_v1 cmd.
         This patch re-factors the be_set_profile_config() code (used so far
         only for setting VF QoS) to be used to set any type of descriptor.
      2) The MANAGE_IFACE_FILTERS cmds is needed to convert a normal interface
         into a tunnel interface. This allows for RSS to work even on the inner
         TCP/UDP headers of VxLAN traffic.
      
      Signed-off-by: default avatarSathya Perla <sathya.perla@emulex.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      a401801c
  2. Mar 28, 2014