-
Notifications
You must be signed in to change notification settings - Fork 93
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
[dpapp] Initial dpapp implementation being a vpp plugin #609
base: main
Are you sure you want to change the base?
Conversation
hi @jimmyzhai - is this ready to merge? Thank you! |
hi @jimmyzhai it looks like we have conflicts that need to be resolved please and thank you. |
d8ad578
to
0c62cf8
Compare
dash-pipeline/vpp-plugin/vpp.sh
Outdated
@@ -0,0 +1,17 @@ | |||
#!/bin/bash |
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.
also rename this file.
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.
done
e2c1a02
to
1ac27da
Compare
@@ -0,0 +1,11 @@ | |||
cmake_minimum_required(VERSION 3.5) |
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.
do you mind to add a README here to help people getting started on it?
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.
done
checking in @jimmyzhai - is this a lower priority in general? TY! |
just checking in :) |
1ac27da
to
527a726
Compare
I'm actively updating this PR now after #608 is merged. |
[like] Kristina Moore reacted to your message:
…________________________________
From: Junhua Zhai ***@***.***>
Sent: Wednesday, October 30, 2024 6:30:48 AM
To: sonic-net/DASH ***@***.***>
Cc: Kristina Moore ***@***.***>; Comment ***@***.***>
Subject: Re: [sonic-net/DASH] [dpapp] Initial dpapp implementation being a vpp plugin (PR #609)
just checking in :)
I'm actively updating this PR now after #608<#608> is merged.
—
Reply to this email directly, view it on GitHub<#609 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AFJSI6B6RQX6YTUMZWPPS2LZ6B4JRAVCNFSM6AAAAABLLAFHBOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBVHE3TOMJUGE>.
You are receiving this because you commented.Message ID: ***@***.***>
|
fb6bab2
to
765c873
Compare
hi @jimmyzhai - do you need help from @chrispsommers on this one? |
276617b
to
0b51e53
Compare
8f735d4
to
8031721
Compare
Found the cause. The runner is stopped due to |
21306ad
to
27c84a6
Compare
27c84a6
to
e0d5880
Compare
7ddc499
to
073d10d
Compare
e5e9af3
to
ea693a1
Compare
1. not enable dpdk_plugin.so, then not need hugepage allocation 2. Update NODE_FN dash_node to be simple
cae69c5
to
b52014d
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.
thanks Junhua for fixing the all the offline comments! I think there are a few more left that we have talked about but didn't change yet. I have left the comments there.
{ | ||
u32 n_left_to_next; | ||
|
||
vlib_get_next_frame (vm, node, next_index, to_next, n_left_to_next); |
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.
thanks a lot for fixing this giant loop!
return DASH_ERROR_OK; | ||
} | ||
|
||
VLIB_NODE_FN (dash_node) (vlib_main_t * vm, vlib_node_runtime_t * node, |
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.
do you mind to rename this file to dash_node.c?
VLIB_NODE_FN (dash_node) (vlib_main_t * vm, vlib_node_runtime_t * node, | ||
vlib_frame_t * frame) | ||
{ | ||
u32 n_left_from, *from, *to_next; |
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.
as we discussed last time, it will be better to give these variables more descriptive names: from/to/bi/b0 is way too vague for anyone to understand the code.
Following dpapp HLD - #606, this is the 3th part implementation. It implements the basic logic of inline flow creation, deletion and ageout.
make dpapp
make run-dpapp