diff options
author | Rick Farrington <ricardo.farrington@cavium.com> | 2018-07-13 12:50:21 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-16 14:02:00 -0700 |
commit | ac13d6d8eaded15c67265eafc32f439ea3a0ac4a (patch) | |
tree | 7bd9b6107cb7cebc1246cfcc5c93e0960cf09046 /include | |
parent | 7e2bc7fb65d544bb8598a0ab64e40ee9c60ded6e (diff) | |
download | linux-ac13d6d8eaded15c67265eafc32f439ea3a0ac4a.tar.gz linux-ac13d6d8eaded15c67265eafc32f439ea3a0ac4a.tar.bz2 linux-ac13d6d8eaded15c67265eafc32f439ea3a0ac4a.zip |
liquidio: fix hang when re-binding VF host drv after running DPDK VF driver
When configuring SLI_PKTn_OUTPUT_CONTROL, VF driver was assuming that IPTR
mode was disabled by reset, which was not true. Since DPDK driver had
set IPTR mode previously, the VF driver (which uses buf-ptr-only mode) was
not properly handling DROQ packets (i.e. it saw zero-length packets).
This represented an invalid hardware configuration which the driver could
not handle.
Signed-off-by: Rick Farrington <ricardo.farrington@cavium.com>
Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions