Skip to content
  1. Mar 29, 2014
    • 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