Skip to content

Fix max lane per port#1112

Merged
lguohan merged 2 commits intoopencomputeproject:masterfrom
stephenxs:fix-max-lane-per-port
Jul 3, 2020
Merged

Fix max lane per port#1112
lguohan merged 2 commits intoopencomputeproject:masterfrom
stephenxs:fix-max-lane-per-port

Conversation

@stephenxs
Copy link
Copy Markdown
Contributor

It assumes there are only 4 lanes per port, which is not correct because
there are 8 lanes per port on MSN4700 for 400G ports
Unnecessary assignment to thrift_attr_list.attr_count in function sai_thrift_get_port_attribute has been removed as well.

Signed-off-by: Stephen Sun stephens@mellanox.com

Stephen Sun added 2 commits July 3, 2020 14:14
It assumes there are only 4 lanes per port which is not correct because
there are 8 lanes per port on MSN4700 for 400G ports

Signed-off-by: Stephen Sun <stephens@mellanox.com>
…t in function sai_thrift_get_port_attribute

Signed-off-by: Stephen Sun <stephens@mellanox.com>
@lguohan lguohan merged commit fa090ea into opencomputeproject:master Jul 3, 2020
@stephenxs
Copy link
Copy Markdown
Contributor Author

Hi @lguohan
could you please cherry-pick to v1.5 and v1.6? or do I need to create another PR for it?
thanks

lguohan pushed a commit that referenced this pull request Jul 3, 2020
* Extend the maximum lanes per port from 4 to 8
It assumes there are only 4 lanes per port which is not correct because
there are 8 lanes per port on MSN4700 for 400G ports

* Remove unnecessary assignment statement to thrift_attr_list.attr_count in function sai_thrift_get_port_attribute

Signed-off-by: Stephen Sun <stephens@mellanox.com>
lguohan pushed a commit that referenced this pull request Jul 3, 2020
* Extend the maximum lanes per port from 4 to 8
It assumes there are only 4 lanes per port which is not correct because
there are 8 lanes per port on MSN4700 for 400G ports

* Remove unnecessary assignment statement to thrift_attr_list.attr_count in function sai_thrift_get_port_attribute

Signed-off-by: Stephen Sun <stephens@mellanox.com>
@lguohan
Copy link
Copy Markdown
Collaborator

lguohan commented Jul 3, 2020

done

@stephenxs
Copy link
Copy Markdown
Contributor Author

Thank you!

@stephenxs stephenxs deleted the fix-max-lane-per-port branch July 3, 2020 08:16
@stephenxs
Copy link
Copy Markdown
Contributor Author

Hi @lguohan,
I see the v1.5.2 is in SONiC 201911 but it includes a commit which is not included in v1.5

commit dda965adffdf27dea372dcc8790d811f04d66b2e
Author: Jai Kumar <jai.kumar@broadcom.com>
Date:   Thu Mar 5 18:30:03 2020 -0800

    adds nat type in sai_nat_entry_t to distinguish between dnat pool and dnat entry (#1042)
    
    This change adds nat type in sai_nat_entry_t to distinguish between dnat pool and dnat entry. Its possible that for dnat pool and dnat entry all the 

Can we cherry-pick the above commit into v1.5 and re-tag v1.5.2? After that, we can update sairedis and bring this PR into SONiC 201911.
Thank you and sorry for the inconvenience.

lguohan pushed a commit that referenced this pull request Jul 16, 2020
* Extend the maximum lanes per port from 4 to 8
It assumes there are only 4 lanes per port which is not correct because
there are 8 lanes per port on MSN4700 for 400G ports

* Remove unnecessary assignment statement to thrift_attr_list.attr_count in function sai_thrift_get_port_attribute

Signed-off-by: Stephen Sun <stephens@mellanox.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants