Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jul 5, 2011
  1. @linvjw

    NFC: add nfc subsystem core

    Lauro Ramos Venancio authored linvjw committed
    The NFC subsystem core is responsible for providing the device driver
    interface. It is also responsible for providing an interface to the control
    operations and data exchange.
    
    Signed-off-by: Lauro Ramos Venancio <lauro.venancio@openbossa.org>
    Signed-off-by: Aloisio Almeida Jr <aloisio.almeida@openbossa.org>
    Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
    Signed-off-by: John W. Linville <linville@tuxdriver.com>
Commits on Apr 29, 2011
  1. @davem330

    bpf: depends on MODULES

    Eric Dumazet authored davem330 committed
    module_alloc() and module_free() are available only if CONFIG_MODULES=y
    
    Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
    Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
Commits on Apr 28, 2011
  1. @davem330

    net: filter: Just In Time compiler for x86-64

    Eric Dumazet authored davem330 committed
    In order to speedup packet filtering, here is an implementation of a
    JIT compiler for x86_64
    
    It is disabled by default, and must be enabled by the admin.
    
    echo 1 >/proc/sys/net/core/bpf_jit_enable
    
    It uses module_alloc() and module_free() to get memory in the 2GB text
    kernel range since we call helpers functions from the generated code.
    
    EAX : BPF A accumulator
    EBX : BPF X accumulator
    RDI : pointer to skb   (first argument given to JIT function)
    RBP : frame pointer (even if CONFIG_FRAME_POINTER=n)
    r9d : skb->len - skb->data_len (headlen)
    r8  : skb->data
    
    To get a trace of generated code, use :
    
    echo 2 >/proc/sys/net/core/bpf_jit_enable
    
    Example of generated code :
    
    # tcpdump -p -n -s 0 -i eth1 host 192.168.20.0/24
    
    flen=18 proglen=147 pass=3 image=ffffffffa00b5000
    JIT code: ffffffffa00b5000: 55 48 89 e5 48 83 ec 60 48 89 5d f8 44 8b 4f 60
    JIT code: ffffffffa00b5010: 44 2b 4f 64 4c 8b 87 b8 00 00 00 be 0c 00 00 00
    JIT code: ffffffffa00b5020: e8 24 7b f7 e0 3d 00 08 00 00 75 28 be 1a 00 00
    JIT code: ffffffffa00b5030: 00 e8 fe 7a f7 e0 24 00 3d 00 14 a8 c0 74 49 be
    JIT code: ffffffffa00b5040: 1e 00 00 00 e8 eb 7a f7 e0 24 00 3d 00 14 a8 c0
    JIT code: ffffffffa00b5050: 74 36 eb 3b 3d 06 08 00 00 74 07 3d 35 80 00 00
    JIT code: ffffffffa00b5060: 75 2d be 1c 00 00 00 e8 c8 7a f7 e0 24 00 3d 00
    JIT code: ffffffffa00b5070: 14 a8 c0 74 13 be 26 00 00 00 e8 b5 7a f7 e0 24
    JIT code: ffffffffa00b5080: 00 3d 00 14 a8 c0 75 07 b8 ff ff 00 00 eb 02 31
    JIT code: ffffffffa00b5090: c0 c9 c3
    
    BPF program is 144 bytes long, so native program is almost same size ;)
    
    (000) ldh      [12]
    (001) jeq      #0x800           jt 2    jf 8
    (002) ld       [26]
    (003) and      #0xffffff00
    (004) jeq      #0xc0a81400      jt 16   jf 5
    (005) ld       [30]
    (006) and      #0xffffff00
    (007) jeq      #0xc0a81400      jt 16   jf 17
    (008) jeq      #0x806           jt 10   jf 9
    (009) jeq      #0x8035          jt 10   jf 17
    (010) ld       [28]
    (011) and      #0xffffff00
    (012) jeq      #0xc0a81400      jt 16   jf 13
    (013) ld       [38]
    (014) and      #0xffffff00
    (015) jeq      #0xc0a81400      jt 16   jf 17
    (016) ret      #65535
    (017) ret      #0
    
    Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
    Cc: Arnaldo Carvalho de Melo <acme@infradead.org>
    Cc: Ben Hutchings <bhutchings@solarflare.com>
    Cc: Hagen Paul Pfeifer <hagen@jauu.net>
    Signed-off-by: David S. Miller <davem@davemloft.net>
