-
Notifications
You must be signed in to change notification settings - Fork 477
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
Adding additional Ether pkts stats ranges for Cisco Platforms #1997
base: master
Are you sure you want to change the base?
Adding additional Ether pkts stats ranges for Cisco Platforms #1997
Conversation
you will need to add exception for SAI_PORT_STAT_END in meta/ancestry.pl at line 180 |
15fb33d
to
12bc084
Compare
Thanks @kcudnik. Created exception for SAI_PORT_STAT_END, still i see the meta check failure. Any input? |
you need to squash your commits |
86ec786
to
363316d
Compare
3ae3678
to
6d58942
Compare
@kcudnik : Even after squash I see the issue. is there any skip required in CheckHash ? |
please read pipeline errors:
you shifted enum values |
3e6d888
to
26f2dc8
Compare
meta/ancestry.pl
Outdated
@@ -177,6 +177,7 @@ sub BuildCommitHistory | |||
next if $enumName eq "SAI_API_MAX"; | |||
next if $enumName eq "SAI_OBJECT_TYPE_MAX"; | |||
next if $enumName eq "SAI_PORT_INTERFACE_TYPE_MAX"; | |||
next if $enumName eq "SAI_PORT_STAT_END"; |
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.
hmm, interesting that line 174 didnt catch that
you will need to add exception for this error, you will need to add excetpion for checkheaders.pl on line 196, and that chance in ancestry.pl is not needed |
26f2dc8
to
636fdcd
Compare
i think you will also need to rebase to master |
no you didn't:
|
Signed-off-by: rajendrat <rajendrat@gmail.com>
4d199dc
to
927f7e6
Compare
i suggest to have a RO attribute defined to indicate which range the asic support. for example, the traditional range, or this new packet size range. we can say the RO default value is triditional range. if they asic support new range, then when application queries, it will return the range_2 for example. this allows application to write code with capability. |
@rajendrat please resolve conflicts. |
@rajendrat any update on this |
you will need to rebase on master, resolve conflicts and squash |
Adding additional Ether Pkts in and out stats ranges requirement for Cisco Platforms.
Currently SAI supported attributes are in the range for bigger frames sizes are : 1519-2047, 2048-4095, 4096-9216 and 9217-16383
Cisco platform supported range for bigger frames sizes are : 1519-2500, 2501-9000, 9001-16383.
It requires new set of Attributes to show granular stats for Cisco platforms.
Adding below Attributes: