]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: include vport_id in filter spec hash and equal()
authorPieter Jansen van Vuuren <pieter.jansen-van-vuuren@amd.com>
Tue, 18 Oct 2022 09:28:41 +0000 (10:28 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 20 Oct 2022 00:08:43 +0000 (17:08 -0700)
commitcd09a2c7b52f992cdfa6bb1643f4f76532fb6b10
tree4ea1a19db10833364e287170fe37610923e70b85
parent2036402cdcec7fe1544754892cbba753477c4948
sfc: include vport_id in filter spec hash and equal()

Filters on different vports are qualified by different implicit MACs and/or
VLANs, so shouldn't be considered equal even if their other match fields
are identical.

Fixes: 202fa77b9269 ("sfc: Extend and abstract efx_filter_spec to cover Huntington/EF10")
Co-developed-by: Edward Cree <ecree.xilinx@gmail.com>
Signed-off-by: Edward Cree <ecree.xilinx@gmail.com>
Signed-off-by: Pieter Jansen van Vuuren <pieter.jansen-van-vuuren@amd.com>
Reviewed-by: Martin Habets <habetsm.xilinx@gmail.com>
Link: https://lore.kernel.org/r/20221018092841.32206-1-pieter.jansen-van-vuuren@amd.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/sfc/filter.h
drivers/net/ethernet/sfc/rx_common.c