Commits on Jan 24, 2011
  1. @davem330

    net: RPS: Enable hardware acceleration of RFS

    Ben Hutchings authored davem330 committed
    Allow drivers for multiqueue hardware with flow filter tables to
    accelerate RFS.  The driver must:
    
    1. Set net_device::rx_cpu_rmap to a cpu_rmap of the RX completion
    IRQs (in queue order).  This will provide a mapping from CPUs to the
    queues for which completions are handled nearest to them.
    
    2. Implement net_device_ops::ndo_rx_flow_steer.  This operation adds
    or replaces a filter steering the given flow to the given RX queue, if
    possible.
    
    3. Periodically remove filters for which rps_may_expire_flow() returns
    true.
    
    Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
Commits on Jan 13, 2011
  1. @torvalds

    Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…

    torvalds authored
    …git/jikos/trivial
    
    * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (43 commits)
      Documentation/trace/events.txt: Remove obsolete sched_signal_send.
      writeback: fix global_dirty_limits comment runtime -> real-time
      ppc: fix comment typo singal -> signal
      drivers: fix comment typo diable -> disable.
      m68k: fix comment typo diable -> disable.
      wireless: comment typo fix diable -> disable.
      media: comment typo fix diable -> disable.
      remove doc for obsolete dynamic-printk kernel-parameter
      remove extraneous 'is' from Documentation/iostats.txt
      Fix spelling milisec -> ms in snd_ps3 module parameter description
      Fix spelling mistakes in comments
      Revert conflicting V4L changes
      i7core_edac: fix typos in comments
      mm/rmap.c: fix comment
      sound, ca0106: Fix assignment to 'channel'.
      hrtimer: fix a typo in comment
      init/Kconfig: fix typo
      anon_inodes: fix wrong function name in comment
      fix comment typos concerning "consistent"
      poll: fix a typo in comment
      ...
    
    Fix up trivial conflicts in:
     - drivers/net/wireless/iwlwifi/iwl-core.c (moved to iwl-legacy.c)
     - fs/ext4/ext4.h
    
    Also fix missed 'diabled' typo in drivers/net/bnx2x/bnx2x.h while at it.
Commits on Dec 16, 2010
  1. @ecsv @davem330

    net: Add batman-adv meshing protocol

    ecsv authored davem330 committed
    B.A.T.M.A.N. (better approach to mobile ad-hoc networking) is a routing
    protocol for multi-hop ad-hoc mesh networks. The networks may be wired or
    wireless. See http://www.open-mesh.org/ for more information and user space
    tools.
    
    Signed-off-by: Sven Eckelmann <sven@narfation.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>
Commits on Nov 29, 2010
  1. @davem330

    xps: Add CONFIG_XPS

    Tom Herbert authored davem330 committed
    This patch adds XPS_CONFIG option to enable and disable XPS.  This is
    done in the same manner as RPS_CONFIG.  This is also fixes build
    failure in XPS code when SMP is not enabled.
    
    Signed-off-by: Tom Herbert <therbert@google.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
