add skeleton code for Gatekeeper#1
Merged
AltraMayor merged 3 commits intoAltraMayor:masterfrom Sep 1, 2016
Merged
Conversation
Add the DPDK code as a submodule, which is a reference the DPDK repository that has been modified to allow filtering on bonded interfaces.
Add a setup script to configure and build DPDK and a Makefile to build the gatekeeper application. Also add the starter file for gatekeeper, which currently just initializes the EAL and exits to show it can use the DPDK libraries. The README gives instructions on how to build DPDK and gatekeeper and configure the environment for hugepages and network adapters.
Add the skeleton code for each of the functional blocks, as well as a subdirectory for library functions that may be used by multiple blocks. Also add a directory for all includes that will be needed by the main Gatekeeper code. Adjust the Makefile to include all these files in the build process.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
These patches add the setup script and Makefile for Gatekeeper so that it is compiled with the DPDK libraries. It also adds a directory structure for the project -- one directory for each functional block, along with lib and include directories.
The entry point to the Gatekeeper program, in main/main.c, for now simply initializes the EAL to show interoperation with DPDK, and also invokes each functional block, which are at this point empty.
There are some other TODO tags added, such as to read in any configuration, set up shared state such as mailboxes, and figure out whether the instance of the program is running the Gatekeeper or Grantor algorithm. More specific TODOs should be added in future patches.
This is also a good time to change the directory structure, naming, etc.