1. 01 Aug, 2010 1 commit
    • Mike Frysinger's avatar
      netem: fix installs of dist files · 1a7943bc
      Mike Frysinger authored
      The tc program searches LIBDIR by default for the .dist files, and that
      defaults to /usr/lib.  But the netem subdir has /lib/ hardcoded which
      means the default build+install results in the files not being found.
      
      Further, these are plain text files which are read at runtime, so it
      doesn't make sense to give them executable bits.
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      1a7943bc
  2. 30 Jul, 2010 1 commit
  3. 23 Jul, 2010 9 commits
  4. 09 Jun, 2010 1 commit
  5. 19 May, 2010 5 commits
  6. 18 May, 2010 1 commit
    • Chris Wright's avatar
      iproute2: rework SR-IOV VF support · 3fd86630
      Chris Wright authored
      The kernel interface changed just before 2.6.34 was released.  This brings
      iproute2 in line with the current changes.  The VF portion of setlink is
      comprised of a set of nested attributes.
      
        IFLA_VFINFO_LIST (NESTED)
          IFLA_VF_INFO (NESTED)
            IFLA_VF_MAC
            IFLA_VF_VLAN
            IFLA_VF_TX_RATE
      Signed-off-by: default avatarChris Wright <chrisw@sous-sol.org>
      3fd86630
  7. 17 May, 2010 2 commits
  8. 13 May, 2010 1 commit
  9. 22 Apr, 2010 2 commits
    • Bart Trojanowski's avatar
      fix build issues with flex ver 2.5 · 608a96c7
      Bart Trojanowski authored
      When building on an old environment, the flex generated
      tc/emp_ematch.lex.c file would not compile.  The error given was:
      
      emp_ematch.lex.c:1686: error: expected ‘;’, ‘,’ or ‘)’ before numeric constant
      
      The emp_ematch.l uses 'str' as a start symbol name, and  flex would create
      a '#define str 1' statement.  This particular version of flex,
      unfortunately, used 'str' as names of string variables in the generated
      parser functions.  This is line 1686 in the generated file:
      
      YY_BUFFER_STATE ematch__scan_string (yyconst char * str )
      
      This patch just substitutes 'str' for 'lexstr' in emp_ematch.l to avoid
      the collision.
      608a96c7
    • Stephen Hemminger's avatar
      Update ip.8 man page to describe route table id values · 4ec1933d
      Stephen Hemminger authored
      2.6 kernel allows 2^32 route tables, but documentation stated only
      255 values were possible.
      4ec1933d
  10. 12 Apr, 2010 2 commits
  11. 30 Mar, 2010 2 commits
  12. 29 Mar, 2010 6 commits
  13. 09 Mar, 2010 1 commit
  14. 04 Mar, 2010 6 commits
    • Stephen Hemminger's avatar
    • Wolfgang Grandegger's avatar
      iproute2: netlink support for bus-error reporting and counters · 8a517946
      Wolfgang Grandegger authored
      This patch uses the new features of the kernel's netlink CAN interface
      making the bus-error reporting configurable and allowing to retrieve
      the CAN TX and RX bus error counters via netlink interface. Here is the
      output of my test session showing how to use them:
      
      # ip link set can0 up type can bitrate 500000 berr-reporting on
      # ip -d -s link show can0
      2: can0: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state UNKNOWN qlen 10
          link/can
          can <BERR-REPORTING> state ERROR-PASSIVE (berr-counter tx 128 rx 0) restart-ms 0
                                    CAN bus error counter values ^^^^^^^^^^^
          bitrate 500000 sample-point 0.875
          tq 125 prop-seg 6 phase-seg1 7 phase-seg2 2 sjw 1
          sja1000: tseg1 1..16 tseg2 1..8 sjw 1..4 brp 1..64 brp-inc 1
          clock 8000000
          re-started bus-errors arbit-lost error-warn error-pass bus-off
          0          54101      0          1          1          0
          RX: bytes  packets  errors  dropped overrun mcast
          432808     54101    54101   0       0       0
          TX: bytes  packets  errors  dropped carrier collsns
          0          0        0       0       0       0
      
      # ifconfig can0 down
      # ip link set can0 up type can berr-reporting off
      # candump -t d any,0:0,#FFFFFFFF
       (0.000000)  can0  20000004  [8] 00 08 00 00 00 00 60 00   ERRORFRAME
       (0.000474)  can0  20000004  [8] 00 20 00 00 00 00 80 00   ERRORFRAME
                                                         ^^ ^^
      						    \  \___ rxerr
      						     \_____ txerr
      
      Furthermore, the missing support for one-shot mode has been added.
      Signed-off-by: default avatarWolfgang Grandegger <wg@grandegger.com>
      8a517946
    • Jamal Hadi Salim's avatar
      xfrm: add support for SA by mark · c90cda94
      Jamal Hadi Salim authored
      Add support for SA manipulation by mark
      Signed-off-by: default avatarJamal Hadi Salim <hadi@cyberus.ca>
      c90cda94
    • Jamal Hadi Salim's avatar
      xfrm: Introduce xfrm by mark · f6fd52e6
      Jamal Hadi Salim authored
      This patch carries basic infrastructure.
      You need to make sure that the proper include/linux/xfrm.h is included
      for it to compile.
      
      Example:
      f6fd52e6
    • Jamal Hadi Salim's avatar
      xfrm: policy by mark · ee675e87
      Jamal Hadi Salim authored
      Add support for SP manipulation by mark
      Signed-off-by: default avatarJamal Hadi Salim <hadi@cyberus.ca>
      ee675e87
    • jamal's avatar
      skbedit: use get_u32 for parsing mark · e906975a
      jamal authored
      parsing a mark as a classid allows for acceptance of strange
      informal input.
      
      cheers,
      jamal
      commit aad0da6507ff8a95a63ed8e529c05f52be5b0e75
      Author: Jamal Hadi Salim <hadi@cyberus.ca>
      Date:   Mon Feb 15 06:45:29 2010 -0500
      
          skbedit: use get_u32 for parsing mark
      
          get_u32 is the more appropriate parser for a mark.
      Signed-off-by: default avatarJamal Hadi Salim <hadi@cyberus.ca>
      e906975a