]> git.baikalelectronics.ru Git - kernel.git/commit
octeontx2-af: NIX LSO config for TSOv4/v6 offload
authorSunil Goutham <sgoutham@marvell.com>
Tue, 16 Oct 2018 11:27:17 +0000 (16:57 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Oct 2018 04:33:43 +0000 (21:33 -0700)
commit0bffc5ec56656a8f2c4ed3ee373f4a93c8ed6ddd
tree3bc4d6dc1e9a0f346906800d04dec7b63adf2bef
parent10c7c1e6674943a2a2c706e643050a909a631bdf
octeontx2-af: NIX LSO config for TSOv4/v6 offload

Config LSO formats for TSOv4 and TSOv6 offloads.
These formats tell HW which fields in the TCP packet's
headers have to be updated while performing segmentation
offload.

Also report PF/VF drivers the LSO format indices as part
of response to NIX_LF_ALLOC mbox msg. These indices are
used in SQE extension headers while framing SQE for pkt
transmission with TSO offload.

Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/common.h
drivers/net/ethernet/marvell/octeontx2/af/mbox.h
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h