misc: move osi to plugin 60/41360/6
authorHadi Rayan Al-Sandid <[email protected]>
Thu, 1 Aug 2024 15:10:54 +0000 (17:10 +0200)
committerBeno�t Ganne <[email protected]>
Thu, 22 Aug 2024 08:00:52 +0000 (08:00 +0000)
commit8629336fa502b5859ed46bcc1976c824470092b3
tree72c5757fba8d7009111a24cd6f814cf13b386bec
parent85ce93160fa71c5e6fb9140704c07e6d8989889d
misc: move osi to plugin

Type: refactor

This patch moves osi into a plugin, and also modifies
the init functions of llc and snap to preserve init
order dependency (llc_init --> osi_init --> snap_init).

While the initial intent was to move osi/llc/snap together
into a single plugin, there exists a dependency on llc
in vnet/ethernet, which would require further refactoring
and testing work.

Change-Id: Ic0eff030ee29c8d316c0e0fe13931451aa193527
Signed-off-by: Hadi Rayan Al-Sandid <[email protected]>
12 files changed:
docs/spelling_wordlist.txt
src/plugins/osi/CMakeLists.txt [new file with mode: 0644]
src/plugins/osi/FEATURE.yaml [new file with mode: 0644]
src/plugins/osi/node.c [moved from src/vnet/osi/node.c with 99% similarity]
src/plugins/osi/osi.c [moved from src/vnet/osi/osi.c with 95% similarity]
src/plugins/osi/osi.h [moved from src/vnet/osi/osi.h with 100% similarity]
src/plugins/osi/pg.c [moved from src/vnet/osi/pg.c with 99% similarity]
src/plugins/osi/plugin.c [new file with mode: 0644]
src/vnet/CMakeLists.txt
src/vnet/llc/llc.c
src/vnet/llc/node.c
src/vnet/snap/snap.c