Commits on Nov 15, 2010
  1. @mfwitten

    Docs/Kconfig: Update: osdl.org -> linuxfoundation.org

    mfwitten authored Jiri Kosina committed
    Some of the documentation refers to web pages under
    the domain `osdl.org'. However, `osdl.org' now
    redirects to `linuxfoundation.org'.
    
    Rather than rely on redirections, this patch updates
    the addresses appropriately; for the most part, only
    documentation that is meant to be current has been
    updated.
    
    The patch should be pretty quick to scan and check;
    each new web-page url was gotten by trying out the
    original URL in a browser and then simply copying the
    the redirected URL (formatting as necessary).
    
    There is some conflict as to which one of these domain
    names is preferred:
    
      linuxfoundation.org
      linux-foundation.org
    
    So, I wrote:
    
      info@linuxfoundation.org
    
    and got this reply:
    
      Message-ID: <4CE17EE6.9040807@linuxfoundation.org>
      Date: Mon, 15 Nov 2010 10:41:42 -0800
      From: David Ames <david@linuxfoundation.org>
    
      ...
    
      linuxfoundation.org is preferred. The canonical name for our web site is
      www.linuxfoundation.org. Our list site is actually
      lists.linux-foundation.org.
    
      Regarding email linuxfoundation.org is preferred there are a few people
      who choose to use linux-foundation.org for their own reasons.
    
    Consequently, I used `linuxfoundation.org' for web pages and
    `lists.linux-foundation.org' for mailing-list web pages and email addresses;
    the only personal email address I updated from `@osdl.org' was that of
    Andrew Morton, who prefers `linux-foundation.org' according `git log'.
    
    Signed-off-by: Michael Witten <mfwitten@gmail.com>
    Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Commits on Oct 20, 2010
  1. @yehudasa @liewegas

    ceph: factor out libceph from Ceph file system

    yehudasa authored liewegas committed
    This factors out protocol and low-level storage parts of ceph into a
    separate libceph module living in net/ceph and include/linux/ceph.  This
    is mostly a matter of moving files around.  However, a few key pieces
    of the interface change as well:
    
     - ceph_client becomes ceph_fs_client and ceph_client, where the latter
       captures the mon and osd clients, and the fs_client gets the mds client
       and file system specific pieces.
     - Mount option parsing and debugfs setup is correspondingly broken into
       two pieces.
     - The mon client gets a generic handler callback for otherwise unknown
       messages (mds map, in this case).
     - The basic supported/required feature bits can be expanded (and are by
       ceph_fs_client).
    
    No functional change, aside from some subtle error handling cases that got
    cleaned up in the refactoring process.
    
    Signed-off-by: Sage Weil <sage@newdream.net>
Commits on Sep 15, 2010
  1. @davem330

    net: RPS needs to depend upon USE_GENERIC_SMP_HELPERS

    davem330 authored
    You cannot invoke __smp_call_function_single() unless the
    architecture sets this symbol.
    
    Reported-by: Daniel Hellstrom <daniel@gaisler.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
Commits on Aug 5, 2010
  1. DNS: Separate out CIFS DNS Resolver code

    Wang Lei authored Steve French committed
    Separate out the DNS resolver key type from the CIFS filesystem into its own
    module so that it can be made available for general use, including the AFS
    filesystem module.
    
    This facility makes it possible for the kernel to upcall to userspace to have
    it issue DNS requests, package up the replies and present them to the kernel
    in a useful form.  The kernel is then able to cache the DNS replies as keys
    can be retained in keyrings.
    
    Resolver keys are of type "dns_resolver" and have a case-insensitive
    description that is of the form "[<type>:]<domain_name>".  The optional <type>
    indicates the particular DNS lookup and packaging that's required.  The
    <domain_name> is the query to be made.
    
    If <type> isn't given, a basic hostname to IP address lookup is made, and the
    result is stored in the key in the form of a printable string consisting of a
    comma-separated list of IPv4 and IPv6 addresses.
    
    This key type is supported by userspace helpers driven from /sbin/request-key
    and configured through /etc/request-key.conf.  The cifs.upcall utility is
    invoked for UNC path server name to IP address resolution.
    
    The CIFS functionality is encapsulated by the dns_resolve_unc_to_ip() function,
    which is used to resolve a UNC path to an IP address for CIFS filesystem.  This
    part remains in the CIFS module for now.
    
    See the added Documentation/networking/dns_resolver.txt for more information.
    
    Signed-off-by: Wang Lei <wang840925@gmail.com>
    Signed-off-by: David Howells <dhowells@redhat.com>
    Acked-by: Jeff Layton <jlayton@redhat.com>
    Signed-off-by: Steve French <sfrench@us.ibm.com>
