net/bnxt: fix configuring LRO
authorKalesh AP <kalesh-anakkur.purayil@broadcom.com>
Fri, 2 Apr 2021 03:25:51 +0000 (08:55 +0530)
committerAjit Khaparde <ajit.khaparde@broadcom.com>
Wed, 7 Apr 2021 02:56:43 +0000 (04:56 +0200)
commite73fb98b69dffacb2c74e45807096ec597b88cae
tree2e6bed9ded4382e78ad69c96f0b9a747591e5a52
parent39a03b401e4a72a118bae60c5834be2b6913098e
net/bnxt: fix configuring LRO

While configuring LRO, driver should check the return value
of bnxt_hwrm_vnic_tpa_cfg() HWRM command and return error
when the FW command fails.

Fixes: 0958d8b6435d ("net/bnxt: support LRO")
Cc: stable@dpdk.org
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
drivers/net/bnxt/bnxt_ethdev.c