HomeFreeBSD

ena: Rename fields to MBZ in completion descriptors

Description

ena: Rename fields to MBZ in completion descriptors

Several reserved bits in ena_eth_io_tx_cdesc and
ena_eth_io_rx_cdesc_base have been renamed explicitly to
MBZ (Must Be Zero).
These bits are set by the device to zero before being sent
to the driver. The fields are used as an integrity check in
order to ensure that the received descriptor is not corrupted.

in ena_eth_io_tx_cdesc, two reserved bits from the flags
field are marked as MBZ.

in ena_eth_io_rx_cdesc_base, there are 8 reserved bits
(7 and 17-23). Out of the above, bits 7 and 17 are MBZ.

Approved by: cperciva (mentor)
MFC after: 2 weeks
Sponsored by: Amazon, Inc.

Details

Provenance
osamaabb_amazon.comAuthored on Aug 4 2024, 12:19 PM
Parents
rGa6d34c1b85c6: ena: RX ring submission queue optimization
Branches
Unknown
Tags
Unknown