diff options
author | Mahesh Bandewar <maheshb@google.com> | 2015-05-05 02:06:03 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-05-06 01:29:49 +0200 |
commit | ba35f8588f474d5bf8988615b04ee722a2684fd2 (patch) | |
tree | 0333353c2743d8271d6d2a2dd0cf4e35169a734c /drivers/lguest/segments.c | |
parent | Merge branch 'eth_proto_is_802_3' (diff) | |
download | linux-ba35f8588f474d5bf8988615b04ee722a2684fd2.tar.xz linux-ba35f8588f474d5bf8988615b04ee722a2684fd2.zip |
ipvlan: Defer multicast / broadcast processing to a work-queue
Processing multicast / broadcast in fast path is performance draining
and having more links means more cloning and bringing performance
down further.
Broadcast; in particular, need to be given to all the virtual links.
Earlier tricks of enabling broadcast bit for IPv4 only interfaces are not
really working since it fails autoconf. Which means enabling broadcast
for all the links if protocol specific hacks do not have to be added into
the driver.
This patch defers all (incoming as well as outgoing) multicast traffic to
a work-queue leaving only the unicast traffic in the fast-path. Now if we
need to apply any additional tricks to further reduce the impact of this
(multicast / broadcast) type of traffic, it can be implemented while
processing this work without affecting the fast-path.
Signed-off-by: Mahesh Bandewar <maheshb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/lguest/segments.c')
0 files changed, 0 insertions, 0 deletions