net/mlx5: fix E-Switch egress mirror flow validation
[dpdk.git] / drivers / net / bnxt / tf_ulp / ulp_mapper.h
index 0595d15..4ce19cc 100644 (file)
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2014-2019 Broadcom
+ * Copyright(c) 2014-2021 Broadcom
  * All rights reserved.
  */
 
@@ -78,6 +78,7 @@ struct bnxt_ulp_mapper_parms {
        struct bnxt_ulp_device_params           *device_params;
        uint32_t                                parent_fid;
        uint32_t                                parent_flow;
+       uint8_t                                 tun_idx;
 };
 
 struct bnxt_ulp_mapper_create_parms {
@@ -98,6 +99,7 @@ struct bnxt_ulp_mapper_create_parms {
        uint32_t                        parent_fid;
        /* if set then create a parent flow */
        uint32_t                        parent_flow;
+       uint8_t                         tun_idx;
 };
 
 /* Function to initialize any dynamic mapper data. */