[PATCH v2] ethdev: prefer offload names in logs
Ferruh Yigit
ferruh.yigit at amd.com
Tue Jun 13 18:37:50 CEST 2023
On 6/13/2023 2:24 PM, David Marchand wrote:
> Displaying a bitmask is terrible for users.
> Prefer offload names when refusing some offloads in
> rte_eth_dev_configure.
>
> Before:
> Ethdev port_id=0 requested Rx offloads 0x621 doesn't match Rx offloads
> capabilities 0x0 in rte_eth_dev_configure()
>
> After:
> Ethdev port_id=0 does not support Rx offloads VLAN_STRIP,QINQ_STRIP,VLAN_FILTER,VLAN_EXTEND
> Ethdev port_id=0 was requested Rx offloads VLAN_STRIP,QINQ_STRIP,VLAN_FILTER,VLAN_EXTEND
> Ethdev port_id=0 supports Rx offloads none
>
> Signed-off-by: David Marchand <david.marchand at redhat.com>
>
Reviewed-by: Ferruh Yigit <ferruh.yigit at amd.com>
Applied to dpdk-next-net/main, thanks.
More information about the dev
mailing list