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)
commita42e6aee7f47a8a68d09923c720fc8f605a04207
tree3f880db4dddf2dbca880aada8d9e1de8987c612f
parent086c18f2452d0028f81e319f098bcb8e53133dbf
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: 23e7a718a49b ("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