]> git.baikalelectronics.ru Git - kernel.git/commit
IPoIB: add support for TIPC protocol
authorPatrick McHardy <kaber@trash.net>
Wed, 17 Apr 2013 06:18:29 +0000 (06:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Apr 2013 18:18:33 +0000 (14:18 -0400)
commite2e9af51ba013759b2703f48eb9257d26ffa09b9
treed5c1121566f250059ee5c5d7baa3948a31fbff09
parentf77f4f83fddabdc4113025b27c9c2bb058c59f4b
IPoIB: add support for TIPC protocol

Support TIPC in the IPoIB driver. Since IPoIB now keeps track of its own
neighbour entries and doesn't require the packet to have a dst_entry
anymore, the only necessary changes are to:

- not drop multicast TIPC packets because of the unknown ethernet type
- handle unicast TIPC packets similar to IPv4/IPv6 unicast packets

in ipoib_start_xmit().

An alternative would be to remove all ethertype limitations since they're
not necessary anymore, all TIPC needs to know about is ARP and RARP since
it wants to always perform "path find", even if a path is already known.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/infiniband/ulp/ipoib/ipoib_main.c