Skip to content

add skeleton code for Gatekeeper#1

Merged
AltraMayor merged 3 commits intoAltraMayor:masterfrom
cjdoucette:master
Sep 1, 2016
Merged

add skeleton code for Gatekeeper#1
AltraMayor merged 3 commits intoAltraMayor:masterfrom
cjdoucette:master

Conversation

@cjdoucette
Copy link
Collaborator

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.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants