HomeFreeBSD

bnxt: Choose better HW LRO defaults for performance

Description

bnxt: Choose better HW LRO defaults for performance

  1. Choose correct Firmware options for HW LRO for best performance
  2. Delete TBD and other comments which are not required.
  3. Added sysctl interface to enable / disable / modify different factors of HW LRO.
  4. Disabled HW LRO by default to avoid issues with packet forwarding

This allows much better control over the LRO configuration via sysctls, and
uses much better defaults. Hardware LRO can now be enabled/disabled
independantly from the software LRO, and the tuning parameters are exposed.

manpage updates coming soon.

Submitted by: Bhargava Chenna Marreddy <bhargava.marreddy@broadcom.com>
Reviewed by: shurd, sbruno
Approved by: sbruno (mentor)
Sponsored by: Broadcom Limited
Differential Revision: https://reviews.freebsd.org/D12223