On 3/27/20 5:29 PM, Tom Barbette wrote: > Hi all, > > It seems rte_flow_item_eth takes its ethertype in host byte order with > i40e, but in network byte order with mlx5.
If so, it is definitely bug in i40e, since struct rte_flow_item_eth defines type as rte_be16_t type. > Wouldn't it be nice to unify that? Else is there a way to know in which > byte order the spec should be given? I guess that expands to all fields, > but I only compared the ethertype field. > > Thanks, > > Tom