]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: Allow run-time alteration of default link settings
authorAllan Stephens <allan.stephens@windriver.com>
Tue, 18 Oct 2011 15:34:29 +0000 (11:34 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 27 Dec 2011 16:33:39 +0000 (11:33 -0500)
commit6f07c8ae306c6142fb22a45dd643ddfcbd0922d2
tree66bc9a4653495c1fddf87cc5fd3d88ab1d14a3a7
parent38cc1cffa591c12cf06d51c4b73e745c2a746dba
tipc: Allow run-time alteration of default link settings

Permits run-time alteration of default link settings on a per-media
and per-bearer basis, in addition to the existing per-link basis.
The following syntax can now be used:

    tipc-config -lt=<link-name|bearer-name|media-name>/<tolerance>
    tipc-config -lp=<link-name|bearer-name|media-name>/<priority>
    tipc-config -lw=<link-name|bearer-name|media-name>/<window>

Note that changes to the default settings for a given media type has
no effect on the default settings used by existing bearers. Similarly,
changes to default bearer settings has no effect on existing link
endpoints that utilize that interface.

Thanks to Florian Westphal <fw@strlen.de> for his contributions to
the development of this enhancement.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
net/tipc/bearer.c
net/tipc/bearer.h
net/tipc/link.c