Set of Experiments for Lambda NIC project
rmmod nfp
modprobe nfp nfp_dev_cpp=1 or insmod nfp nfp_dev_cpp=1
nfp-nffw unload -n 0
systemctl start nfp-sdk6-rte
/opt/netronome/p4/bin/rtecli design-unload
/opt/netronome/p4/bin/rtecli design-load -f AgilioCX.nffw -p out/pif_design.json -c simple_server.p4cfg
lambda_nic/tools/run_ethtool_worker.sh vf0_1
First go to the folder where the p4
and the c
file is located.
nfp4build -p ./out/ -o AgilioCX.nffw -l hydrogen -4 <filename>.p4 -c <filename>.c
- Make sure to check
/opt/nfp_pif/scripts/pif_ctl_nfd.sh
and change the base MAC for vfs. (Check this when you see ICMP reroutes too)