]> git.baikalelectronics.ru Git - kernel.git/commit
flow_dissector: add tipc support
authorErik Hugne <erik.hugne@ericsson.com>
Thu, 22 Jan 2015 16:10:32 +0000 (17:10 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Jan 2015 00:58:09 +0000 (16:58 -0800)
commitfe6bab62fdbd07d1a15a3aad714de8a52f8e5715
treea8de79af22702cfac387c99f3190b31b6534310e
parentaae1e4c35e750bdf11bfdf1b30312b6768852d9e
flow_dissector: add tipc support

The flows are hashed on the sending node address, which allows us
to spread out the TIPC link processing to RPS enabled cores. There
is no point to include the destination address in the hash as that
will always be the same for all inbound links. We have experimented
with a 3-tuple hash over [srcnode, sport, dport], but this showed to
give slightly lower performance because of increased lock contention
when the same link was handled by multiple cores.

Signed-off-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: Erik Hugne <erik.hugne@ericsson.com>
Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/flow_dissector.c