Re: [dpdk-dev] [PATCH] net/mlx5: fix Tx metadata endianness in data path

2021-09-29 Thread Thomas Monjalon
27/09/2021 10:02, Bing Zhao: > The metadata can be set in the mbuf dynamic field and then used in > flow rules steering for egress direction. The hardware requires > network order for both the insertion of a rule and sending a packet. > Indeed, there is no strict restriction for the endianness. The

[dpdk-dev] [PATCH] net/mlx5: fix Tx metadata endianness in data path

2021-09-27 Thread Bing Zhao
The metadata can be set in the mbuf dynamic field and then used in flow rules steering for egress direction. The hardware requires network order for both the insertion of a rule and sending a packet. Indeed, there is no strict restriction for the endianness. The order for sending a packet and its s