Commits on Jul 26, 2010
  1. @davem330

    wireless: Make COMPAT_NETLINK_MESSAGES depend upon WEXT_CORE

    davem330 authored
    WIRELESS_EXT is not the correct dependency.
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
Commits on Jul 19, 2010
  1. @richardcochran @davem330

    net: support time stamping in phy devices.

    richardcochran authored davem330 committed
    This patch adds a new networking option to allow hardware time stamps
    from PHY devices. When enabled, likely candidates among incoming and
    outgoing network packets are offered to the PHY driver for possible
    time stamping. When accepted by the PHY driver, incoming packets are
    deferred for later delivery by the driver.
    
    The patch also adds phylib driver methods for the SIOCSHWTSTAMP ioctl
    and callbacks for transmit and receive time stamping. Drivers may
    optionally implement these functions.
    
    Signed-off-by: Richard Cochran <richard.cochran@omicron.at>
    Signed-off-by: David S. Miller <davem@davemloft.net>
Commits on Apr 3, 2010
  1. @davem330

    l2tp: Split pppol2tp patch into separate l2tp and ppp parts

    James Chapman authored davem330 committed
    This patch splits the pppol2tp driver into separate L2TP and PPP parts
    to prepare for L2TPv3 support. In L2TPv3, protocols other than PPP can
    be carried, so this split creates a common L2TP core that will handle
    the common L2TP bits which protocol support modules such as PPP will
    use.
    
    Note that the existing pppol2tp module is split into l2tp_core and
    l2tp_ppp by this change.
    
    There are no feature changes here. Internally, however, there are
    significant changes, mostly to handle the separation of PPP-specific
    data from the L2TP session and to provide hooks in the core for
    modules like PPP to access.
    
    Signed-off-by: James Chapman <jchapman@katalix.com>
    Reviewed-by: Randy Dunlap <randy.dunlap@oracle.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
Commits on Mar 31, 2010
  1. @davem330

    net-caif: add CAIF Kconfig and Makefiles

    Sjur Braendeland authored davem330 committed
    Kconfig and Makefiles with options for:
    CAIF:        Including caif
    CAIF_DEBUG:  CAIF Debug
    CAIF_NETDEV: CAIF Network Device for GPRS Contexts
    
    Signed-off-by: Sjur Braendeland <sjur.brandeland@stericsson.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
Commits on Mar 25, 2010
  1. @davem330

    rps: add CONFIG_RPS

    Eric Dumazet authored davem330 committed
    RPS currently depends on SMP and SYSFS
    
    Adding a CONFIG_RPS makes sense in case this requirement changes in the
    future. This patch saves about 1500 bytes of kernel text in case SMP is
    on but SYSFS is off.
    
    Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
Commits on Jul 15, 2009
  1. @jmberg @davem330

    net/compat/wext: send different messages to compat tasks

    jmberg authored davem330 committed
    Wireless extensions have the unfortunate problem that events
    are multicast netlink messages, and are not independent of
    pointer size. Thus, currently 32-bit tasks on 64-bit platforms
    cannot properly receive events and fail with all kinds of
    strange problems, for instance wpa_supplicant never notices
    disassociations, due to the way the 64-bit event looks (to a
    32-bit process), the fact that the address is all zeroes is
    lost, it thinks instead it is 00:00:00:00:01:00.
    
    The same problem existed with the ioctls, until David Miller
    fixed those some time ago in an heroic effort.
    
    A different problem caused by this is that we cannot send the
    ASSOCREQIE/ASSOCRESPIE events because sending them causes a
    32-bit wpa_supplicant on a 64-bit system to overwrite its
    internal information, which is worse than it not getting the
    information at all -- so we currently resort to sending a
    custom string event that it then parses. This, however, has a
    severe size limitation we are frequently hitting with modern
    access points; this limitation would can be lifted after this
    patch by sending the correct binary, not custom, event.
    
    A similar problem apparently happens for some other netlink
    users on x86_64 with 32-bit tasks due to the alignment for
    64-bit quantities.
    
    In order to fix these problems, I have implemented a way to
    send compat messages to tasks. When sending an event, we send
    the non-compat event data together with a compat event data in
    skb_shinfo(main_skb)->frag_list. Then, when the event is read
    from the socket, the netlink code makes sure to pass out only
    the skb that is compatible with the task. This approach was
    suggested by David Miller, my original approach required
    always sending two skbs but that had various small problems.
    
    To determine whether compat is needed or not, I have used the
    MSG_CMSG_COMPAT flag, and adjusted the call path for recv and
    recvfrom to include it, even if those calls do not have a cmsg
    parameter.
    
    I have not solved one small part of the problem, and I don't
    think it is necessary to: if a 32-bit application uses read()
    rather than any form of recvmsg() it will still get the wrong
    (64-bit) event. However, neither do applications actually do
    this, nor would it be a regression.
    
    Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
    Signed-off-by: David S. Miller <davem@davemloft.net>
