2014-10-22 09:01, Jingjing Wu:
> extend fdir field to support flex bytes reported when fdir match

The commit log should explain why it is required (i40e?).
It will help to understand when digging into git history of mbuf file.

> --- a/lib/librte_mbuf/rte_mbuf.h
> +++ b/lib/librte_mbuf/rte_mbuf.h
> @@ -171,8 +173,14 @@ struct rte_mbuf {
>       union {
>               uint32_t rss;     /**< RSS hash result if RSS enabled */
>               struct {
> -                     uint16_t hash;
> -                     uint16_t id;
> +                     union {
> +                             struct {
> +                                     uint16_t hash;
> +                                     uint16_t id;
> +                             };
> +                             uint32_t lo; /**< flexible bytes low*/
> +                     };
> +                     uint32_t hi;         /**< flexible bytes high*/
>               } fdir;           /**< Filter identifier if FDIR enabled */

Please explain what could be the data of "flexible bytes high".

-- 
Thomas

Reply via email to