1. 23 3月, 2006 1 次提交
  2. 10 1月, 2006 1 次提交
    • J
      [NET]: Add IFB (Intermediate Functional Block) network device. · 253af423
      Jamal Hadi Salim 提交于
      A new device to do intermidiate functional block in a system shared
      manner.  To use the new functionality, you need to turn on
      qos/classifier actions.
      
      The new functionality can be grouped as:
      
      1) qdiscs/policies that are per device as opposed to system wide.  ifb
      allows for a device which can be redirected to thus providing an
      impression of sharing.
      
      2) Allows for queueing incoming traffic for shaping instead of
      dropping.
      
      Packets are redirected to this device using tc/action mirred redirect
      construct. If they are sent to it by plain routing instead then they
      will merely be dropped and the stats would indicate that.
      Signed-off-by: NJamal Hadi Salim <hadi@cyberus.ca>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      253af423
  3. 19 11月, 2005 2 次提交
    • L
      [PATCH] intel ixp2000 network driver · 15d014d1
      Lennert Buytenhek 提交于
      The way the hardware and firmware work is that there is one shared RX
      queue and IRQ for a number of different network interfaces.  Due to this,
      we would like to process received packets for every interface in the same
      NAPI poll handler, so we need a pseudo-device to schedule polling on.
      
      What the driver currently does is that it always schedules polling for
      the first network interface in the list, and processes packets for every
      interface in the poll handler for that first interface -- however, this
      scheme breaks down if the first network interface happens to not be up,
      since netif_rx_schedule_prep() checks netif_running().
      
      sky2 apparently has the same issue, and Stephen Hemminger suggested a
      way to work around this: create a variant of netif_rx_schedule_prep()
      that does not check netif_running().  I implemented this locally and
      called it netif_rx_schedule_prep_notup(), and it seems to work well,
      but it's something that probably not everyone would be happy with.
      
      The ixp2000 is an ARM CPU with a high-speed network interface in the
      CPU itself (full duplex 4Gb/s or 10Gb/s depending on the IXP model.)
      The CPU package also contains 8 or 16 (again depending on the IXP
      model) 'microengines', which are somewhat primitive but very fast
      and efficient processor cores which can be used to offload various
      things from the main CPU.
      
      This driver makes the high-speed network interface in the CPU visible
      and usable as a regular linux network device.  Currently, it only
      supports the Radisys ENP2611 IXP board, but adding support for other
      board types should be fairly easy.
      Signed-off-by: NLennert Buytenhek <buytenh@wantstofly.org>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      15d014d1
    • A
      [PATCH] Gianfar update and sysfs support · 7f7f5316
      Andy Fleming 提交于
      This seems to have gotten lost, so I'll resend.
      Signed-off-by: NAndy Fleming <afleming@freescale.com>
      
      * Added sysfs support to gianfar for modifying FIFO and stashing parameters
      * Updated driver to support 10 Mbit, full duplex operation
      * Improved comments throughout
      * Cleaned up and optimized offloading code
      * Fixed a bug where rx buffers were being improperly mapped and unmapped
      * (only manifested if cache-coherency was off)
      * Added support for using the eTSEC exact-match MAC registers
      * Bumped the version to 1.3
      * Added support for distinguishing between reduced 100 and 10 Mbit modes
      * Modified default coalescing values to lower latency
      * Added documentation
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      7f7f5316
  4. 09 11月, 2005 1 次提交
    • M
      [PPP]: add PPP MPPE encryption module · b3f9b92a
      Matt Domsch 提交于
      From: Matt Domsch <Matt_Domsch@dell.com>
      
      The patch below implements the Microsoft Point-to-Point Encryption method
      as a PPP compressor/decompressor.  This is necessary for Linux clients and
      servers to interoperate with Microsoft Point-to-Point Tunneling Protocol
      (PPTP) servers (either Microsoft PPTP servers or the poptop project) which
      use MPPE to encrypt data when creating a VPN.
      
      This patch differs from the kernel_ppp_mppe DKMS pacakge at
      pptpclient.sourceforge.net by utilizing the kernel crypto routines rather
      than providing its own SHA1 and arcfour implementations.
      
      Minor changes to ppp_generic.c try to prevent a link from disabling
      compression (in our case, the encryption) after it has started using
      compression (encryption).
      
      Feedback to <pptpclient-devel@lists.sourceforge.net> please.
      Signed-off-by: NMatt Domsch <Matt_Domsch@dell.com>
      Cc: James Cameron <james.cameron@hp.com>
      Cc: "David S. Miller" <davem@davemloft.net>
      Signed-off-by: NBrice Goglin <Brice.Goglin@ens-lyon.org>
      Acked-by: NPaul Mackerras <paulus@samba.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b3f9b92a
  5. 29 10月, 2005 1 次提交
  6. 19 10月, 2005 1 次提交
  7. 28 9月, 2005 1 次提交
  8. 24 9月, 2005 1 次提交
  9. 14 9月, 2005 1 次提交
  10. 07 9月, 2005 1 次提交
  11. 17 8月, 2005 1 次提交
    • S
      [PATCH] sky2: new experimental Marvell Yukon2 driver · cd28ab6a
      Stephen Hemminger 提交于
      New driver for the Marvell Yukon2 Gigabit Ethernet chipset.
      This driver is based on the skge driver, but using the logic
      from the SysKonnect version of the sk98lin driver.
      It should support all the Yukon2 chipsets that are available
      in many current Intel and AMD motherboards.
      
      The driver does support ethtool, tx and rx checksum, and
      tcp segmentation offload.  But it has only been tested for
      a short while and is known to stop receiving under heavy load.
      Signed-off-by: NStephen Hemminger <shemminger@osdl.org>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      cd28ab6a
  12. 31 7月, 2005 2 次提交
  13. 27 5月, 2005 1 次提交
  14. 16 5月, 2005 3 次提交
    • A
      [PATCH] drivers/net/wireless enabled by wrong option · f7a3aae1
      Al Viro 提交于
      	NET_WIRELESS is only a subset of the stuff in drivers/net/wireless;
      NET_RADIO is what covers all of them.
      Signed-off-by: NAl Viro <viro@parcelfarce.linux.theplanet.co.uk>
      f7a3aae1
    • C
      [PATCH] A new 10GB Ethernet Driver by Chelsio Communications · 8199d3a7
      Christoph Lameter 提交于
      A Linux driver for the Chelsio 10Gb Ethernet Network Controller by Chelsio
      (http://www.chelsio.com).  This driver supports the Chelsio N210 NIC and is
      backward compatible with the Chelsio N110 model 10Gb NICs.  It supports
      AMD64, EM64T and x86 systems.
      Signed-off-by: NTina Yang <tinay@chelsio.com>
      Signed-off-by: NScott Bardone <sbardone@chelsio.com>
      Signed-off-by: NChristoph Lameter <christoph@lameter.com>
      
      Adrian said:
      
      - my3126.c is unused (because t1_my3126_ops isn't used anywhere)
      - what are the EXTRA_CFLAGS in drivers/net/chelsio/Makefile for?
      - $(cxgb-y) in drivers/net/chelsio/Makefile seems to be unneeded
      - completely unused global functions:
        - espi.c: t1_espi_get_intr_counts
        - sge.c: t1_sge_get_intr_counts
      - the following functions can be made static:
        - sge.c: t1_espi_workaround
        - sge.c: t1_sge_tx
        - subr.c: __t1_tpi_read
        - subr.c: __t1_tpi_write
        - subr.c: t1_wait_op_done
      
      shemminger said:
      
      The performance recommendations in cxgb.txt are common to all fast devices,
      and should be in one file rather than just for this device. I would rather
      see ip-sysctl.txt updated or a new file on tuning recommendations started.
      Some of them have consequences that aren't documented well.
      For example, turning off TCP timestamps risks data corruption from sequence wrap.
      
      A new driver shouldn't need so may #ifdef's unless you want to putit on older
      vendor versions of 2.4
      
      Some accessor and wrapper functions like:
              t1_pci_read_config_4
              adapter_name
              t1_malloc
      are just annoying noise.
      
      Why have useless dead code like:
      
      /* Interrupt handler */
      +static int pm3393_interrupt_handler(struct cmac *cmac)
      +{
      +       u32 master_intr_status;
      +/*
      +    1. Read master interrupt register.
      +    2. Read BLOCK's interrupt status registers.
      +    3. Handle BLOCK interrupts.
      +*/
      
      Jeff said:
      
      step 1:  kill all the OS wrappers.
      
       And do you really need hooks for multiple MACs, when only one MAC is
       really supported?  Typically these hooks are at a higher level anyway --
       struct net_device.
      
      From: Christoph Lameter <christoph@lameter
      
      Driver modified as suggested by Pekka Enberg, Stephen Hemminger and Andrian
      Bunk.  Reduces the size of the driver to ~260k.
      
      - clean up tabs
      - removed my3126.c
      - removed 85% of suni1x10gexp_regs.h
      - removed 80% of regs.h
      - removed various calls, renamed variables/functions.
      - removed system specific and other wrappers (usleep, msleep)
      - removed dead code
      - dropped redundant casts in osdep.h
      - dropped redundant check of kfree
      - dropped weird code (MODVERSIONS stuff)
      - reduced number of #ifdefs
      - use kcalloc now instead of kmalloc
      - Add information about known issues with the driver
      - Add information about authors
      Signed-off-by: NScott Bardone <sbardone@chelsio.com>
      Signed-off-by: NChristoph Lameter <christoph@lameter.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      
      diff -puN /dev/null Documentation/networking/cxgb.txt
      8199d3a7
    • S
      [PATCH] DM9000 network driver · a1365275
      Sascha Hauer 提交于
      This patch adds support for the davicom dm9000 network driver.  The dm9000
      is found on some embedded arm boards such as the pimx1 or the scb9328.
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      
      diff -puN /dev/null drivers/net/dm9000.c
      a1365275
  15. 13 5月, 2005 2 次提交
  16. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4