HomeFreeBSD

Optimise use of doorbell and remove redundant NOPs

Description

Optimise use of doorbell and remove redundant NOPs

Store the last doorbell write in the mlx5e_sq structure and write the
doorbell to the hardware when the transmit routine finishes
transmitting all queued mbufs.

Sponsored by: Mellanox Technologies
Tested by: Netflix
MFC after: 1 week

Details

Provenance
hselaskyAuthored on
Parents
rS300279: MFC 299866
Branches
Unknown
Tags
Unknown