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)
commitccccb49329776340d99377cfae30ef3d92378fcc
treed7848dff846772de3615606203fc060b32ec1b75
parent7e40e16e38ba58858b0056ef9ea34459fc80dc52
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