dpdk-16.04 example demo and internal implementation analysis of monitoring uio file to detect interrupt
preface
stay Eal:Error reading from file descriptor 33: Input/output error In this article, I described the problem of printing Input/output error when dpdk program in VMWARE environment uses 82545EM virtual network card.
This problem was finally solved by modifying igb_uio code repair, after repair, I can't help thinking about how user mode ...
Added by pl_harish on Sun, 06 Mar 2022 10:41:20 +0200
Full handwritten NettyIO model
preface
The last chapter introduces the development process and practical application of Io. When talking about the multithreading model of multiplexer, I have gone through it. This chapter will supplement here, and then go to Netty's IO model. Finally, the idea will be realized through code.
1, Introduce
In the previous chapter, a multiplex ...
Added by mcmuney on Sat, 22 Jan 2022 23:07:30 +0200
High concurrency learning in Linux -- reactor implementation of epoll
Reactor mode
At present, the mainstream network communication libraries, such as libevent of C/C + + and Netty of Java, use reactor mode. Reactor pattern is a design pattern of event processing. After I/O requests arrive, the service handler uses I/O reuse technology to synchronously send these requests to the relevant request handlers. How to ...
Added by slibob on Wed, 29 Dec 2021 13:02:58 +0200
Multiplexer epoll
epoll related system calls
#include <sys/epoll.h>
int epoll_create(int size);
epoll_create creates an epoll model and returns a file descriptor pointing to the epoll model.Parameter is deprecated and reserved for compatibility. Fill in at will.The file descriptor is returned successfully, and - 1 is returned for failure.
int e ...
Added by mjs87 on Sun, 05 Dec 2021 13:05:54 +0200
Eal:Error reading from file descriptor 33: Input/output error
Problem description
In VMWARE virtual machine, 82545EM virtual network card is bound with IGB_ After UIO, run the dpdk program, which always has the following alarm information:
Eal:Error reading from file descriptor 33: Input/output error
The dpdk version used is 16.04 and the program is l2fwd.
problem analysis
1. dpdk internal code
Co ...
Added by hostfreak on Sun, 21 Nov 2021 05:40:22 +0200