commit | 45019a180358c3cf290c3f3dc953c44f978d5527 | [log] [tgz] |
---|---|---|
author | Michael Chan <mchan@broadcom.com> | Sun Dec 27 18:19:22 2015 -0500 |
committer | David S. Miller <davem@davemloft.net> | Mon Dec 28 00:57:28 2015 -0500 |
tree | 6fe75b32b4175467b2472330aed1ce492d47bb32 | |
parent | 665e350ddbfde88c5c18142dfd7b8c64556bc964 [diff] |
bnxt_en: Allocate rx_cpu_rmap only if Accelerated RFS is enabled. Also, no need to check for bp->rx_nr_rings as it is always >= 1. If the allocation fails, it is not a fatal error and we can still proceed. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>