1. 11 10月, 2007 6 次提交
    • A
      [E1000E]: New pci-express e1000 driver (currently for ICH9 devices only) · bc7f75fa
      Auke Kok 提交于
      This driver implements support for the ICH9 on-board LAN ethernet
      device. The device is similar to ICH8.
      
      The driver encompasses code to support 82571/2/3, es2lan and ICH8
      devices as well, but those device IDs are disabled and will be
      "lifted" from the e1000 driver over one at a time once this driver
      receives some more live time.
      
      Changes to the last snapshot posted are exclusively in the internal
      hardware API organization. Many thanks to Jeff Garzik for jumping in
      and getting this organized with a keen eye on the future layout.
      
      [ Integrated napi_struct patch from Auke as well... -DaveM ]
      Signed-off-by: NAuke Kok <auke-jan.h.kok@intel.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      bc7f75fa
    • R
      bbfb86c5
    • S
      [NET] netconsole: Support dynamic reconfiguration using configfs · 0bcc1816
      Satyam Sharma 提交于
      Based upon initial work by Keiichi Kii <k-keiichi@bx.jp.nec.com>.
      
      This patch introduces support for dynamic reconfiguration (adding, removing
      and/or modifying parameters of netconsole targets at runtime) using a
      userspace interface exported via configfs.  Documentation is also updated
      accordingly.
      
      Issues and brief design overview:
      
      (1) Kernel-initiated creation / destruction of kernel objects is not
          possible with configfs -- the lifetimes of the "config items" is managed
          exclusively from userspace.  But netconsole must support boot/module
          params too, and these are parsed in kernel and hence netpolls must be
          setup from the kernel.  Joel Becker suggested to separately manage the
          lifetimes of the two kinds of netconsole_target objects -- those created
          via configfs mkdir(2) from userspace and those specified from the
          boot/module option string.  This adds complexity and some redundancy here
          and also means that boot/module param-created targets are not exposed
          through the configfs namespace (and hence cannot be updated / destroyed
          dynamically).  However, this saves us from locking / refcounting
          complexities that would need to be introduced in configfs to support
          kernel-initiated item creation / destroy there.
      
      (2) In configfs, item creation takes place in the call chain of the
          mkdir(2) syscall in the driver subsystem.  If we used an ioctl(2) to
          create / destroy objects from userspace, the special userspace program is
          able to fill out the structure to be passed into the ioctl and hence
          specify attributes such as local interface that are required at the time
          we set up the netpoll.  For configfs, this information is not available at
          the time of mkdir(2).  So, we keep all newly-created targets (via
          configfs) disabled by default.  The user is expected to set various
          attributes appropriately (including the local network interface if
          required) and then write(2) "1" to the "enabled" attribute.  Thus,
          netpoll_setup() is then called on the set parameters in the context of
          _this_ write(2) on the "enabled" attribute itself.  This design enables
          the user to reconfigure existing netconsole targets at runtime to be
          attached to newly-come-up interfaces that may not have existed when
          netconsole was loaded or when the targets were actually created.  All this
          effectively enables us to get rid of custom ioctls.
      
      (3) Ultra-paranoid configfs attribute show() and store() operations, with
          sanity and input range checking, using only safe string primitives, and
          compliant with the recommendations in Documentation/filesystems/sysfs.txt.
      
      (4) A new function netpoll_print_options() is created in the netpoll API,
          that just prints out the configured parameters for a netpoll structure.
          netpoll_parse_options() is modified to use that and it is also exported to
          be used from netconsole.
      Signed-off-by: NSatyam Sharma <satyam@infradead.org>
      Acked-by: NKeiichi Kii <k-keiichi@bx.jp.nec.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0bcc1816
    • A
      [MYRI10GE]: Use LRO. · 1e6e9342
      Andrew Gallatin 提交于
      Singed off by: Andrew Gallatin <gallatin@myri.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      1e6e9342
    • J
      [EHEA]: Use LRO. · d4dc4ec9
      Jan-Bernd Themann 提交于
      Signed-off-by: NJan-Bernd Themann <themann@de.ibm.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d4dc4ec9
    • P
      [NET]: Virtual ethernet device driver. · e314dbdc
      Pavel Emelyanov 提交于
      Veth stands for Virtual ETHernet. It is a simple tunnel driver
      that works at the link layer and looks like a pair of ethernet
      devices interconnected with each other.
      
      Mainly it allows to communicate between network namespaces but
      it can be used as is as well.
      
      The newlink callback is organized that way to make it easy to
      create the peer device in the separate namespace when we have
      them in kernel.
      
      This implementation uses another interface - the RTM_NRELINK
      message introduced by Patric.
      
      Bug fixes from Daniel Lezcano.
      Signed-off-by: NPavel Emelyanov <xemul@openvz.org>
      Acked-by: NPatrick McHardy <kaber@trash.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e314dbdc
  2. 16 9月, 2007 1 次提交
  3. 19 8月, 2007 1 次提交
  4. 31 7月, 2007 1 次提交
  5. 22 7月, 2007 1 次提交
  6. 19 7月, 2007 1 次提交
    • B
      Blackfin ethernet driver: on chip ethernet MAC controller driver · e190d6b1
      Bryan Wu 提交于
      This patch implements the driver necessary use the Analog Devices
      Blackfin processor's on-chip ethernet MAC controller.
      
      [try#2]
       - add timeout control
       - kill dma_config_reg bitfields
       - some trivial cleanup
      
      [try#3]
       - add endianess check
       - add DRV_NAME, DRV_VERSION... driver information string
       - add some comments for silicon anomaly and dma API confusion
       - some code trivial cleanup
      
      [try#4]
       - add Blackfin latest GPIO pin mux opertion with Michael Hennerich's
        help and Dan's review
       - rewrite the DMA descriptor list operation in a more readable way
        by Joe's review
      
      [try#5]
       - cleanup some coding style by Joe's review.
      
      [try#6]
       - 1.1 version fix a bug when set up multicast list pointed by Mr. yoshfuji
       - rearrange the desc_list_free function.
      Signed-off-by: NMichael Hennerich <michael.hennerich@analog.com>
      Signed-off-by: NBryan Wu <bryan.wu@analog.com>
      Cc: Michael Buesch <mb@bu3sch.de>
      Cc: Mike Frysinger <vapier.adi@gmail.com>
      Cc: Jeff Garzik <jeff@garzik.org>
      Cc: Christoph Hellwig <hch@infradead.org>
      Cc: Dan Williams <dcbw@redhat.com>
      Cc: Joe Perches <joe@perches.com>
      Cc: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      e190d6b1
  7. 18 7月, 2007 1 次提交
  8. 17 7月, 2007 1 次提交
  9. 16 7月, 2007 2 次提交
  10. 15 7月, 2007 1 次提交
  11. 12 7月, 2007 1 次提交
  12. 11 7月, 2007 11 次提交
  13. 09 7月, 2007 2 次提交
  14. 02 7月, 2007 1 次提交
  15. 01 6月, 2007 1 次提交
  16. 25 5月, 2007 1 次提交
  17. 23 5月, 2007 1 次提交
  18. 13 5月, 2007 1 次提交
  19. 12 5月, 2007 2 次提交
  20. 10 5月, 2007 1 次提交
  21. 09 5月, 2007 1 次提交
    • R
      IB/mlx4: Add a driver Mellanox ConnectX InfiniBand adapters · 225c7b1f
      Roland Dreier 提交于
      Add an InfiniBand driver for Mellanox ConnectX adapters.  Because
      these adapters can also be used as ethernet NICs and Fibre Channel 
      HBAs, the driver is split into two modules: 
       
        mlx4_core: Handles low-level things like device initialization and 
          processing firmware commands.  Also controls resource allocation 
          so that the InfiniBand, ethernet and FC functions can share a 
          device without stepping on each other. 
       
        mlx4_ib: Handles InfiniBand-specific things; plugs into the 
          InfiniBand midlayer. 
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      225c7b1f
  22. 08 5月, 2007 1 次提交