-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for CNDP(Cloud Native Data Plane) port in BESS #2
Add support for CNDP(Cloud Native Data Plane) port in BESS #2
Conversation
@thakurajayL, question, do all files need to have license header? If so, license header needs to be added to all files in bessctl/conf/samples/cndp directory |
Yes all new files should have copyright. If existing files have seen changes then there also copyright should be updated with appropriate company name. |
But bess is new project and it may not have all copyright set. But at least let's make sure that newly added code has copyright set. |
@manojgop, as per @thakurajayL input, please add license header to all your files in the bessctl/conf/samples/cndp directory. |
3226b8a
to
6d5c808
Compare
Added and updated PR |
0d612a7
to
ef5cef8
Compare
@manojgop, a few updates/changes were pushed to the BESS and UPF repos. So, please make sure your changes are up to date. |
ef5cef8
to
3a51a5e
Compare
I have rebased this PR with latest changes. There are no conflicts. |
3a51a5e
to
caa9b45
Compare
@manojgop, I think you need to rebase your fork and/or branch because there are several commits that have been added to BESS repo in the past few weeks. |
caa9b45
to
802c969
Compare
@manojgop can you please rebase your |
7e29c0e
to
0cbe145
Compare
Just did. workflows awaiting approval |
Thanks... workflows are running now. |
The workflow for checking Protobuf format failed. Please check that using |
0cbe145
to
b826607
Compare
@gab-arrobo I'm seeing a clang-format error in |
Let me check tomorrow and get back to you. |
Did you run clang-format-12? This seems to be the problem: diff --git a/protobuf/ports/port_msg.proto b/protobuf/ports/port_msg.proto
index 4fb9160c..d2b9b175 100644
--- a/protobuf/ports/port_msg.proto
+++ b/protobuf/ports/port_msg.proto
@@ -52,9 +52,7 @@ message PMDPortArg {
bool vlan_offload_rx_strip = 5;
bool vlan_offload_rx_filter = 6;
bool vlan_offload_rx_qinq = 7;
- oneof socket {
- int32 socket_id = 8;
- }
+ oneof socket { int32 socket_id = 8; }
bool promiscuous_mode = 9;
bool hwcksum = 10;
|
clang-format version in my system is 14. |
46843c4
to
4d532b3
Compare
4d532b3
to
88cf516
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
@thakurajayL @badhrinathpa, please try to take a look at this PR. Everything looks good to me |
88cf516
to
fb04b15
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
fb04b15
to
5d17fcb
Compare
- CNDP BESS port to send/receive n/w packets using AF_XDP socket. - Modify Bess core Makefile to build CNDP port driver. - Dockerfile to build BESS with CNDP. - Add "CndpPortArg" in port_msg.proto file to initialize Bess CNDP port. - Use external BESS PacketPool (rte_mempool/rte_mbuf) with CNDP xskdev. - Example scripts to test Bess CNDP port. - ReadMe file to build docker image and run BESS CNDP example scripts. - GitHub Action for running CNDP tests. Signed-off-by: Manoj Gopalakrishnan <manoj.gopalakrishnan@intel.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
…the `master` branch (#21) * Upgrade DPDK to 20.11 - address memseg and mbuf changes - move to meson/ninja build system Signed-off-by: Saikrishna Edupuganti <saikrishna.edupuganti@intel.com> * Update DPDK version to 20.11.3 ice ddp loading seems reliable when using a PF with this version Signed-off-by: Saikrishna Edupuganti <saikrishna.edupuganti@intel.com> * Allow override of base image with IMAGE IMAGE="ghcr.io/omec-project/upf-epc/bess_build" \ ./container_build.py shell Signed-off-by: Saikrishna Edupuganti <saikrishna.edupuganti@intel.com> * Use focal base image Signed-off-by: Saikrishna Edupuganti <saikrishna.edupuganti@intel.com> * 0001-Add-2-workers-support-to-Nat-module * 0002-Use-same-rss-key-across-interfaces * 0003-Add-FIB-routing-support-in-IPLookup-module * 0004-IOVA-mode-correction * 0005-Expose-PMDPort-socket-memory-allocation * 0006-Add-switch-for-promiscuous-mode * 0008-Enable-hardware-checksum-offload * 0009-Adding-value-attributes-to-ExactMatch-WildcardMatch * 0010-Add-hardware-rx-checksum-offload-option-for-checksum * 0011-Protobuf-update-to-new-module-messages * 0012-Dpdk-concurrent-hash-support-pipeline-improvement * 0013-Use-rte_flow_create-to-do-GTPU-RSS * 0014-Add-ice-iavf-to-list-of-drivers-need-SW-port-stats * 0015-Protobuf-changes-for-Qos * 0016-Newer-versions-require-go_package-stated-in-proto * 0017-Make-table-sizes-configurable * 0017-QoS-Measure * 0018-Increase-max-tuple-num * 0019-GUI-dot-module-name-quote * Removed deprecated DPDK options/functions * Remove unnecesary `endl` * Fix a couple typos * Remove unused variables * No need to use `move` * Improve code * Fix Doxygen for AddMetadataAttr method * Bring DPDK patch from UPF * Move BESS-related files to BESS repo * Bring BESS scripts from UPF repo * Update links to reference ONF's BESS * Remove unnecesary `endl` in loggings * Fix stringstream * Fix format in files * Add override keyword and remove unused attribute * Ubuntu Focal includes this package * Update CXXFLAGS to work with g++ and clang * Explicitily include server_builder.h * Temporarily disabling some tests due to changes made in UPF. Need to address the issues one by one * Add missing header file <linux/ethtool.h> * Use `bytes` for the scapy packets due to problems when using `str` * Moving to python3 due to Python2 EOL These changes are needed to be able to build and test bess with GitHub Actions * Use ghcr.io/omec-project/upf-epc/bess_build for the BESS dependencies This bess_build includes the changes needed to build DPDK 20.11 * Add GitHub Action that will trigger the Build and Test process Additionally, remove Travis.yml file that is not needed anymore * Create pull_request.yaml * Update README.md test the workflow * Remove unnecessary file * Update sugar.py * Action for dependabot and check license/copyright (#14) * Action for dependabot and check license/copyright * Remove empty line * Add empty line at end of file * Add GitHub Action for checking code format (C/C++ and Protobuf) (#15) * Add GitHub Action for checking code format (C/C++ and Protobuf) * Update GitHub Action to only remove the OS from the matrix * Address issues with format compliance for protobuf files * Add missing file that was not formatted * Update parameters for GitHub Action * Add missing license/copyright header and add an exception * Refactor define for the GTPu header (#16) * Update GitHub Action to build docker image locally (#18) - Update GitHub Actions to build docker image locally during pull request - Use protobuf version 3.20 to fix errors in generated _pb2.py file Signed-off-by: Manoj Gopalakrishnan <manoj.gopalakrishnan@intel.com> * Add support for CNDP(Cloud Native Data Plane) port in BESS. (#2) - CNDP BESS port to send/receive n/w packets using AF_XDP socket. - Modify Bess core Makefile to build CNDP port driver. - Dockerfile to build BESS with CNDP. - Add "CndpPortArg" in port_msg.proto file to initialize Bess CNDP port. - Use external BESS PacketPool (rte_mempool/rte_mbuf) with CNDP xskdev. - Example scripts to test Bess CNDP port. - ReadMe file to build docker image and run BESS CNDP example scripts. - GitHub Action for running CNDP tests. Signed-off-by: Manoj Gopalakrishnan <manoj.gopalakrishnan@intel.com> * Build new image taking into account new dependencies (e.g., CNDP) (#22) * Fix typo (#17) * Enable GTPu path monitoring (#19) * Enable GTPu path monitoring * Update pktbatch.h (#24) --------- Signed-off-by: Saikrishna Edupuganti <saikrishna.edupuganti@intel.com> Signed-off-by: Manoj Gopalakrishnan <manoj.gopalakrishnan@intel.com> Co-authored-by: Saikrishna Edupuganti <saikrishna.edupuganti@intel.com> Co-authored-by: Ajay Lotan Thakur <ajay@opennetworking.org> Co-authored-by: Ajay Lotan Thakur <thakur.ajay@gmail.com> Co-authored-by: Amol Jaikar <111894366+amolonf@users.noreply.github.com> Co-authored-by: Badhrinath <badhrinath.pa@gmail.com> Co-authored-by: manojgop <manoj.gopalakrishnan@intel.com>
Signed-off-by: Manoj Gopalakrishnan manoj.gopalakrishnan@intel.com