25 Mar, 2010

2 commits


24 Mar, 2010

3 commits


23 Mar, 2010

13 commits


22 Mar, 2010

11 commits

  • We never actually use iph again so this assignment can be removed.

    Signed-off-by: Dan Carpenter
    Acked-by: Herbert Xu
    Signed-off-by: David S. Miller

    Dan Carpenter
     
  • add routines for 8, 16 and 32-bit access like in
    drivers/i2c/busses/i2c-pca-platform.c

    Signed-off-by: Yegor Yefremov
    Acked-by: Wolfgang Grandegger
    Acked-by: Wolfram Sang
    Signed-off-by: David S. Miller

    Yegor Yefremov
     
  • extend the AND mask, so that IRQF_SHARED flag remains

    Signed-off-by: Yegor Yefremov
    Acked-by: Wolfgang Grandegger
    Signed-off-by: David S. Miller

    Yegor Yefremov
     
  • Here is patch to manipulate packet node allocation and implicitly
    how packets are DMA'd etc.

    The flag NODE_ALLOC enables the function and numa_node_id();
    when enabled it can also be explicitly controlled via a new
    node parameter

    Tested this with 10 Intel 82599 ports w. TYAN S7025 E5520 CPU's.
    Was able to TX/DMA ~80 Gbit/s to Ethernet wires.

    Signed-off-by: Robert Olsson
    Signed-off-by: David S. Miller

    Robert Olsson
     
  • Use RCU to avoid RTNL use in dev_getfirstbyhwtype()

    Signed-off-by: Eric Dumazet
    Signed-off-by: David S. Miller

    Eric Dumazet
     
  • There is no point to align or pad mibs to cache lines, they are per cpu
    allocated with a 8 bytes alignment anyway.
    This wastes space for no gain. This patch removes __SNMP_MIB_ALIGN__

    Since SNMP mibs contain "unsigned long" fields only, we can relax the
    allocation alignment from "unsigned long long" to "unsigned long"

    Signed-off-by: Eric Dumazet
    Signed-off-by: David S. Miller

    Eric Dumazet
     
  • Use kasprintf in atm_proc_dev_register()

    Signed-off-by: Eric Dumazet
    Signed-off-by: David S. Miller

    Eric Dumazet
     
  • We currently force a synchronize_net() in netdev_set_master()

    This seems necessary only when a slave had a master and we dismantle it.

    In the other case ("ifenslave bond0 ethO"), we dont need this long
    delay.

    Signed-off-by: Eric Dumazet
    Signed-off-by: David S. Miller

    Eric Dumazet
     
  • Its currently hard to diagnose when ACK frames are dropped because an
    application set TCP_DEFER_ACCEPT on its listening socket.

    See http://bugzilla.kernel.org/show_bug.cgi?id=15507

    This patch adds a SNMP value, named TCPDeferAcceptDrop

    netstat -s | grep TCPDeferAcceptDrop
    TCPDeferAcceptDrop: 0

    This counter is incremented every time we drop a pure ACK frame received
    by a socket in SYN_RECV state because its SYNACK retrans count is lower
    than defer_accept value.

    Signed-off-by: Eric Dumazet
    Signed-off-by: David S. Miller

    Eric Dumazet
     
  • After the type change, addresses in unicast and multicast lists wouldn't make
    sense, not to mention possible different lenghts. So flush both lists here.

    Note "dev_addr_discard" will be very soon replaced by "dev_mc_flush" (once
    mc_list conversion will be done).

    Signed-off-by: Jiri Pirko
    Signed-off-by: David S. Miller

    Jiri Pirko
     
  • Ignore the new NETDEV_PRE_TYPE_CHANGE event in rtnetlink_event() since
    there have been no changes userspace needs to be notified of.

    Also add a comment to the netdev notifier event definitions to remind
    people to update the exclusion list when adding new event types.

    Signed-off-by: Patrick McHardy
    Signed-off-by: David S. Miller

    Patrick McHardy
     

21 Mar, 2010

11 commits