summaryrefslogtreecommitdiffstats
path: root/net/l2tp/l2tp_ppp.c
diff options
context:
space:
mode:
authorAviv Heller <avivh@mellanox.com>2018-10-02 17:18:44 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2018-12-14 13:28:53 -0800
commit1418ddd96afdb097ab9a2fe09c94e820d596321a (patch)
tree49fc1bfc179f3ae8dfa52853dea5d5a6eadd0206 /net/l2tp/l2tp_ppp.c
parent7ba58ba7ba5e19324b3879000ef341966b19727b (diff)
downloadlinux-1418ddd96afdb097ab9a2fe09c94e820d596321a.tar.bz2
net/mlx5e: Duplicate offloaded TC eswitch rules under uplink LAG
Under uplink LAG, packets that match a flow might arrive on both uplink ports and transmitted through both as part of supporting aggregation and high-availability. When the netdevs representing the uplinks are set into LAG (bonding, teaming), duplicate the TC flow offloading into each of the per-uplink e-switches. Duplication is not required if the source is the bond device, since in this case it is assumed that the bond and the uplink netdevs share the same TC block, and thus duplication will occur naturally by the stack. Note that under encapsulation scheme, both flows will use the same neighbour and hence both will contribute to the last-used feedback towards the stack. Signed-off-by: Aviv Heller <avivh@mellanox.com> Signed-off-by: Rabie Loulou <rabiel@mellanox.com> Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com> Reviewed-by: Roi Dayan <roid@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'net/l2tp/l2tp_ppp.c')
0 files changed, 0 insertions, 0 deletions