diff options
author | Yevgeny Petrilin <yevgenyp@mellanox.co.il> | 2012-07-05 04:03:43 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-07 23:23:05 (GMT) |
commit | 6d19993788e080edb557178cc6aba2d963edce4e (patch) | |
tree | c9280404ba3c132e95fecaf0094e3d07d86f6888 /samples | |
parent | aa1ec3dde1d818dcc94e307e25df98242aff5538 (diff) | |
download | linux-6d19993788e080edb557178cc6aba2d963edce4e.tar.xz |
net/mlx4_en: Re-design multicast attachments flow
Currently, for every change in the net device multicast list, the driver
detaches all the addresses from the HW device, and then attaches the
updated list. This behavior is wrong from two aspects: first, it causes
a load of firmware commands and second, there is period of time where
the correct addresses are not attached, which turned into packet loss.
To improve - a copy of the multicast list is saved by the driver. For
every change in the multicast list, the multicast list copy is used
to find the delta between those two lists and add or remove multicast
addresses as needed.
Reported-by: Shawn Bohrer <sbohrer@rgmadvisors.com>
Cc: Shawn Bohrer <sbohrer@rgmadvisors.com>
Signed-off-by: Hadar Hen Zion <hadarh@mellanox.co.il>
Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions