Mellanox / libxlio

Other
32 stars 18 forks source link

issue: 3857909 Increase upper limit for XLIO_CQ_POLL_BATCH_MAX #133

Closed pasis closed 4 months ago

pasis commented 5 months ago

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