src/dpdk/drivers/net/bnxt/tf_ulp/ulp_rte_parser.c
static void
ulp_rte_l4_proto_type_update(struct ulp_rte_parser_params *param,
			     uint16_t dst_port)
{
	if (dst_port == tfp_cpu_to_be_16(ULP_UDP_PORT_VXLAN)) {
		ULP_BITMAP_SET(param->hdr_fp_bit.bits,
			       BNXT_ULP_HDR_BIT_T_VXLAN);
		ULP_COMP_FLD_IDX_WR(param, BNXT_ULP_CF_IDX_L3_TUN, 1);
	}
}
/* Function to handle the update of proto header based on field values */
Function to handle the update of proto header based on field values
Function to handle the update of proto header based on field values
static void
ulp_rte_l4_proto_type_update(struct ulp_rte_parser_params *param,
			     uint16_t dst_port)
{
	if (dst_port == tfp_cpu_to_be_16(ULP_UDP_PORT_VXLAN)) {
		ULP_BITMAP_SET(param->hdr_fp_bit.bits,
			       BNXT_ULP_HDR_BIT_T_VXLAN);
		ULP_COMP_FLD_IDX_WR(param, BNXT_ULP_CF_IDX_L3_TUN, 1);
	}
}
static void ulp_rte_l4_proto_type_update ( struct ulp_rte_parser_params * param , uint16_t dst_port ) { if ( dst_port == tfp_cpu_to_be_16 ( ULP_UDP_PORT_VXLAN ) ) { ULP_BITMAP_SET ( param -> hdr_fp_bit . bits , BNXT_ULP_HDR_BIT_T_VXLAN ) ; ULP_COMP_FLD_IDX_WR ( param , BNXT_ULP_CF_IDX_L3_TUN , 1 ) ; } }
Function to handle the update of proto header based on field values
Function to handle the update of proto header based on field values