diff options
author | Mohammed Hawari <mohammed@hawari.fr> | 2021-03-18 12:02:08 +0100 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2021-03-18 16:35:32 +0000 |
commit | 34c54dff5c66f9a4aef77daf08219301e15cc1fa (patch) | |
tree | 622dcfcedbd679e4ffed8278713374c7e2183f8b /src/vnet/interface_funcs.h | |
parent | aa7a2a1f32c9a91ea1ba04aa661b6ccddac2a79f (diff) |
dpdk: don't mask interrupts for some drivers
It is well known that for some NICs, masking
interrupts results in delaying desc writebacks,
which breaks poll mode. This fix introduces an
"int-unmaskable" dpdk device flag to identify such
devices (typically Intel FVL). For such devices,
interrupts are masked by a call to
file_update(...,UNIX_FILE_UPDATE_DELETE) instead
of rte_eth_dev_rx_intr_disable (...)
Change-Id: Ifbc701aebe8572319b7aae19382bd683a47fc3cf
Type: fix
Fixes: 19ff0c3699342b512c03362b3815df684a661f49
Signed-off-by: Mohammed Hawari <mohammed@hawari.fr>
Diffstat (limited to 'src/vnet/interface_funcs.h')
0 files changed, 0 insertions, 0 deletions