]> git.baikalelectronics.ru Git - kernel.git/commit
net: atlantic: fix ip dst and ipv6 address filters
authorDmitry Bogdanov <dbogdanov@marvell.com>
Wed, 8 Jul 2020 14:17:10 +0000 (17:17 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Jul 2020 19:29:33 +0000 (12:29 -0700)
commita44c17141596212d61b37bad4e4bca5ed2f243b7
tree3f880db4dddf2dbca880aada8d9e1de8987c612f
parent85c5bf7d630cc79d60fedb7cbd420fea96df3267
net: atlantic: fix ip dst and ipv6 address filters

This patch fixes ip dst and ipv6 address filters.
There were 2 mistakes in the code, which led to the issue:
* invalid register was used for ipv4 dst address;
* incorrect write order of dwords for ipv6 addresses.

Fixes: 26a65e6d72ba ("net: aquantia: add rx-flow filter definitions")
Signed-off-by: Dmitry Bogdanov <dbogdanov@marvell.com>
Signed-off-by: Mark Starovoytov <mstarovoitov@marvell.com>
Signed-off-by: Alexander Lobakin <alobakin@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h