Skip to content

Commit

Permalink
Move BUFFER_MAX_PARAM_TABLE from global db to asic dbs
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidZagury committed Jan 7, 2024
1 parent ab65bd0 commit db40166
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 27 deletions.
9 changes: 9 additions & 0 deletions tests/mock_tables/asic0/state_db.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,14 @@
},
"NEIGH_STATE_TABLE|fec0::ffff:afa:07": {
"state": "Active"
},
"BUFFER_MAX_PARAM_TABLE|Ethernet0": {
"max_queues": "16"
},
"BUFFER_MAX_PARAM_TABLE|Ethernet4": {
"max_queues": "16"
},
"BUFFER_MAX_PARAM_TABLE|Ethernet24": {
"max_queues": "16"
}
}
9 changes: 9 additions & 0 deletions tests/mock_tables/asic1/state_db.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,14 @@
},
"NEIGH_STATE_TABLE|10.10.0.4": {
"state": "Established"
},
"BUFFER_MAX_PARAM_TABLE|Ethernet8": {
"max_queues": "16"
},
"BUFFER_MAX_PARAM_TABLE|Ethernet12": {
"max_queues": "16"
},
"BUFFER_MAX_PARAM_TABLE|Ethernet32": {
"max_queues": "16"
}
}
9 changes: 9 additions & 0 deletions tests/mock_tables/asic2/state_db.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,14 @@
},
"NEIGH_STATE_TABLE|10.10.0.5": {
"state": "Established"
},
"BUFFER_MAX_PARAM_TABLE|Ethernet-BP16": {
"max_queues": "16"
},
"BUFFER_MAX_PARAM_TABLE|Ethernet-BP20": {
"max_queues": "16"
},
"BUFFER_MAX_PARAM_TABLE|Ethernet40": {
"max_queues": "16"
}
}
27 changes: 0 additions & 27 deletions tests/mock_tables/global_db/state_db.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,32 +123,5 @@
"TEMPERATURE_INFO|thermal1": {
"temperature": "20.5",
"is_replaceable": "False"
},
"BUFFER_MAX_PARAM_TABLE|Ethernet0": {
"max_queues": "16"
},
"BUFFER_MAX_PARAM_TABLE|Ethernet4": {
"max_queues": "16"
},
"BUFFER_MAX_PARAM_TABLE|Ethernet8": {
"max_queues": "16"
},
"BUFFER_MAX_PARAM_TABLE|Ethernet12": {
"max_queues": "16"
},
"BUFFER_MAX_PARAM_TABLE|Ethernet-BP16": {
"max_queues": "16"
},
"BUFFER_MAX_PARAM_TABLE|Ethernet-BP20": {
"max_queues": "16"
},
"BUFFER_MAX_PARAM_TABLE|Ethernet24": {
"max_queues": "16"
},
"BUFFER_MAX_PARAM_TABLE|Ethernet32": {
"max_queues": "16"
},
"BUFFER_MAX_PARAM_TABLE|Ethernet40": {
"max_queues": "16"
}
}

0 comments on commit db40166

Please sign in to comment.