Skip to content
Commits on Feb 21, 2011
  1. Merge branch 'master', remote branch 'origin/choke'

    Dave Taht committed Feb 21, 2011
Commits on Feb 20, 2011
  1. Merge branch 'master' into choke

    Stephen Hemminger committed Feb 20, 2011
Commits on Jan 31, 2011
  1. CHOKe scheduler

    TC commands for CHOKe qdisc
    Stephen Hemminger committed Jan 13, 2011
Commits on Jan 19, 2011
  1. Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…

    …t/shemminger/iproute2
    Dave Taht committed Jan 19, 2011
Commits on Jan 13, 2011
  1. Revert "iproute2: add VF_PORT support"

    This reverts commit 632110a.
    
    There seem to be some recent changes in the 802.1Qbh/bg specs which may
    result in changes to this patch in the near future. It seems like its best
    to ignore this patch for now.
    I will re-spin at a later time when the changes in the specs converge.
    
    BTW, Please let me know if I should CC netdev list and others on the
    original email. I can resend this email.
    
    Thanks,
    Roopa
    Stephen Hemminger committed Jan 13, 2011
  2. iproute2: add VF_PORT support

    Resubmitting Scott Feldmans original patch with below changes
    
    - Fix port profile strlen which was off by 1
    - Added function to convert IFLA_PORT_RESPONSE codes to string
    
    Add support for IFLA_VF_PORTS.  VF port netlink msg layout is
    
            [IFLA_NUM_VF]
            [IFLA_VF_PORTS]
                    [IFLA_VF_PORT]
                            [IFLA_PORT_*], ...
                    [IFLA_VF_PORT]
                            [IFLA_PORT_*], ...
                    ...
            [IFLA_PORT_SELF]
                    [IFLA_PORT_*], ...
    
    The iproute2 cmd line for link set is now:
    
    Usage: ip link add link DEV [ name ] NAME
                       [ txqueuelen PACKETS ]
                       [ address LLADDR ]
                       [ broadcast LLADDR ]
                       [ mtu MTU ]
                       type TYPE [ ARGS ]
           ip link delete DEV type TYPE [ ARGS ]
    
           ip link set DEVICE [ { up | down } ]
                              [ arp { on | off } ]
                              [ dynamic { on | off } ]
                              [ multicast { on | off } ]
                              [ allmulticast { on | off } ]
                              [ promisc { on | off } ]
                              [ trailers { on | off } ]
                              [ txqueuelen PACKETS ]
                              [ name NEWNAME ]
                              [ address LLADDR ]
                              [ broadcast LLADDR ]
                              [ mtu MTU ]
                              [ netns PID ]
                              [ alias NAME ]
                              [ port MODE { PROFILE | VSI } ]
                              [ vf NUM [ mac LLADDR ]
                                       [ vlan VLANID [ qos VLAN-QOS ] ]
                                       [ rate TXRATE ]
                                       [ port MODE { PROFILE | VSI } ] ]
           ip link show [ DEVICE ]
    
    TYPE := { vlan | veth | vcan | dummy | ifb | macvlan | can }
    MODE := { assoc | preassoc | preassocrr | disassoc }
    PROFILE := profile PROFILE
               [ instance UUID ]
               [ host UUID ]
    VSI := vsi mgr MGRID type VTID ver VER
           [ instance UUID ]
    
    Signed-off-by: Scott Feldman <scofeldm@cisco.com>
    Signed-off-by: Roopa Prabhu <roprabhu@cisco.com>
    Roopa Prabhu committed with Stephen Hemminger Nov 9, 2010
  3. Update to lasest kernel headers

    Stephen Hemminger committed Jan 12, 2011
Commits on Jan 7, 2011
  1. v2.6.37

    Stephen Hemminger committed Jan 7, 2011
Commits on Dec 29, 2010
  1. Update to 2.6.37-rc8 headers

    Use sanitized headers from 2.6.37-rc8
    Stephen Hemminger committed Dec 29, 2010
Commits on Dec 26, 2010
  1. Added Stochastic Fair Blue

    Dave Täht committed Dec 25, 2010
Commits on Dec 16, 2010
  1. @contyk

    ip: Few typo and grammar errors fixes for ip(8) manpage

    contyk committed with Stephen Hemminger Dec 16, 2010
Commits on Dec 10, 2010
  1. Cleanup ll_map

    In preparation for adding name hash:
      * add const
      * use same types in cache as ifinfomsg
      * rename idxmap to ll_cache
    Stephen Hemminger committed Dec 10, 2010
  2. iproute2: initialize the ll_map only once

    Avoid initializing the LL map (which involves a costly RTNL dump)
    multiple times. This can happen when running in batch mode.
    
    Signed-off-by: Octavian Purdila <opurdila@ixiacom.com>
    Octavian Purdila committed with Stephen Hemminger Dec 10, 2010
  3. Increase size of ifindex hash heads

    The default of 16 is too small for users with 10,000 interfaces.
    Stephen Hemminger committed Dec 10, 2010
Commits on Dec 9, 2010
  1. @grrtrr

    tc-red: typo in man page

    grrtrr committed with Stephen Hemminger Dec 9, 2010
Commits on Dec 8, 2010
  1. @contyk

    ss: Change "do now" to "do not" in ss(8), -n option

    A small typo fix.
    contyk committed with Stephen Hemminger Dec 8, 2010
Commits on Dec 1, 2010
  1. @kk7ds

    Add ip route save/restore

    This patch adds save and restore commands to "ip route". Save dumps
    the RTNL stream to stdout which can then be passed to restore later.
    This may be helpful in some normal situations, and will allow C/R to
    migrate the routing information in userspace.  Tweaking of the stream
    can be done by userspace helpers to convert between versions and adjust
    things like device indexes when restoring routes in a different
    environment.
    
    By factoring out some of the common bits of print_route() into
    filter_nlmsg(), the "save" command can use the same selection logic
    as "list," allowing the caller to save only specific routes as
    necessary.
    
    The only change since the RFC is the addition of manpage and doc
    material.
    
    Signed-off-by: Dan Smith <danms@us.ibm.com>
    kk7ds committed with Stephen Hemminger Dec 1, 2010
  2. tc: add ACT_CSUM action support (csum)

    Add the iproute2 support for the ACT_CSUM action. Can be used as
    following, certainly in conjunction with the ACT_PEDIT action (pedit):
    
     # In order to DNAT (stateless) IPv4 packet from 192.168.1.100 to
     #  0x12345678 (18.52.86.120), and update the IPv4 header checksum and
     #  the UDP checksum (the last one, only if the packet is UDP).
    tc filter add eth0 prio 1 protocol ip parent ffff: \
      u32 match ip src 192.168.1.100/32 flowid :1 \
        action pedit munge offset 16 u32 set 0x12345678 \
          pipe csum ip and udp
    
     # In order to alter destination address of IPv6 TCP packets from fc00::1
     #  and correct the TCP checksum (nothing happened? except maybe for
     #  checksums in the TCP payload ...).
    tc filter add eth0 prio 1 protocol ipv6 parent ffff: \
      u32 match ip6 src fc00::1/128 match ip6 protocol 0x06 0xff flowid :1 \
        action pedit munge offset 24 u32 set 0x12345678 \
          pipe csum tcp
    Gregoire Baron committed with Stephen Hemminger Dec 1, 2010
  3. @greearb

    Allow 'ip addr flush' to loop more than 10 times

    The default remains at 10 for backwards compatibility.
    
    For instance:
     # ip addr flush dev eth2
     *** Flush remains incomplete after 10 rounds. ***
     # ip -l 20 addr flush dev eth2
     *** Flush remains incomplete after 20 rounds. ***
     # ip -loops 0 addr flush dev eth2
     #
    
    This is useful for getting rid of large numbers of IP
    addresses in scripts.
    
    Signed-off-by: Ben Greear <greearb@candelatech.com>
    greearb committed with Stephen Hemminger Dec 1, 2010
