On 8/20/2020 2:42 AM, Wei Hu (Xavier) wrote:
> From: Chengchang Tang <[email protected]>
> 
> When failing to configure VLAN offloads after the port was started, there
> is no need to update the port configuration. Currently, when user
> configure an unsupported VLAN offloads and fails, and then restart the
> port, it will fails since the configuration has been refreshed.
> 
> This patch makes the function return directly insead of refreshing the
> configuration when execution fails.
> 
> Fixes: 384161e00627 ("app/testpmd: adjust on the fly VLAN configuration")
> Cc: [email protected]
> 
> Signed-off-by: Chengchang Tang <[email protected]>
> Signed-off-by: Wei Hu (Xavier) <[email protected]>

Reviewed-by: Ferruh Yigit <[email protected]>

Reply via email to