1. 16 Oct, 2015 7 commits
  2. 12 Oct, 2015 14 commits
  3. 07 Oct, 2015 4 commits
  4. 25 Sep, 2015 5 commits
  5. 23 Sep, 2015 10 commits
    • David Ahern's avatar
      ip: Add type and master filters to brief output · 84d30afd
      David Ahern authored
      The brief format does not honer the master and type filters:
      
      $ ip link show master vrf-mgmt
      7: dummy0: <BROADCAST,NOARP,SLAVE> mtu 1500 qdisc noop master vrf-mgmt state DOWN mode DEFAULT group default qlen 1000
          link/ether 66:39:cc:2b:e9:bd brd ff:ff:ff:ff:ff:ff
      
      $ ip -br link show master vrf-mgmt
      lo               UNKNOWN        00:00:00:00:00:00 <LOOPBACK,UP,LOWER_UP>
      eth0             UP             08:00:27:de:14:c8 <BROADCAST,MULTICAST,UP,LOWER_UP>
      eth1             UP             08:00:27:87:02:f1 <BROADCAST,MULTICAST,UP,LOWER_UP>
      eth2             UP             08:00:27:61:1e:fd <BROADCAST,MULTICAST,UP,LOWER_UP>
      vrf-blue         UNKNOWN        a6:3f:09:34:7e:74 <NOARP,MASTER,UP,LOWER_UP>
      vrf-red          DOWN           fe:a2:2d:e1:bc:ac <NOARP,MASTER>
      dummy0           DOWN           66:39:cc:2b:e9:bd <BROADCAST,NOARP,SLAVE>
      dummy1           DOWN           4a:4f:13:91:64:b1 <BROADCAST,NOARP,SLAVE>
      dummy2           DOWN           b2:4f:b6:cd:bd:a6 <BROADCAST,NOARP>
      dummy3           DOWN           1e:06:3d:40:b8:c2 <BROADCAST,NOARP,SLAVE>
      vrf-mgmt         DOWN           ce:b2:74:41:21:df <NOARP,MASTER>
      
      With this patch the expected output is shown:
      
      $ ip -br link show master vrf-mgmt
      dummy0           DOWN           66:39:cc:2b:e9:bd <BROADCAST,NOARP,SLAVE>
      Signed-off-by: default avatarDavid Ahern <dsa@cumulusnetworks.com>
      84d30afd
    • David Ahern's avatar
      ip route: Add RTM_F_LOOKUP_TABLE flag and show table id · bc234301
      David Ahern authored
      Currently 'ip route get' does not show the table the lookup result comes
      from and prior to kernel commit c36ba6603a11 the response from the kernel
      was hardcoded to the main table. From the discussion this appears to be
      a leftover from the route cache where the cached entry lost the table id
      and so the result was hardcoded to main table.
      
      c36ba6603a11 added the RTM_F_LOOKUP_TABLE flag to maintain that behavior
      but to allow new tools to ask for the actual table id for the lookup.
      This patch adds that flag to ip route get request and if the result is
      not the main table shows the table id.
      Signed-off-by: default avatarDavid Ahern <dsa@cumulusnetworks.com>
      bc234301
    • Stephen Hemminger's avatar
      update kernel headers to 4.3 net-next · 4e39bfb9
      Stephen Hemminger authored
      4e39bfb9
    • Andrew Vagin's avatar
      route: filter routes by family if it's specified · 5b9ac190
      Andrew Vagin authored
      Currently when we specify AF_INET6 when it is disabled, we will get
      all routes.
      
      For example, we can boot kernel with ipv6.disable=1 and try to get ipv6
      routes:
      $ ip -6 route show
      default via 192.168.122.1 dev eth0  proto static  metric 100
      192.168.122.0/24 dev eth0  proto kernel  scope link  src 192.168.122.141  metric 100
      
      Here are ipv4 routes and this is unexpected behaviour.
      Signed-off-by: default avatarAndrew Vagin <avagin@openvz.org>
      5b9ac190
    • Vadim Kochan's avatar
      man tc-htb: Fix HRB -> HTB typo · 6c19ff10
      Vadim Kochan authored
      Changed HRB -> HTB.
      Signed-off-by: default avatarVadim Kochan <vadim4j@gmail.com>
      6c19ff10
    • Vadim Kochan's avatar
    • Phil Sutter's avatar
      tc: fq: allow setting and retrieving flow refill delay · 565af7b8
      Phil Sutter authored
      Code to parse and export this tuneable via netlink is already present in
      sched_fq.c of the kernel, so not making it accessible for users would be
      a waste of resources.
      Signed-off-by: default avatarPhil Sutter <phil@nwl.cc>
      565af7b8
    • Phil Sutter's avatar
      man: tc.8: mention available qdiscs · f171b858
      Phil Sutter authored
      Some qdiscs still lack a manpage, so listing them here is the only way
      for a user to get to know them. For the others, this serves as an
      overview of what is there.
      
      Content was taken over from the dedicated manpage if available and
      suitable, so there is definitely room for improvement at least by
      adjusting it more to the context in which it is now. In case there
      wasn't appropriate wording available, I tried to identify key aspects of
      the given qdisc.
      Signed-off-by: default avatarPhil Sutter <phil@nwl.cc>
      f171b858
    • Phil Sutter's avatar
      ip-link: do not support 'ip link add dev help' · 940a96e6
      Phil Sutter authored
      Commit 05325552 ('Support "ip link add help" for rtnl_link API') added a
      check for specified help parameter. Though due to the place where it has
      been added to, it is not possible anymore to force a given parameter to
      be interpreted as interface name by prefixing it with 'dev '. Fix this
      by forcing whatever follows 'dev' to be presumed as interface name.
      Signed-off-by: default avatarPhil Sutter <phil@nwl.cc>
      940a96e6
    • Phil Sutter's avatar
      man: rtpr: add minimal manpage · e4ef49a4
      Phil Sutter authored
      While there is not much to explain about this rather trivial shell
      script, having a manpage for it serves as good point of reference for
      users wondering what it might be for.
      Signed-off-by: default avatarPhil Sutter <phil@nwl.cc>
      e4ef49a4