]> 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)
commitfdc69461fb529b15103cc1f13de07ae6907b1e1f
tree9bf21e86f331a6719cfa7b324a6b2702c82a5030
parente427aee403b9daa56a0d76444e69ef4ef28a25ef
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