Bug 168440 - [ixgbe] [patch] ixgbe flow control tunable regression
Summary: [ixgbe] [patch] ixgbe flow control tunable regression
Status: Closed Works As Intended
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 9.0-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-net (Nobody)
URL:
Keywords: IntelNetworking
Depends on:
Blocks:
 
Reported: 2012-05-29 18:00 UTC by lampa
Modified: 2015-06-30 18:22 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lampa 2012-05-29 18:00:10 UTC
hw.ixgbe.flow_control tunable stopped working in the 2.4.5 version, the variable ixgbe_flow_control is not used at all. Previously it was used in ixgbe_set_flowcntl(). Now adapter->fc is used at that place, but it is not initialized properly from the tunable.

Fix: 

Change ixgbe_attach() at line 530:

        /* Get Hardware Flow Control setting */
        hw->fc.requested_mode = ixgbe_fc_full;

to:

        /* Get Hardware Flow Control setting */
        hw->fc.requested_mode = ixgbe_flow_control;

The same problem exists in the ixv driver.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2014-04-20 03:53:02 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-net

reclassify.
Comment 2 Sean Bruno freebsd_committer freebsd_triage 2015-06-30 18:22:26 UTC
flow control is now a loader tuneable in ixv(4) but it is an SYSCTL in ixgbe(4).

the "fc" sysctl is what you want here.