summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorArtem Glazychev <artem.glazychev@xored.com>2023-11-02 19:47:23 +0700
committerDamjan Marion <dmarion@0xa5.net>2023-11-07 14:03:01 +0000
commit29d07dbef986dd5ebe180b6bfcac9089946e95df (patch)
treeffc547aff58196d8cd16e3e425bf10dc07f6bbfa /src/vnet
parentdab1dfeea9fec04a9a90a82dc5d770fbff344540 (diff)
af_packet: remove UNIX_FILE_EVENT_EDGE_TRIGGERED flag
af_packet does not process data until the interface is UP. If after interface creation, but before it is UP, the host interfaces are flooded, then blocking case may occur - VPP interface will never be able to process the data. If the EDGE_TRIGGERED flag is set, the event will not arrive, because nothing new is happening anymore (probably because the queue is already full). Therefore, we need to use LEVEL_TRIGGERED (default value), which indicates that there is still unprocessed data (accumulated after interface creation, but before it was UP). Type: fix Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> Change-Id: Ied459fd194149d09f226bcb0a5907b3e327b148a
Diffstat (limited to 'src/vnet')
0 files changed, 0 insertions, 0 deletions