diff options
author | Jon Paul Maloy <jon.maloy@ericsson.com> | 2015-10-22 08:51:43 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-10-24 06:56:40 -0700 |
commit | 959e1781aa230aecc90e4deb80117fd9a53dede7 (patch) | |
tree | 623deab93b0a27fe2208d1c1da55741d6cd926bc /net/tipc/bearer.h | |
parent | b06b281e79375fcbd9ffaec7c5fdc350b888d089 (diff) | |
download | linux-959e1781aa230aecc90e4deb80117fd9a53dede7.tar.gz linux-959e1781aa230aecc90e4deb80117fd9a53dede7.tar.bz2 linux-959e1781aa230aecc90e4deb80117fd9a53dede7.zip |
tipc: introduce jumbo frame support for broadcast
Until now, we have only been supporting a fix MTU size of 1500 bytes
for all broadcast media, irrespective of their actual capability.
We now make the broadcast MTU adaptable to the carrying media, i.e.,
we use the smallest MTU supported by any of the interfaces attached
to TIPC.
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Reviewed-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/bearer.h')
-rw-r--r-- | net/tipc/bearer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/tipc/bearer.h b/net/tipc/bearer.h index 9fc1e074f7c0..2ba8a7e274a5 100644 --- a/net/tipc/bearer.h +++ b/net/tipc/bearer.h @@ -218,6 +218,7 @@ void tipc_bearer_cleanup(void); void tipc_bearer_stop(struct net *net); void tipc_bearer_send(struct net *net, u32 bearer_id, struct sk_buff *buf, struct tipc_media_addr *dest); +int tipc_bearer_mtu(struct net *net, u32 bearer_id); void tipc_bearer_xmit(struct net *net, u32 bearer_id, struct sk_buff_head *xmitq, struct tipc_media_addr *dst); |