[dpdk-dev] [PATCH v3 2/3] net/i40e: configurable PTYPE mapping

Wu, Jingjing jingjing.wu at intel.com
Fri Mar 24 10:55:25 CET 2017


> diff --git a/drivers/net/i40e/rte_pmd_i40e.h
> b/drivers/net/i40e/rte_pmd_i40e.h index a0ad88c..1e25270 100644
> --- a/drivers/net/i40e/rte_pmd_i40e.h
> +++ b/drivers/net/i40e/rte_pmd_i40e.h
> @@ -65,6 +65,13 @@ struct rte_pmd_i40e_mb_event_param {
>  	uint16_t msglen;   /**< length of the message */
>  };
> 
> +#define RTE_PMD_I40E_PTYPE_USER_DEFINE_MASK 0x80000000
> +

Could you add more comments to describe the MASK's meaning?
And what is user defined packet type, and what is the user defined packet type?


And what is the difference between update and replace map?


More information about the dev mailing list