Commits on Nov 30, 2010
  1. Support 'mode' parameter when creating macvtap device

    Add support for 'mode' parameter when creating a macvtap device.
    This allows a macvtap device to be created in bridge, private or
    the default vepa modes.
    
    Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
    
    -------------------------------------------------------------------
    Acked-by: Arnd Bergmann <arnd@arndb.de>
    Sridhar Samudrala committed with Stephen Hemminger Oct 28, 2010
  2. @andreas-schwab

    iproute2: remove useless use of buffer

    Print directly to the file instead of going through a buffer.
    
    Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
    andreas-schwab committed with Stephen Hemminger Nov 5, 2010
  3. @xiaosuo

    iproute2: tc: f_flow: add key rxhash

    We can use rxhash to classify the traffic into flows. As rxhash maybe
    supplied by NIC or RPS, it is cheaper.
    
    Signed-off-by: Changli Gao <xiaosuo@gmail.com>
    Acked-by: Jamal Hadi Salim <hadi@cyberus.ca>
    xiaosuo committed with Stephen Hemminger Aug 21, 2010
  4. @fabled

    iproute2: support xfrm upper protocol gre key

    Similar to tunnel side: accept dotted-quad and number formats.
    Use regular number for printing the key.
    
    Signed-off-by: Timo Teräs <timo.teras@iki.fi>
    fabled committed with Stephen Hemminger Nov 23, 2010
  5. @fabled

    iproute2: treat gre key as number

    Print GRE key as a regular number. It is not really an IPv4 address
    and this is also how Cisco and Juniper treats GRE keys. Do keep the
    parsing of dotted-quad format for backwards compatibility.
    
    Signed-off-by: Timo Teräs <timo.teras@iki.fi>
    fabled committed with Stephen Hemminger Nov 23, 2010
  6. @vapier

    m_xt: stop using xtables_set_revision()

    iptables dropped the xtables_set_revision() function around version 1.4.9,
    so set the rev directly ourselves.  This should be compatible back to the
    original version m_xt itself is designed for.
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>
    vapier committed with Stephen Hemminger Nov 21, 2010
Commits on Nov 29, 2010
  1. @contyk

    ss(8) improvements by Jiri Popelka <jpopelka@redhat.com>

    contyk committed with Stephen Hemminger Nov 29, 2010
Commits on Nov 28, 2010
  1. Use standard routines for interface name to index etc

    Use the available libraries for mapping from interface index to name
    or type. This should speed up display with lots of interfaces
    Stephen Hemminger committed Nov 28, 2010
Commits on Nov 18, 2010
  1. Workaround for repeated distclean

    The subdirectory makefiles need Config file to exist.
    Therefore create it, then run make clean, then remove it.
    Stephen Hemminger committed Nov 18, 2010
Commits on Oct 21, 2010
  1. Update to 2.6.36 headers

    Use santized headers from 2.6.36 release
    Stephen Hemminger committed Oct 20, 2010
Commits on Sep 13, 2010
  1. iproute2: display xfrm socket policy direction

    display socket policy direction
    
    Signed-off-by: Ulrich Weber <uweber@astaro.com>
    Ulrich Weber committed with Stephen Hemminger Sep 13, 2010
Commits on Aug 25, 2010
  1. Fix GRED options clearing

    Bug reported where priorities of GRED DP's are ignored.
    The option parsing sets opt then memset was clearing these
    values.
    Stephen Hemminger committed Aug 25, 2010
Commits on Aug 23, 2010
  1. iproute2: add 64bit support to ifstat

    Le lundi 23 août 2010 à 10:33 -0700, Stephen Hemminger a écrit :
    
    > I think this breaks the wraparound detection code in this command.
    >
    >
    
    OK lets fix the bug only, before adding 64bit counters capabilities.
    
    Thanks
    
    [PATCH] iproute2: add 64bit arches support to ifstat
    
    ifstat assumes IFLA_STATS fields are "unsigned long", but they are
    __u32. This fix is needed to let ifstat run on 64bit arches.
    
    Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
    Eric Dumazet committed with Stephen Hemminger Aug 23, 2010
  2. Use correct rt_link_statistics

    In recent kernels, net_device_stats is not exposed and the code
    shoulf have used rt_link_statistics.  Also, fix use of sprintf
    with user supplied value.
    Stephen Hemminger committed Aug 23, 2010
  3. ip: add RTA_MARK support

    Adds support for RTA_MARK rt attribute added in linux-2.6.36
    
    $ ip route get ADDR mark 4
    192.168.20.110 dev eth1  src 192.168.20.108  mark 4
        cache  mtu 1500 advmss 1460 hoplimit 64
    
    $ ip route get 192.168.20.108 from ADDR iif STRING mark 256
    local 192.168.20.108 from 192.168.20.110 dev lo  src 192.168.20.108  mark 0x100
        cache <local,src-direct>  iif eth1
    
    $ ip route list cache [ADDR] mark NUMBER
    
    Hexadecimal output if mark >= 16
    null marks are not displayed.
    
    Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
    Eric Dumazet committed with Stephen Hemminger Jul 21, 2010
  4. Update kernel headers to 2.6.36-rc2

    Stephen Hemminger committed Aug 23, 2010
Something went wrong with that request. Please try again.