50ce3e7aec
Currently, there is a potential problem that calling the API function rte_eth_dev_set_vlan_offload to start VLAN hardware offloads which the driver does not support. If the PMD driver does not support certain VLAN hardware offloads and does not check for it, the hardware setting will not change, but the VLAN offloads in dev->data->dev_conf.rxmode.offloads will be turned on. It is supposed to check the hardware capabilities to decide whether the relative callback needs to be called just like the behavior in the API function named rte_eth_dev_configure. And it is also needed to cleanup duplicated checks which are done in some PMDs. Also, note that it is behaviour change for some PMDs which simply ignore (with error/warning log message) unsupported VLAN offloads, but now it will fail. Fixes: |
||
---|---|---|
.. | ||
base | ||
fm10k_ethdev.c | ||
fm10k_logs.h | ||
fm10k_rxtx_vec.c | ||
fm10k_rxtx.c | ||
fm10k.h | ||
Makefile | ||
meson.build | ||
rte_pmd_fm10k_version.map |