Mellanox / libxlio

Other
41 stars 19 forks source link

issue: 4124248 Don't update CQ consumer index #246

Open pasis opened 2 weeks ago

pasis commented 2 weeks ago

Description

We always create CQs that cannot overflow. Therefore, we can use flag IBV_CREATE_CQ_ATTR_IGNORE_OVERRUN and avoid updating dbrec. HW will ignore the consumer index and this will save a memory barrier per successful polling.

What

Don't update CQ consumer index. Create CQs with IBV_CREATE_CQ_ATTR_IGNORE_OVERRUN flag.

Why ?

Performance optimization.

Change type

What kind of change does this PR introduce?

Check list