1. 23 Feb, 2015 2 commits
    • Sathya Perla's avatar
      be2net: move adapter fields alloc/free code to new routines · 78fad34e
      Sathya Perla authored
      The members of be_adapter struct were being allocated in two separate
      routines -- be_ctrl_init() and be_stats_init(). Also, some other members
      were allocated elsewhere. This patch moves the alloc/free code into
      be_drv_init/cleanup() routines. The be_pci_map_bars() routine that was
      called from be_ctrl_init() is now called directly from be_probe().
      The new routine be_drv_init() will now be the place-holder for allocating
      memory for any new be_adapter{} members in the future.
      Some routines needed to be moved to provide forward definitions for their
      calls.
      Signed-off-by: default avatarSathya Perla <sathya.perla@emulex.com>
      Signed-off-by: default avatarKalesh AP <kalesh.purayil@emulex.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      78fad34e
    • Roopa Prabhu's avatar
      bridge: add vlan info to bridge setlink and dellink notification messages · b7853d73
      Roopa Prabhu authored
      vlan add/deletes are not notified to userspace today. This patch adds
      vlan info to bridge newlink/dellink notifications generated from the
      bridge driver. Notifications use the RTEXT_FILTER_BRVLAN_COMPRESSED
      flag to compress vlans into ranges whereever applicable.
      
      The size calculations does not take ranges into account for
      simplicity.  This has the potential for allocating a larger skb than
      required.
      
      There is an existing inconsistency with bridge NEWLINK and DELLINK
      change notifications. Both generate NEWLINK notifications.  Since its
      always a NEWLINK notification, this patch includes all vlans the port
      belongs to in the notification. The NEWLINK and DELLINK request
      messages however only include the vlans to be added and deleted.
      Signed-off-by: default avatarRoopa Prabhu <roopa@cumulusnetworks.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      b7853d73
  2. 22 Feb, 2015 8 commits
  3. 20 Feb, 2015 23 commits
  4. 19 Feb, 2015 7 commits