HomeFreeBSD

Rework ENA Tx buffer ring size reconfiguration

Description

Rework ENA Tx buffer ring size reconfiguration

This method has been aligned with the way how the Rx queue size is being
updated - so it's now done synchronously instead of resetting the
device.

Moreover, the input parameter is now being validated if it's a power of

  1. Without this, it can cause kernel panic.

Submitted by: Michal Krawczyk <mk@semihalf.com>
Obtained from: Semihalf
Sponsored by: Amazon, Inc.

Details

Provenance
mwAuthored on
Parents
rS361522: MFS r361469: Fix bug in PR-SCTP
Branches
Unknown
Tags
Unknown