Extend the paravirtualized per-host type offloads with infrastructure
that allows arbitrary modules to plug into the framework. This closely
resembles the offload register/unregister callbacks that were present in
versions R3.1 and R4.1, with the addition of dpdk support (under Linux).
RCU is used to ensure integrity of the offload structure upon
plugging/unplugging. The registration interface exposes symbols when
building the vrouter kernel module. A framework for user space plugging
is not yet available, but dynamic loading could be used to achieve this.
Reviewed: https:/ /review. opencontrail. org/47035 github. com/Juniper/ contrail- vrouter/ commit/ 923c9882d05f968 00030858cdea0f2 05fc44f258
Committed: http://
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master
commit 923c9882d05f968 00030858cdea0f2 05fc44f258
Author: Frik Botha <email address hidden>
Date: Thu Nov 15 16:46:06 2018 +0200
dp-core: Add dynamic offload module registration
Extend the paravirtualized per-host type offloads with infrastructure
that allows arbitrary modules to plug into the framework. This closely
resembles the offload register/unregister callbacks that were present in
versions R3.1 and R4.1, with the addition of dpdk support (under Linux).
RCU is used to ensure integrity of the offload structure upon unplugging. The registration interface exposes symbols when
plugging/
building the vrouter kernel module. A framework for user space plugging
is not yet available, but dynamic loading could be used to achieve this.
Change-Id: Ifa2ea8af5b0abf eb4e732a4f68d48 cf42bd8739f f4ad2476610ba01 3b80aa83ce0
Depends-On: Ieb451b6374918e
Partial-Bug: #1767107
Signed-off-by: Frik Botha <email address hidden>