Commits on Jun 9, 2009
  1. @slapin @davem330

    net: add IEEE 802.15.4 socket family implementation

    slapin authored davem330 committed
    Add support for communication over IEEE 802.15.4 networks. This implementation
    is neither certified nor complete, but aims to that goal. This commit contains
    only the socket interface for communication over IEEE 802.15.4 networks.
    One can either send RAW datagrams or use SOCK_DGRAM to encapsulate data
    inside normal IEEE 802.15.4 packets.
    
    Configuration interface, drivers and software MAC 802.15.4 implementation will
    follow.
    
    Initial implementation was done by Maxim Gorbachyov, Maxim Osipov and Pavel
    Smolensky as a research project at Siemens AG. Later the stack was heavily
    reworked to better suit the linux networking model, and is now maitained
    as an open project partially sponsored by Siemens.
    
    Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
    Signed-off-by: Sergey Lapin <slapin@ossfans.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>
Commits on May 7, 2009
  1. @ak-mrvl @davem330

    net: remove stale reference to fastroute from Kconfig help text

    ak-mrvl authored davem330 committed
    Signed-off-by: Ashish Karkare <akarkare@marvell.com>
    Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
Commits on Mar 30, 2009
  1. trivial: fix typos/grammar errors in Kconfig texts

    Matt LaPlante authored Jiri Kosina committed
    Signed-off-by: Matt LaPlante <kernel1@cyberdogtech.com>
    Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
    Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Commits on Mar 26, 2009
  1. @davem330

    Merge branch 'master' of /home/davem/src/GIT/linux-2.6/

    davem330 authored
    Conflicts:
    	drivers/net/wimax/i2400m/usb-notif.c
Commits on Mar 22, 2009
  1. @davem330

    netdev: expose net_device_ops compat as config option

    Stephen Hemminger authored davem330 committed
    Now that most network device drivers in (all but one in x86_64 allmodconfig)
    support net_device_ops. Expose it as a configuration parameter. Still
    need to address even older 32 bit drivers, and other arch before
    compatiablity can be scheduled for removal in some future release.
    
    Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
Commits on Mar 13, 2009
  1. @davem330

    Network Drop Monitor: Adding Build changes to enable drop monitor

    Neil Horman authored davem330 committed
    Network Drop Monitor: Adding Build changes to enable drop monitor
    
    Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
    
     include/linux/Kbuild |    1 +
     net/Kconfig          |   11 +++++++++++
     net/core/Makefile    |    1 +
     3 files changed, 13 insertions(+)
    Signed-off-by: David S. Miller <davem@davemloft.net>
Commits on Mar 4, 2009
  1. @herbertx

    netlink: Move netlink attribute parsing support to lib

    Geert Uytterhoeven authored herbertx committed
    Netlink attribute parsing may be used even if CONFIG_NET is not set.
    Move it from net/netlink to lib and control its inclusion based on the new
    config symbol CONFIG_NLATTR, which is selected by CONFIG_NET.
    
    Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
    Acked-by: David S. Miller <davem@davemloft.net>
    Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Commits on Feb 27, 2009
  1. @davem330

    RDS: Kconfig and Makefile

    Andy Grover authored davem330 committed
    Add RDS Kconfig and Makefile, and modify net/'s to add
    us to the build.
    
    Signed-off-by: Andy Grover <andy.grover@oracle.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
Commits on Jan 27, 2009
  1. @davem330

    Phonet: move to Networking options like other protocol stacks

    remi.denis-courmont@nokia authored davem330 committed
    Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
