]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_en: Fix ip/udp steering rules multicast mac when attached via ethtool
authorHadar Hen Zion <hadarh@mellanox.com>
Wed, 30 Jan 2013 23:07:04 +0000 (23:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Jan 2013 17:48:46 +0000 (12:48 -0500)
commitf4feb40f2f2c876ecc04beb7eb436d9f66287407
tree9bf21e86f331a6719cfa7b324a6b2702c82a5030
parentcd5b7609010d63cb7a1e09e8609ffe12737a3c02
net/mlx4_en: Fix ip/udp steering rules multicast mac when attached via ethtool

Destination mac is a mandatory specification for ip/udp steering rules.
When attaching multicast steering rules via ethtool the unicast mac of the
interface was added to the rule specification instead of the multicast mac.
The following commit sets the corresponding multicast mac for the rule multicast ip.

Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c