On Mon, Sep 27, 2021 at 3:48 PM Ajit Khaparde
<[email protected]> 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: [email protected]
>
> Signed-off-by: Ajit Khaparde <[email protected]>
> Reviewed-by: Lance Richardson <[email protected]>
Patch applied to dpdk-next-net-brcm.

Reply via email to