[dpdk-stable] [PATCH] common/sfc_efx/base: fix MPORT-related byte order handling

Ferruh Yigit ferruh.yigit at intel.com
Fri Jan 15 18:30:33 CET 2021


On 12/28/2020 3:00 AM, Ivan Malov wrote:
> MPORT values derived by helper functions are little-endian.
> At the same time, MCDIs which consume these values perform
> one more host-order to little-endian conversion internally.
> 
> Fix the helper functions to return host-order MPORT values.
> 
> Fixes: 370ed675a952 ("common/sfc_efx/base: support setting PPORT in match spec")
> Fixes: bb024542fffd ("common/sfc_efx/base: add API for adding action drop")
> Fixes: 097058033f03 ("common/sfc_efx/base: add API to get mport of PF/VF")
> Cc: stable at dpdk.org
> 
> Reported-by: Andy Moreton <amoreton at xilinx.com>
> Reviewed-by: Andy Moreton <amoreton at xilinx.com>
> Reviewed-by: Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>
> Signed-off-by: Ivan Malov <ivan.malov at oktetlabs.ru>

Applied to dpdk-next-net/main, thanks.



More information about the stable mailing list