02/02/2023 13:45, Ferruh Yigit:
> --- a/lib/ethdev/rte_flow.h
> +++ b/lib/ethdev/rte_flow.h
> @@ -642,8 +642,8 @@ struct rte_flow_item_higig2_hdr {
>  static const struct rte_flow_item_higig2_hdr rte_flow_item_higig2_hdr_mask = 
> {
>       .hdr = {
>               .ppt1 = {
> -                     .classification = 0xffff,
> -                     .vid = 0xfff,
> +                     .classification = RTE_BE16(0xffff),
> +                     .vid = RTE_BE16(0xfff),

0xffff could be UINT16_MAX



Reply via email to