net/sfc: put generalised TSO declarations in a header
authorIgor Romanov <igor.romanov@oktetlabs.ru>
Fri, 5 Oct 2018 14:47:01 +0000 (15:47 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 11 Oct 2018 16:53:49 +0000 (18:53 +0200)
commitf1f575be9b76ffd2afc5211dcfc0fed8db1014b2
treed0ca5c49a896e7621dea1916b1b9022a871ec232
parent425f09300ea20ee95730b0c9cb1f95d0dc588541
net/sfc: put generalised TSO declarations in a header

Move general TSO declarations in a separate header to be able to use
them in other datapaths (not only EFX). Also update the function that
prepares TSO header to make it useful in other datapaths.

Signed-off-by: Igor Romanov <igor.romanov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/sfc_tso.c
drivers/net/sfc/sfc_tso.h [new file with mode: 0644]