]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
msg/async/Event: add DPDKDriver type to allow userspace event
authorHaomai Wang <haomai@xsky.com>
Tue, 2 Aug 2016 16:10:42 +0000 (00:10 +0800)
committerHaomai Wang <haomai@xsky.com>
Wed, 9 Nov 2016 03:39:20 +0000 (11:39 +0800)
commit009d06194b46af735111da7c98268827ed8a5f4a
treece01178672dec7c73a565535972e50a5ed41bc49
parenteae7d5a6450aba35ff88e6667c5f2bcca51fe6f8
msg/async/Event: add DPDKDriver type to allow userspace event

Like epoll, kqueue, select, dpdk backend also need to allow notify EventCenter
when a connection is ready to read/write. So we need to let DPDKStack can kick
EventCenter. DPDKDriver which introduced UserspaceEvent to simulate epoll
event achieve the goal.

Signed-off-by: Haomai Wang <haomai@xsky.com>
src/msg/async/Event.cc
src/msg/async/Event.h
src/msg/async/EventEpoll.cc
src/msg/async/EventEpoll.h
src/msg/async/EventKqueue.cc
src/msg/async/EventKqueue.h
src/msg/async/EventSelect.cc
src/msg/async/EventSelect.h