-
Notifications
You must be signed in to change notification settings - Fork 35
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
NETOBSERV-588 Add IPv4/6 DSCP field to the exported flow #158
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #158 +/- ##
==========================================
+ Coverage 31.84% 31.88% +0.03%
==========================================
Files 37 37
Lines 3278 3284 +6
==========================================
+ Hits 1044 1047 +3
- Misses 2175 2177 +2
- Partials 59 60 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
ecdf1ef
to
654b0d6
Compare
654b0d6
to
0542a17
Compare
0542a17
to
bf7d9de
Compare
bf7d9de
to
52c65dc
Compare
52c65dc
to
5e6feca
Compare
New image: It will expire after two weeks. To deploy this build, run from the operator repo, assuming the operator is running: USER=netobserv VERSION=8df3d91 make set-agent-image |
5e6feca
to
8e7fbf8
Compare
/ok-to-test |
New image: It will expire after two weeks. To deploy this build, run from the operator repo, assuming the operator is running: USER=netobserv VERSION=df1b1dd make set-agent-image |
Signed-off-by: msherif1234 <[email protected]>
8e7fbf8
to
01a2f17
Compare
/ok-to-test |
New image: It will expire after two weeks. To deploy this build, run from the operator repo, assuming the operator is running: USER=netobserv VERSION=75fed66 make set-agent-image |
@@ -86,7 +86,7 @@ static inline int flow_monitor(struct __sk_buff *skb, u8 direction) { | |||
aggregate_flow->start_mono_time_ts = pkt.current_ts; | |||
} | |||
aggregate_flow->flags |= pkt.flags; | |||
|
|||
aggregate_flow->dscp = pkt.dscp; |
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.
not asking any change here, but just for curiosity, do you know if a single flow might have packets with different dscp values ?
(if that's the case, then only the last one would be taken here; which can be OK I guess
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.
I was reading about this and it sounds the DSCP value is per flow this how they classify flow as higher pri over the others this is where I get that
https://datatracker.ietf.org/doc/html/rfc8837#name-dscp-mappings
@Amoghrd when u can, can we give this is a go Thanks!! |
/label qe-approved |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: msherif1234 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
tested with standalone flow collector for IPv4