]> 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)
commit2ff5bbe8836ce57fcc01519d85d4de02bca030f4
treed5c1121566f250059ee5c5d7baa3948a31fbff09
parent454e8567bf57c5b27eb7c2d2136c9d9020b27827
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