]> git.baikalelectronics.ru Git - kernel.git/commit
nfp: allow TSO packets with metadata prepended in NFDK path
authorYinjun Zhang <yinjun.zhang@corigine.com>
Tue, 5 Jul 2022 07:36:03 +0000 (08:36 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Jul 2022 07:15:39 +0000 (08:15 +0100)
commitfecd4f017eaee0ad14fcfbcb7401d6ea8594df47
treed7848dff846772de3615606203fc060b32ec1b75
parent042872a356aa7aa01b18adc4a6108d7ff5f89e3d
nfp: allow TSO packets with metadata prepended in NFDK path

Packets with metadata prepended can be correctly handled in
firmware when TSO is enabled, now remove the error path and
related comments. Since there's no existing firmware that
uses prepended metadata, no need to add compatibility check
here.

Signed-off-by: Yinjun Zhang <yinjun.zhang@corigine.com>
Reviewed-by: Louis Peens <louis.peens@corigine.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfdk/dp.c