src/dpdk/drivers/net/bnxt/tf_ulp/ulp_rte_parser.c
static void
ulp_rte_prsr_mask_copy(struct ulp_rte_parser_params *params,
		       uint32_t *idx,
		       const void *buffer,
		       uint32_t size)
{
	struct ulp_rte_hdr_field *field = &params->hdr_field[*idx];

	memcpy(field->mask, buffer, size);
	ulp_rte_parser_field_bitmap_update(params, *idx);
	*idx = *idx + 1;
}
/* Utility function to copy field masks items */
Utility function to copy field masks items
Utility function to copy field masks items
static void
ulp_rte_prsr_mask_copy(struct ulp_rte_parser_params *params,
		       uint32_t *idx,
		       const void *buffer,
		       uint32_t size)
{
	struct ulp_rte_hdr_field *field = &params->hdr_field[*idx];
	memcpy(field->mask, buffer, size);
	ulp_rte_parser_field_bitmap_update(params, *idx);
	*idx = *idx + 1;
}
static void ulp_rte_prsr_mask_copy ( struct ulp_rte_parser_params * params , uint32_t * idx , const void * buffer , uint32_t size ) { struct ulp_rte_hdr_field * field = & params -> hdr_field [ * idx ] ; memcpy ( field -> mask , buffer , size ) ; ulp_rte_parser_field_bitmap_update ( params , * idx ) ; * idx = * idx + 1 ; }
Utility function to copy field masks items
Utility function to copy field masks items