1. 08 1月, 2009 1 次提交
  2. 22 11月, 2008 1 次提交
  3. 21 11月, 2008 1 次提交
  4. 20 11月, 2008 1 次提交
    • S
      netdev: network device operations infrastructure · d314774c
      Stephen Hemminger 提交于
      This patch changes the network device internal API to move adminstrative
      operations out of the network device structure and into a separate structure.
      
      This patch involves some hackery to maintain compatablity between the
      new and old model, so all 300+ drivers don't have to be changed at once.
      For drivers that aren't converted yet, the netdevice_ops virt function list
      still resides in the net_device structure. For old protocols, the new
      net_device_ops are copied out to the old net_device pointers.
      
      After the transistion is completed the nag message can be changed to
      an WARN_ON, and the compatiablity code can be made configurable.
      
      Some function pointers aren't moved:
      * destructor can't be in net_device_ops because
        it may need to be referenced after the module is unloaded.
      * neighbor setup is manipulated in a couple of places that need special
        consideration
      * hard_start_xmit is in the fast path for transmit.
      Signed-off-by: NStephen Hemminger <shemminger@vyatta.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d314774c
  5. 28 10月, 2008 1 次提交
  6. 09 10月, 2008 1 次提交
    • L
      net: Distributed Switch Architecture protocol support · 91da11f8
      Lennert Buytenhek 提交于
      Distributed Switch Architecture is a protocol for managing hardware
      switch chips.  It consists of a set of MII management registers and
      commands to configure the switch, and an ethernet header format to
      signal which of the ports of the switch a packet was received from
      or is intended to be sent to.
      
      The switches that this driver supports are typically embedded in
      access points and routers, and a typical setup with a DSA switch
      looks something like this:
      
      	+-----------+       +-----------+
      	|           | RGMII |           |
      	|           +-------+           +------ 1000baseT MDI ("WAN")
      	|           |       |  6-port   +------ 1000baseT MDI ("LAN1")
      	|    CPU    |       |  ethernet +------ 1000baseT MDI ("LAN2")
      	|           |MIImgmt|  switch   +------ 1000baseT MDI ("LAN3")
      	|           +-------+  w/5 PHYs +------ 1000baseT MDI ("LAN4")
      	|           |       |           |
      	+-----------+       +-----------+
      
      The switch driver presents each port on the switch as a separate
      network interface to Linux, polls the switch to maintain software
      link state of those ports, forwards MII management interface
      accesses to those network interfaces (e.g. as done by ethtool) to
      the switch, and exposes the switch's hardware statistics counters
      via the appropriate Linux kernel interfaces.
      
      This initial patch supports the MII management interface register
      layout of the Marvell 88E6123, 88E6161 and 88E6165 switch chips, and
      supports the "Ethertype DSA" packet tagging format.
      
      (There is no officially registered ethertype for the Ethertype DSA
      packet format, so we just grab a random one.  The ethertype to use
      is programmed into the switch, and the switch driver uses the value
      of ETH_P_EDSA for this, so this define can be changed at any time in
      the future if the one we chose is allocated to another protocol or
      if Ethertype DSA gets its own officially registered ethertype, and
      everything will continue to work.)
      Signed-off-by: NLennert Buytenhek <buytenh@marvell.com>
      Tested-by: NNicolas Pitre <nico@marvell.com>
      Tested-by: NByron Bradley <byron.bbradley@gmail.com>
      Tested-by: NTim Ellis <tim.ellis@mac.com>
      Tested-by: NPeter van Valderen <linux@ddcrew.com>
      Tested-by: NDirk Teurlings <dirk@upexia.nl>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      91da11f8
  7. 23 9月, 2008 1 次提交
  8. 23 8月, 2008 1 次提交
  9. 30 7月, 2008 1 次提交
  10. 06 7月, 2008 1 次提交
  11. 04 3月, 2008 1 次提交
  12. 09 2月, 2008 1 次提交
  13. 29 1月, 2008 2 次提交
  14. 11 10月, 2007 1 次提交
    • E
      [NET]: Add network namespace clone & unshare support. · 9dd776b6
      Eric W. Biederman 提交于
      This patch allows you to create a new network namespace
      using sys_clone, or sys_unshare.
      
      As the network namespace is still experimental and under development
      clone and unshare support is only made available when CONFIG_NET_NS is
      selected at compile time.
      
      As this patch introduces network namespace support into code paths
      that exist when the CONFIG_NET is not selected there are a few
      additions made to net_namespace.h to allow a few more functions
      to be used when the networking stack is not compiled in.
      Signed-off-by: NEric W. Biederman <ebiederm@xmission.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      9dd776b6
  15. 15 7月, 2007 1 次提交
  16. 10 5月, 2007 1 次提交
  17. 07 5月, 2007 1 次提交
  18. 06 5月, 2007 1 次提交
  19. 27 4月, 2007 1 次提交
  20. 26 4月, 2007 2 次提交
  21. 09 2月, 2007 1 次提交
  22. 03 12月, 2006 2 次提交
  23. 06 11月, 2006 1 次提交
    • P
      [NETLABEL]: Fix build failure. · 38c94377
      Paul Moore 提交于
      > the build with the attached .config failed, make ends with:
      > ...
      > : undefined reference to `cipso_v4_sock_getattr'
      > net/built-in.o: In function `netlbl_socket_getattr':
      
       ...
      
      It looks like I was stupid and made NetLabel depend on CONFIG_NET and not
      CONFIG_INET, the patch below should fix this by making NetLabel depend on
      CONFIG_INET and CONFIG_SECURITY.  Please review and apply for 2.6.19.
      Signed-off-by: NPaul Moore <paul.moore@hp.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      38c94377
  24. 29 9月, 2006 1 次提交
  25. 23 9月, 2006 2 次提交
  26. 18 9月, 2006 1 次提交
  27. 18 6月, 2006 3 次提交
  28. 03 2月, 2006 1 次提交
  29. 31 1月, 2006 1 次提交
  30. 18 1月, 2006 1 次提交
  31. 13 1月, 2006 1 次提交
  32. 17 9月, 2005 1 次提交
  33. 30 8月, 2005 2 次提交