Skip to content

Modified Queue Size Checking and Increased Ethernet Message Size#374

Open
bjackson312006 wants to merge 1 commit intomainfrom
task/modify-queue-size-checking
Open

Modified Queue Size Checking and Increased Ethernet Message Size#374
bjackson312006 wants to merge 1 commit intomainfrom
task/modify-queue-size-checking

Conversation

@bjackson312006
Copy link
Collaborator

Related to this PR in Cerberus-2.0. If we end up changing ThreadX's max queue message size, then we shouldn't manually validate the queue sizes via hardcoded numbers in queue_create(). We should just let ThreadX return a TX_SIZE_ERROR on its own, which will be propagated to the error checking in queue_create().

Also, increased Ethernet message sizes to 128 bytes, since they're no longer limited by the ThreadX max queue size. I just kind of made this number up. The default payload size is currently set to 1524, but I don't think we should increase the Ethernet message sizes to this unless we really need to, since tx_queue_receive() seems to always copy over the full message size which would be unnecessary if most of our message are much smaller than that.

@bjackson312006
Copy link
Collaborator Author

note: don't merge yet

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.

2 participants