]> 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)
commit790ce6590b8ddc03dbdcbd7a286d37f0fe2984fe
tree3f880db4dddf2dbca880aada8d9e1de8987c612f
parent459a99f03f874acb5a4ced28f6bfdacaabc407b7
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: d9cd5265d282 ("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