]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
sfc: Check firmware supports Ethernet PTP filter
authorAlex Austin <alex.austin@amd.com>
Thu, 24 Aug 2023 16:46:57 +0000 (17:46 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Sep 2023 07:48:08 +0000 (09:48 +0200)
commit283b627b0f2fb746596b8894ef5abd0c11a0cfe2
tree8e42a8737e07652058e01563bd564fa84b7d619b
parentbf412083ad9772b674fbf37b6cf7d59b0a18f74d
sfc: Check firmware supports Ethernet PTP filter

[ Upstream commit c4413a20fa6d7c4888009fb7dd391685f196cd36 ]

Not all firmware variants support RSS filters. Do not fail all PTP
functionality when raw ethernet PTP filters fail to insert.

Fixes: e4616f64726b ("sfc: support PTP over Ethernet")
Signed-off-by: Alex Austin <alex.austin@amd.com>
Acked-by: Edward Cree <ecree.xilinx@gmail.com>
Reviewed-by: Pieter Jansen van Vuuren <pieter.jansen-van-vuuren@amd.com>
Link: https://lore.kernel.org/r/20230824164657.42379-1-alex.austin@amd.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/sfc/ptp.c