[dpdk-stable] [PATCH] net/bnxt: fix tunnel port accounting

Ajit Khaparde ajit.khaparde at broadcom.com
Wed Sep 29 07:18:04 CEST 2021


On Mon, Sep 27, 2021 at 3:48 PM Ajit Khaparde
<ajit.khaparde at broadcom.com> wrote:
>
> Fix the tunnel port counting logic.
> Currently we are incrementing the port count without checking
> the if bnxt_hwrm_tunnel_dst_port_alloc would return success or failure.
> Modify the logic to increment it only if the firmware returns success.
>
> Fixes: 10d074b2022d ("net/bnxt: support tunneling")
> Cc: stable at dpdk.org
>
> Signed-off-by: Ajit Khaparde <ajit.khaparde at broadcom.com>
> Reviewed-by: Lance Richardson <lance.richardson at broadcom.com>
Patch applied to dpdk-next-net-brcm.


More information about the stable mailing list