Gatekeeper

[Debug] Vagrant vm setup – 3

Problem The following lines are not fatal error but still needed to be solved

    Approach 1. The network adapter is incorrectly assigned and I will match the device accordingly in the provision.sh Since we are able to ssh into the vagrant, we can check the interface mapping by

The content of interface mapping file

Which…

Continue Reading

Gatekeeper

[Debug] Vagrant vm setup – 2

Problem The memory allocation failed during the vagrant up –provision

    Approach 1. As we are using the cloud image from vagrant, the kernel contains the minimal dependencies, therefore, some modules required are missing.  I will append the linux-generic to the provision.sh to ensure the modules uio and uio_pci_generic are corrected configured. Result: The following two lines are…

Continue Reading

Gatekeeper

[Debug] Vagrant vm setup – 1

Problem I’m trying to create the virtual machine using vagrant for the dpdk, however, the screen was freezing at this period of vagrant up

  Approach 1. Making sure the conflicts is not caused by the conflicts of version between vagrant and virtual box. Result: I have downloaded the archive of both software and do a mix and match. However, the…

Continue Reading

Gatekeeper

[Method]alloc_and_fill_notify_pkt

Depending on the ethertype, by using rte_pktmbuf_append, the following component will be packed into the packet accordingly.   static inline char *rte_pktmbuf_append(struct rte_mbuf *m, uint16_t len) It takes the memory buffer and the its length. It returns the pointer to tail after the insertion of data.   notify_pkt is composed by: link layer header ipv4/ipv6 header udp header ggu_common header

C, Gatekeeper, Linux

Gatekeeper [Network setup]

DPDK(network setup) Add two virtual network interfaces in settings in Virtual Box

Check if the network interfaces have been successfully mapped into lua/if_map.lua

  Check the network devices status using dpdk-devbind.py under gatekeeper/dependencies/dpdk/tools

Load the module vfio-pci /  uio_pci_generic

 

C++, My Portfolio

SkillTree Simulator

Language & platform: C++, Qt 5.7.0 Project setup + UML design + Wireframe + User interface Credit to Billy and Sawa Setup of project environment   Installing Qt 1.  Clone the Qt mini (patched version)

  2. Unzip the file. And put only the “Qt_mini” folder into “C:\”   3. Create two environment variables: QTDIR : C:\Qt_mini\msvc2015_64 QT_QPA_PLATFORM_PLUGIN_PATH : %QTDIR%\plugins\platforms\  …

Continue Reading