diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2017-03-25 01:01:42 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-25 05:28:55 +0300 |
commit | 13a8cd191a2b470cfd435b3b57dbd21aa65ff78c (patch) | |
tree | 2da8c4b5f6c70d03eabec73f4bc84d9bc1550ebe /tools | |
parent | 28ee1b746f493b7c62347d714f58fbf4f70df4f0 (diff) | |
download | linux-13a8cd191a2b470cfd435b3b57dbd21aa65ff78c.tar.xz |
i40e: Do not enable NAPI on q_vectors that have no rings
When testing the epoll w/ busy poll code I found that I could get into a
state where the i40e driver had q_vectors w/ active NAPI that had no rings.
This was resulting in a divide by zero error. To correct it I am updating
the driver code so that we only support NAPI on q_vectors that have 1 or
more rings allocated to them.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions