commit | 3c4fe80b32c685bdc02b280814d0cfe80d441c72 | [log] [tgz] |
---|---|---|
author | Michael Chan <michael.chan@broadcom.com> | Fri Mar 09 23:46:10 2018 -0500 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 12 10:58:12 2018 -0400 |
tree | 01963ca442fafdee84662850f213fc4c3428e797 | |
parent | 1a037782e79047ec3386d8ba94c103cbdfb851d0 [diff] |
bnxt_en: Check valid VNIC ID in bnxt_hwrm_vnic_set_tpa(). During initialization, if we encounter errors, there is a code path that calls bnxt_hwrm_vnic_set_tpa() with invalid VNIC ID. This may cause a warning in firmware logs. Fixes: c0c050c58d84 ("bnxt_en: New Broadcom ethernet driver.") Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>