common/cnxk: support NIX LSO and misc utils
authorSunil Kumar Kori <skori@marvell.com>
Tue, 6 Apr 2021 14:41:23 +0000 (20:11 +0530)
committerJerin Jacob <jerinj@marvell.com>
Fri, 9 Apr 2021 06:32:24 +0000 (08:32 +0200)
commitdfa267ec54ac9740895786f838b41cb54a735213
tree06370b57747682f40de1c97ee7f175991edabea4
parentda57d4589a6f5b0188ea9b79807addaf03b006db
common/cnxk: support NIX LSO and misc utils

Add support to create LSO formats for TCP segmentation offload
for IPv4/IPv6, tunnel and non-tunnel protocols. Tunnel protocol
support is for GRE and UDP based tunnel protocols.

This patch also adds other helper API to retrieve eeprom info
and configure Rx for different switch headers.

Signed-off-by: Sunil Kumar Kori <skori@marvell.com>
Acked-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
drivers/common/cnxk/meson.build
drivers/common/cnxk/roc_nix.h
drivers/common/cnxk/roc_nix_debug.c
drivers/common/cnxk/roc_nix_ops.c [new file with mode: 0644]
drivers/common/cnxk/roc_nix_priv.h
drivers/common/cnxk/version.map