Stephen Hurd
5ee36c68e1
Work around lack of TX IRQs in iflib for netmap
...
When poll() is called via netmap, txsync is initially called,
and if there are no available buffers to reclaim, it waits for the driver
to notify of new buffers. Since the TX IRQ is generally not used in iflib
drivers, this ends up causing a timeout.
Work around this by having the reclaim DELAY(1) if it's initially unable
to reclaim anything, then schedule the tx task, which will spin by
continuously rescheduling itself until some buffers are reclaimed. In
general, the delay is enough to allow some buffers to be reclaimed, so
spinning is minimized.
Reported by: Johannes Lundberg <johalun0@gmail.com>
Reviewed by: sbruno
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D15455
2018-05-16 21:03:22 +00:00
..
2017-12-27 03:23:21 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:23:17 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2018-04-24 17:42:25 +00:00
2017-11-20 19:43:44 +00:00
2018-04-10 19:42:50 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2017-02-15 07:22:47 +00:00
2018-03-27 15:29:32 +00:00
2017-11-27 15:23:17 +00:00
2018-01-24 10:13:14 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2018-04-13 21:18:04 +00:00
2018-05-11 05:00:40 +00:00
2018-05-11 05:00:40 +00:00
2018-05-11 20:08:28 +00:00
2018-05-11 20:08:28 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2018-03-23 16:56:44 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2018-05-11 05:00:40 +00:00
2018-03-27 20:51:49 +00:00
2018-03-30 18:50:13 +00:00
2017-11-20 19:43:44 +00:00
2018-03-30 18:50:13 +00:00
2017-11-27 15:23:17 +00:00
2018-05-11 16:50:25 +00:00
2017-02-06 08:49:57 +00:00
2018-05-14 20:06:49 +00:00
2018-05-14 20:06:49 +00:00
2017-11-27 15:23:17 +00:00
2018-03-17 17:05:48 +00:00
2017-11-20 19:43:44 +00:00
2018-05-09 10:50:51 +00:00
2017-04-11 08:56:18 +00:00
2018-04-23 21:10:33 +00:00
2018-04-23 21:10:33 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2016-05-03 18:05:43 +00:00
2018-03-30 18:50:13 +00:00
2017-11-20 19:43:44 +00:00
2018-04-06 17:35:35 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2017-11-29 09:40:11 +00:00
2016-05-24 11:47:14 +00:00
2017-11-20 19:43:44 +00:00
2018-05-11 05:00:40 +00:00
2018-03-27 15:29:32 +00:00
2018-04-26 08:58:27 +00:00
2017-12-30 19:49:40 +00:00
2017-12-30 04:03:53 +00:00
2018-05-11 05:00:40 +00:00
2018-05-11 20:08:28 +00:00
2018-05-11 20:08:28 +00:00
2018-05-11 20:08:28 +00:00
2018-05-16 21:03:22 +00:00
2018-05-16 21:03:22 +00:00
2018-05-11 20:08:28 +00:00
2017-11-20 19:43:44 +00:00
2017-09-23 16:46:30 +00:00
2016-05-18 04:35:58 +00:00
2016-06-07 15:07:00 +00:00
2016-07-09 02:33:45 +00:00
2016-07-09 02:33:45 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2018-04-12 07:20:50 +00:00
2018-04-12 07:20:50 +00:00
2018-04-12 07:20:50 +00:00
2018-04-12 07:20:50 +00:00
2018-03-23 16:56:44 +00:00
2018-03-23 16:56:44 +00:00
2017-11-20 19:43:44 +00:00
2018-04-06 15:54:30 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-07-24 03:59:50 +00:00
2017-02-28 23:42:47 +00:00
2018-01-23 03:15:44 +00:00
2018-01-23 03:15:39 +00:00
2017-10-11 06:08:01 +00:00
2017-10-11 06:08:01 +00:00
2018-05-06 20:32:47 +00:00
2017-12-05 18:42:07 +00:00
2017-11-20 19:43:44 +00:00
2017-11-20 19:43:44 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00