Commits on Jan 26, 2009
  1. @davem330

    net: Move config NET_NS to from net/Kconfig to init/Kconfig

    Matt Helsley authored davem330 committed
    Make NET_NS available underneath the generic Namespaces config option
    since all of the other namespace options are there.
    
    Signed-off-by: Matt Helsley <matthltc@us.ibm.com>
    Acked-by: Serge Hallyn <serue@us.ibm.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
Commits on Jan 7, 2009
  1. @gregkh

    wimax: Makefile, Kconfig and docbook linkage for the stack

    Inaky Perez-Gonzalez authored gregkh committed
    This patch provides Makefile and KConfig for the WiMAX stack,
    integrating them into the networking stack's Makefile, Kconfig and
    doc-book templates.
    
    Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Commits on Nov 21, 2008
  1. @linvjw

    net/ieee80211 -> drivers/net/ipw2x00/libipw_* rename

    linvjw authored
    The old ieee80211 code only remains as a support library for the ipw2100
    and ipw2200 drivers.  So, move the code and rename it appropriately to
    reflects it's true purpose and status.
    
    Signed-off-by: John W. Linville <linville@tuxdriver.com>
  2. @davem330

    ixgbe: this patch adds support for DCB to the kernel and ixgbe driver

    Alexander Duyck authored davem330 committed
    This adds support for Data Center Bridging (DCB) features in the ixgbe
    driver and adds an rtnetlink interface for configuring DCB to the
    kernel.  The DCB feature support included are Priority Grouping (PG) -
    which allows bandwidth guarantees to be allocated to groups to traffic
    based on the 802.1q priority, and Priority Based Flow Control (PFC) -
    which introduces a new MAC control PAUSE frame which works at
    granularity of the 802.1p priority instead of the link (IEEE 802.3x).
    
    Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
    Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
    Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
Commits on Nov 20, 2008
  1. @davem330

    netdev: network device operations infrastructure

    Stephen Hemminger authored davem330 committed
    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: Stephen Hemminger <shemminger@vyatta.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
Commits on Oct 28, 2008
  1. @ebiederm @davem330

    netns: Coexist with the sysfs limitations v2

    ebiederm authored davem330 committed
    To make testing of the network namespace simpler allow
    the network namespace code and the sysfs code to be
    compiled and run at the same time.  To do this only
    virtual devices are allowed in the additional network
    namespaces and those virtual devices are not placed
    in the kobject tree.
    
    Since virtual devices don't actually do anything interesting
    hardware wise that needs device management there should
    be no loss in keeping them out of the kobject tree and
    by implication sysfs.  The gain in ease of testing
    and code coverage should be significant.
    
    Changelog:
    
    v2: As pointed out by Benjamin Thery it only makes sense to call
        device_rename in the initial network namespace for now.
    
    Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
    Acked-by: Benjamin Thery <benjamin.thery@bull.net>
    Tested-by: Serge Hallyn <serue@us.ibm.com>
    Acked-by: Serge Hallyn <serue@us.ibm.com>
    Acked-by: Daniel Lezcano <dlezcano@fr.ibm.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
Commits on Oct 9, 2008
  1. @buytenh @davem330

    net: Distributed Switch Architecture protocol support

    buytenh authored davem330 committed
    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: Lennert Buytenhek <buytenh@marvell.com>
    Tested-by: Nicolas Pitre <nico@marvell.com>
    Tested-by: Byron Bradley <byron.bbradley@gmail.com>
    Tested-by: Tim Ellis <tim.ellis@mac.com>
    Tested-by: Peter van Valderen <linux@ddcrew.com>
    Tested-by: Dirk Teurlings <dirk@upexia.nl>
    Signed-off-by: David S. Miller <davem@davemloft.net>
Commits on Sep 23, 2008
  1. @davem330

    Phonet: add CONFIG_PHONET

    Remi Denis-Courmont authored davem330 committed
    Signed-off-by: Remi Denis-Courmont <remi.denis-courmont@nokia.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
Commits on Aug 22, 2008
  1. @rpjday @linvjw

    WIRELESS: Make wireless one-click selectable.

    rpjday authored linvjw committed
    Use "menuconfig" to make wireless support one-click selectable.
    
    Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
    Signed-off-by: John W. Linville <linville@tuxdriver.com>
Something went wrong with that request. Please try again.