Page MenuHomeFreeBSD

Add driver backpressure
Needs ReviewPublic

Authored by kmacy on Nov 27 2015, 1:26 AM.
Referenced Files
Unknown Object (File)
Sun, Apr 7, 2:02 AM
Unknown Object (File)
Jan 13 2024, 7:19 AM
Unknown Object (File)
Nov 26 2023, 9:03 PM
Unknown Object (File)
Nov 24 2023, 12:51 AM
Unknown Object (File)
Nov 23 2023, 12:37 AM
Unknown Object (File)
Nov 13 2023, 10:55 AM
Unknown Object (File)
Oct 24 2023, 9:18 PM
Unknown Object (File)
Oct 12 2023, 2:53 PM

Details

Summary

Rather than treating a transient txq overrun as a network loss event schedule another call to tcp_output when the software ring has partially drained.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

kmacy retitled this revision from to Add driver backpressure.
kmacy updated this object.
kmacy edited the test plan for this revision. (Show Details)
kmacy added reviewers: scottl, lstewart, hiren, rstone, gallatin.
kmacy set the repository for this revision to rS FreeBSD src repository - subversion.
kmacy added a project: transport.
kmacy added a subscriber: benno.
kmacy added a subscriber: gnn.

@kmacy I don't think iflib is part of -head yet. I see this patch includes references to sys/net/iflib* which also don't exist in -head yet. Can this patch be applied cleanly to -head? if not, I'd be great to have that done.

In D4295#90451, @hiren wrote:

@kmacy I don't think iflib is part of -head yet. I see this patch includes references to sys/net/iflib* which also don't exist in -head yet. Can this patch be applied cleanly to -head? if not, I'd be great to have that done.

It's not part of HEAD yet. The objective here is to elucidate the mechanism. I haven't been able to test it under real load yet. Do you really want to run with scissors? :D

sbruno edited edge metadata.

I'm adding a "looks good to me" here for the Intel Reviewers as this adds functionality in the stack and the modification to the driver is required.

This revision is now accepted and ready to land.Dec 1 2015, 9:11 PM
In D4295#90577, @kmacy wrote:
In D4295#90451, @hiren wrote:

@kmacy I don't think iflib is part of -head yet. I see this patch includes references to sys/net/iflib* which also don't exist in -head yet. Can this patch be applied cleanly to -head? if not, I'd be great to have that done.

It's not part of HEAD yet. The objective here is to elucidate the mechanism. I haven't been able to test it under real load yet. Do you really want to run with scissors? :D

Heh, as we talked on the transport call, we can reproduce this problem and would love to see how the patch is handling it. :-)

I'd let others chime-in wrt design and what not.

Does ixgbe compile with the first parenthesis missing?

Does ixgbe compile with the first parenthesis missing?

Odd. I'll update the patch. Thanks.

-M

This revision now requires review to proceed.Oct 3 2018, 5:22 PM