]> git.droids-corp.org - dpdk.git/commit
net/cnxk: support pre L2 switch header type
authorKiran Kumar K <kirankumark@marvell.com>
Fri, 21 Jan 2022 06:26:38 +0000 (11:56 +0530)
committerJerin Jacob <jerinj@marvell.com>
Sat, 22 Jan 2022 14:05:28 +0000 (15:05 +0100)
commit5bffab53f16d2f0ddff5af164be4c3a8ed625a38
tree05a7783ad40e9beef4f777b007c9d9287a30af89
parentdad044030e750af38b8bc92fa7e4c3db1ad69b6e
net/cnxk: support pre L2 switch header type

Adding changes to configure switch header type pre_l2 for cnxk.
pre_l2 headers are custom headers placed before the ethernet
header. Along with switch header type, user needs to provide the
offset within the custom header that holds the size of the
custom header and mask for the size within the size offset.

Signed-off-by: Kiran Kumar K <kirankumark@marvell.com>
Reviewed-by: Satheesh Paul <psatheesh@marvell.com>
doc/guides/nics/cnxk.rst
drivers/common/cnxk/hw/npc.h
drivers/common/cnxk/roc_mbox.h
drivers/common/cnxk/roc_nix.h
drivers/common/cnxk/roc_nix_ops.c
drivers/common/cnxk/roc_npc.h
drivers/net/cnxk/cnxk_ethdev.c
drivers/net/cnxk/cnxk_ethdev_devargs.c