bnxt_en: Clear TPA flags when BNXT_FLAG_NO_AGG_RINGS is set.
authorMichael Chan <michael.chan@broadcom.com>
Fri, 13 Jan 2017 06:32:01 +0000 (01:32 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 14 Jan 2017 04:21:31 +0000 (23:21 -0500)
commit341138c3e6afa8e77f9f3e773d72b37022dbcee8
treeff622af7649a1c5b4546762e3784b2d29bab2d71
parentb742995445fbac874f5fe19ce2afc76c7a6ac2cf
bnxt_en: Clear TPA flags when BNXT_FLAG_NO_AGG_RINGS is set.

Commit bdbd1eb59c56 ("bnxt_en: Handle no aggregation ring gracefully.")
introduced the BNXT_FLAG_NO_AGG_RINGS flag.  For consistency,
bnxt_set_tpa_flags() should also clear TPA flags when there are no
aggregation rings.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c