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)
commitf90a36734a6a0d843baa37b7caa1ef020f799d47
tree9bf21e86f331a6719cfa7b324a6b2702c82a5030
parent248c62aa12a318fe53bf4f530b69b150c34416e7
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