MCE_MAX_CQ_POLL_BATCH is a logical upper limit for CQ polling batch size. There is no hard limitation for it, so raise it to maximum CQ size.
This value can even exceed CQ size, because HW continue receiving packets during polling.
Be default, this change doesn't have effect unless a higher value for XLIO_CQ_POLL_BATCH_MAX is set explicitly. This can be helpful in a scenario when a high traffic rate stops for a long time and number of packets in an RQ exceeds the batch size.
What
Increase upper limit for XLIO_CQ_POLL_BATCH_MAX
Why ?
Allow to configure XLIO_CQ_POLL_BATCH_MAX for better CQ drain in some scenarios.
Change type
What kind of change does this PR introduce?
[ ] Bugfix
[x] Feature
[ ] Code style update
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Tests
[ ] Other
Check list
[ ] Code follows the style de facto guidelines of this project
[ ] Comments have been inserted in hard to understand places
Description
MCE_MAX_CQ_POLL_BATCH is a logical upper limit for CQ polling batch size. There is no hard limitation for it, so raise it to maximum CQ size.
This value can even exceed CQ size, because HW continue receiving packets during polling.
Be default, this change doesn't have effect unless a higher value for XLIO_CQ_POLL_BATCH_MAX is set explicitly. This can be helpful in a scenario when a high traffic rate stops for a long time and number of packets in an RQ exceeds the batch size.
What
Increase upper limit for XLIO_CQ_POLL_BATCH_MAX
Why ?
Allow to configure XLIO_CQ_POLL_BATCH_MAX for better CQ drain in some scenarios.
Change type
What kind of change does this PR introduce?
Check list