- 04 Mar, 2016 4 commits
-
-
Phil Sutter authored
Cc: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by:
Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Signed-off-by:
Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Cc: Gregoire Baron <baronchon@n7mm.org> Signed-off-by:
Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Cc: Felix Fietkau <nbd@openwrt.org> Signed-off-by:
Phil Sutter <phil@nwl.cc>
-
- 02 Mar, 2016 23 commits
-
-
Phil Sutter authored
Listing generic 'ip' options in subcommand man pages is redundant and error-prone, as they won't be kept in sync anyway. Since many other man pages don't list them either, drop references to them in the remaining ones. Signed-off-by:
Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
The 'ADDR' part of 'local' and 'remote' parameters is not optional, but may also consist of the word 'any'. While at it, add missing whitespace and fix fonts. Signed-off-by:
Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Signed-off-by:
Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Namely, 'extra-flag' of 'ip xfrm state' and 'flag' of 'ip xfrm policy'. Signed-off-by:
Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Also drop the non-terminal 'TIME' description as it is not referenced anywhere. Signed-off-by:
Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Drop unnecessary curly braces around single action keywords, point out that 'dev' parameter to 'ip token get' is optional and clarify that 'ip token' defaults to 'list' action. Signed-off-by:
Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Clarify that 'ip rule' defaults to action 'list', that 'flush' and 'save' actions don't accept additional parameters, add missing 'not' and 'goto' keywords and finally fix fonts used in 'fwmark' and 'realms' parameters. Signed-off-by:
Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
The first line contained a c'n'p error, incorrectly listing 'ip address' syntax. Since PARAMS is used just once and there are not many other parameters to 'ip ntable change', state them inline and in addition to that clarify the possibility to pass multiple parameters at once. Signed-off-by:
Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Use brackets to show that 'ip netns' defaults to action 'list', drop superfluous curly braces around 'set' action keyword. Signed-off-by:
Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Signed-off-by:
Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Reflect that it is possible to pass multiple parameters at the same time, also use the same trick the help text uses to emphasize vf specific parameters. Signed-off-by:
Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
We commonly use bold font for terminals and italic for non-terminals. Signed-off-by:
Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Clarify that the optional '-' prefix of the 'tentative', 'deprecated' and 'dadfailed' keywords has to be put right in front of them, no whitespace is allowed in between. In addition to that, clarify that it is valid to pass both 'valid_lft' and 'preferred_lft' at the same time to 'ip address'. Signed-off-by:
Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Signed-off-by:
Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
This is a bit pedantic, but brackets ([]) show optional values and since TYPE must not become empty, they're not suited to surround the type keyword choices. Use curly braces instead. Also add some missing whitespace to the parameter list above. Signed-off-by:
Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Signed-off-by:
Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
And while we're at it, add whitespace around braces and pipe symbol. Signed-off-by:
Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Get rid of extraneous closing brackets and while here, merge the double netns parameter. Signed-off-by:
Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Neither 'list' nor 'flush' actions accept parameters, and with given prefix the action keyword is not optional anymore. Signed-off-by:
Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Although the ip command accepts both "neighbor" and "neighbour" as subcommand, I assume it's sufficient to list it in help text as just "neigh" like ip.8 does. Signed-off-by:
Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
Signed-off-by:
Phil Sutter <phil@nwl.cc>
-
Phil Sutter authored
The help text was misleading: One could think it is possible to list rules by selector, which would be nice but isn't. This change also clarifies that 'ip rule' defaults to 'list' if no further arguments are given. Signed-off-by:
Phil Sutter <phil@nwl.cc>
-
Hiroshi Shimamoto authored
Add IFLA_VF_TRUST message to trust the VF. PF can accept some privileged operation from the trusted VF. For example, ixgbe PF doesn't allow to enable VF promiscuous mode until the VF is trusted because it may hurt performance. To trust VF. # ip link set dev eth0 vf 1 trust on To untrust VF. # ip link set dev eth0 vf 1 trust off Signed-off-by:
Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
-
- 21 Feb, 2016 2 commits
-
-
Nikolay Aleksandrov authored
invarg exits so no need to return, remove this c&p error from my recent patches Signed-off-by:
Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
-
Roopa Prabhu authored
This patch is a follow up to the recently added 'static' fdb option. It introduces a new option 'dynamic' which adds dynamic fdb entries with NUD_REACHABLE. $bridge fdb add 00:01:02:03:04:06 dev eth0 master dynamic $bridge fdb show 00:01:02:03:04:06 dev eth0 This patch also documents all fdb types. Removes 'temp' from usage message since it is now replaced by 'static'. 'temp' still works and is synonymous with static. Signed-off-by:
Wilson Kok <wkok@cumulusnetworks.com> Signed-off-by:
Roopa Prabhu <roopa@cumulusnetworks.com>
-
- 18 Feb, 2016 8 commits
-
-
Dmitrii Shcherbakov authored
b3 buffer has been deleted previously so b2 is followed by b4 which is not consistent. Signed-off-by:
Dmitrii Shcherbakov <fw.dmitrii@yandex.com> Acked-by:
Jesper Dangaard Brouer <brouer@redhat.com> Acked-by:
Phil Sutter <phil@nwl.cc>
-
Dmitrii Shcherbakov authored
Remove printing according to the previously used encoding of mpu and overhead values within the tc_ratespec's mpu field. This encoding is no longer being used as a separate 'overhead' field in the ratespec structure has been introduced. Signed-off-by:
Dmitrii Shcherbakov <fw.dmitrii@yandex.com> Acked-by:
Jesper Dangaard Brouer <brouer@redhat.com> Acked-by:
Phil Sutter <phil@nwl.cc>
-
Nikolay Aleksandrov authored
Add support to be able to view and change IFLA_BRPORT_FAST_LEAVE port attribute. Signed-off-by:
Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
-
Nikolay Aleksandrov authored
Add support to be able to view and change IFLA_BRPORT_MULTICAST_ROUTER port attribute. Signed-off-by:
Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
-
Nikolay Aleksandrov authored
Add support to be able to view and change IFLA_BRPORT_PROXYARP_WIFI port attribute. Signed-off-by:
Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
-
Nikolay Aleksandrov authored
Add support to be able to view and change IFLA_BRPORT_PROXYARP port attribute. Signed-off-by:
Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
-
Nikolay Aleksandrov authored
Export all the read-only values that get returned about a bridge port such as the timers, the ids, designated_port and cost, topology_change_ack and config_pending. For the bridge ids the br_dump_bridge_id function is exported from iplink_bridge. Signed-off-by:
Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
-
Nicolas Cavallari authored
netns_map_add() does a malloc of (sizeof (struct nsid_cache) + strlen(name)) and then proceed with strcpy() of name into the zero-length member at the end of the nsid_cache structure. The nul-terminator is written outside of the allocated memory and may overwrite the allocator's internal structure. This can trigger a segmentation fault on i386 uclibc with names of size 8: after the corruption occurs, the call to closedir() on netns_map_init() crashes while freeing the DIR structure. Here is the relevant valgrind output: ==1251== Memcheck, a memory error detector ==1251== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. ==1251== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info ==1251== Command: ./ip netns ==1251== ==1251== Invalid write of size 1 ==1251== at 0x4011975: strcpy (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==1251== by 0x8058B00: netns_map_add (ipnetns.c:181) ==1251== by 0x8058E2A: netns_map_init (ipnetns.c:226) ==1251== by 0x8058E79: do_netns (ipnetns.c:776) ==1251== by 0x804D9FF: do_cmd (ip.c:110) ==1251== by 0x804D814: main (ip.c:300)
-
- 09 Feb, 2016 3 commits
-
-
Stephen Hemminger authored
This reverts commit f9dec657. Since this code is not in upstream kernel, it shouldn't be in iproute2
-
Roopa Prabhu authored
This patch adds support to add mpls multipath routes. example: ip -f mpls route add 100 \ nexthop as 200 via inet 10.1.1.2 dev swp1 \ nexthop as 700 via inet 10.1.1.6 dev swp2 Signed-off-by:
Roopa Prabhu <roopa@cumulusnetworks.com>
-
Nikolay Aleksandrov authored
It seems that I've made a mistake when I exported these, instead of a space in the end I've put a newline character which is wrong and breaks the single line output. Fixes: 7d6bc3b8 ("bonding: export 3ad actor and partner port state") Reported-by:
Sam Tannous <stannous@cumulusnetworks.com> Signed-off-by:
Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
-