]> 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)
commit4b5283c81085701cc6570ef31a8374001d6ea2c8
treed7848dff846772de3615606203fc060b32ec1b75
parentaf12dfb36988424877d6e8db62875deddcb197ef
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