src/dpdk/drivers/net/bnxt/tf_ulp/ulp_tun.c
static int32_t
ulp_post_process_inner_tun_flow(struct ulp_rte_parser_params *params,
				struct bnxt_tun_cache_entry *tun_entry)
{
	memcpy(&params->hdr_field[ULP_TUN_O_DMAC_HDR_FIELD_INDEX],
	       tun_entry->t_dmac, RTE_ETHER_ADDR_LEN);

	params->parent_fid = tun_entry->outer_tun_flow_id;

	return BNXT_TF_RC_NORMAL;
}
/* This function will be called if inner tunnel flow request comes after
 * the outer tunnel flow request.
 */
This function will be called if inner tunnel flow request comes after
the outer tunnel flow request.
This function will be called if inner tunnel flow request comes after the outer tunnel flow request .
static int32_t
ulp_post_process_inner_tun_flow(struct ulp_rte_parser_params *params,
				struct bnxt_tun_cache_entry *tun_entry)
{
	memcpy(&params->hdr_field[ULP_TUN_O_DMAC_HDR_FIELD_INDEX],
	       tun_entry->t_dmac, RTE_ETHER_ADDR_LEN);
	params->parent_fid = tun_entry->outer_tun_flow_id;
	return BNXT_TF_RC_NORMAL;
}
static int32_t ulp_post_process_inner_tun_flow ( struct ulp_rte_parser_params * params , struct bnxt_tun_cache_entry * tun_entry ) { memcpy ( & params -> hdr_field [ ULP_TUN_O_DMAC_HDR_FIELD_INDEX ] , tun_entry -> t_dmac , RTE_ETHER_ADDR_LEN ) ; params -> parent_fid = tun_entry -> outer_tun_flow_id ; return BNXT_TF_RC_NORMAL ; }
This function will be called if inner tunnel flow request comes after
 the outer tunnel flow request.
This function will be called if inner tunnel flow request comes after the outer tunnel flow request .