[PATCH 3/4] common/sfc_efx/base: add support for configure MAC to keep FCS

Andrew Rybchenko andrew.rybchenko at oktetlabs.ru
Wed Jun 7 10:28:45 CEST 2023


On 6/1/23 14:42, Denis Pryazhennikov wrote:
> Drivers cannot determine if received packet includes the FCS or not.
> Only packets with an external port have the FCS included and functions
> without link control privilege cannot determine the MAC configuration.
> This patch is trying to make assumptions that: if PF is the only function
> (there are no VFs or additional PFs); it can set the MAC configuration and
> it never expects packets it sends to be looped back then it can assume that
> changed the MAC configuration to include the FCS is safe and that all
> received packets will include their FCS.
> 
> Signed-off-by: Roman Zhukov <roman.zhukov at arknetworks.am>
> Signed-off-by: Denis Pryazhennikov <denis.pryazhennikov at arknetworks.am>
> Reviewed-by: Andy Moreton <amoreton at xilinx.com>

Acked-by: Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>

Please, ensure that initial author of the patch is used in From.



More information about the dev mailing list