diff options
author | Vamsi Attunuru <vamsi.attunuru@marvell.com> | 2018-10-22 20:55:56 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-23 06:15:38 +0300 |
commit | d02913d91657941a86208691258837a0fe9a4cd7 (patch) | |
tree | 889db16daf08da007d408651cec03419a8210fd4 /drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h | |
parent | 4b05528ebf0c3ffd61543cfcca78844f05d8eb9d (diff) | |
download | linux-d02913d91657941a86208691258837a0fe9a4cd7.tar.xz |
octeontx2-af: Support for VTAG strip and capture
Added support for PF/VF drivers to configure NIX to
capture and/or strip VLAN tag from ingress packets.
Signed-off-by: Vamsi Attunuru <vamsi.attunuru@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h')
-rw-r--r-- | drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h b/drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h index c331b237a26f..bb2836e18dd0 100644 --- a/drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h +++ b/drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h @@ -879,4 +879,9 @@ struct nix_lso_format { #endif }; +/* NIX VTAG size */ +enum nix_vtag_size { + VTAGSIZE_T4 = 0x0, + VTAGSIZE_T8 = 0x1, +}; #endif /* RVU_STRUCT_H */ |