diff options
author | Jakub Grajciar <jgrajcia@cisco.com> | 2021-01-04 11:10:42 +0100 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2021-09-27 14:35:45 +0000 |
commit | 134f1e02251b27ad73c3ff4591954c2e0919c984 (patch) | |
tree | 30e84c2bea30ad760a6629a7b1d5843bdd7f8a7c /extras/rpm | |
parent | 45cf1fc3f58ee465d2e7e4689158e79fd706658e (diff) |
libmemif: refactor connection establishment
per_thread_ namespace fuctionality replaced by memif socket.
Interfaces are grouped by memif socket which holds interface database.
Each thread can create it's unique memif socket. The path name
can be equal across threads so that the app only uses one
UNIX socket. In case of listener socket, listener fd
can be obtained and set using APIs.
This change allows:
- No lookup on file descriptor events
- improves interrupt handling
- Loopback support (connect two interfaces in one app)
- usefull for debugging and testing
- Improves code readability by providing control channel
abstraction for each interface and listener sockets
Type: refactor
Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
Change-Id: I1b8261042431c0376646ab4c4c831f6e59dd3eed
Diffstat (limited to 'extras/rpm')
0 files changed, 0 insertions, 0 deletions