1. 27 Feb, 2018 7 commits
    • Kirill Tkhai's avatar
      net: Convert simple pernet_operations · 02df428c
      Kirill Tkhai authored
      These pernet_operations make pretty simple actions
      like variable initialization on init, debug checks
      on exit, and so on, and they obviously are able
      to be executed in parallel with any others:
      
      vrf_net_ops
      lockd_net_ops
      grace_net_ops
      xfrm6_tunnel_net_ops
      kcm_net_ops
      tcf_net_ops
      Signed-off-by: default avatarKirill Tkhai <ktkhai@virtuozzo.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      02df428c
    • Kirill Tkhai's avatar
      net: Convert nfs_net_ops · 7300bd94
      Kirill Tkhai authored
      These pernet_operations just create and destroy /proc entries
      and net_generic()->cb_ident_idr IDR. So, we are able to mark
      them async.
      Signed-off-by: default avatarKirill Tkhai <ktkhai@virtuozzo.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      7300bd94
    • Kirill Tkhai's avatar
      net: Convert synproxy_net_ops · f0aad8e3
      Kirill Tkhai authored
      These pernet_operations create and destroy /proc entries
      and allocate extents to template ct, which depend on global
      nf_ct_ext_types[] array. So, we are able to mark them async.
      Signed-off-by: default avatarKirill Tkhai <ktkhai@virtuozzo.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      f0aad8e3
    • Kirill Tkhai's avatar
      net: Convert hashlimit_net_ops and recent_net_ops · 47d63a01
      Kirill Tkhai authored
      These pernet_operations just create and destroy /proc entries.
      Also, new /proc entries also may come after new nf rules
      are added, but this is not possible, when net isn't alive.
      So, they are safe to be marked as async.
      Signed-off-by: default avatarKirill Tkhai <ktkhai@virtuozzo.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      47d63a01
    • Kirill Tkhai's avatar
      net: Convert /proc creating and destroying pernet_operations · c80afa02
      Kirill Tkhai authored
      These pernet_operations just create and destroy /proc entries,
      and they can safely marked as async:
      
      pppoe_net_ops
      vlan_net_ops
      canbcm_pernet_ops
      kcm_net_ops
      pfkey_net_ops
      pppol2tp_net_ops
      phonet_net_ops
      Signed-off-by: default avatarKirill Tkhai <ktkhai@virtuozzo.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c80afa02
    • Arnd Bergmann's avatar
      ipvlan: fix building with modular IPV6 · 7f897db3
      Arnd Bergmann authored
      We no longer depend on IPV6, but that now causes a link error with
      CONFIG_IPV6=m and CONFIG_IPVLAN=y:
      
      drivers/net/ipvlan/ipvlan_core.o: In function `ipvlan_queue_xmit':
      ipvlan_core.c:(.text+0x1440): undefined reference to `ip6_route_output_flags'
      drivers/net/ipvlan/ipvlan_core.o: In function `ipvlan_l3_rcv':
      ipvlan_core.c:(.text+0x1818): undefined reference to `ip6_route_input_lookup'
      
      This adds back the dependency on IPV6, with the option of building without
      IPV6, but forcing IPVLAN to be a module when IPV6 is a module.
      
      Fixes: 94333fac ("ipvlan: drop ipv6 dependency")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      7f897db3
    • David S. Miller's avatar
      Merge branch '10GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue · 3808b519
      David S. Miller authored
      Jeff Kirsher says:
      
      ====================
      10GbE Intel Wired LAN Driver Updates 2018-02-26
      
      This series contains updates to ixgbe and ixgbevf only.
      
      Colin Ian King cleans up redundant variable assignments.
      
      Tonghao Zhang updates ixgbe to avoid writing to the hardware when the
      redirection table has not changed.
      
      Jake fixes the driver logic for checking and clearing receive timestamp
      hangs so that when the PTP_RX_TIMESTAMP_IN_REGISTER flag is set, we no
      longer need to check for receive timestamp hangs, which in turn will
      stop the spurious log messages.
      
      Emil updates ixgbevf with several features and improvements done in
      other drivers, starting with the handling of page addresses so that we
      always refer to them using a void pointer.  Added a 'legacy-rx' flag to
      allow switching between the old and new receive code paths.  Added
      support for using 3K buggers in order 1 page.  Updated the driver to
      ensure that calls to ixgbevf_open() are rtnl lock protected and improved
      the error handling when setting up multiple queues.  Added support for
      providing a buffer with head room and tail room to allow for shared
      info, NET_SKB_PAD, and NET_IP_ALIGN, so that we can start using
      build_skb to build frames instead of using memcpy() the headers.
      Updated the logic of handling rings closer to ixgbe.  Consolidated the
      receive paths to reduce duplication when we expand them in the future.
      Added build_skb() support to ixgbevf.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      3808b519
  2. 26 Feb, 2018 33 commits