]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r304021: Update iflib to support more NIC designs
authorshurd <shurd@FreeBSD.org>
Tue, 23 Aug 2016 21:21:56 +0000 (21:21 +0000)
committershurd <shurd@FreeBSD.org>
Tue, 23 Aug 2016 21:21:56 +0000 (21:21 +0000)
commit73076d55d7d17fcc740b9c1015e5df6e26706863
tree88ac66312adc23c2f155268b52c3ded6816f78b8
parent22c063972196e381ed329a45bbadadf02adaa3f8
MFC r304021: Update iflib to support more NIC designs

- Move group task queue into kern/subr_gtaskqueue.c
- Change intr_enable to return an int so it can be detected if it's not
  implemented
- Allow different TX/RX queues per set to be different sizes
- Don't split up TX mbufs before transmit
- Allow a completion queue for TX as well as RX
- Pass the RX budget to isc_rxd_available() to allow an earlier return
  and avoid multiple calls

Approved by: sbruno
sys/conf/files
sys/kern/subr_gtaskqueue.c [new file with mode: 0644]
sys/kern/subr_taskqueue.c
sys/net/ifdi_if.m
sys/net/iflib.c
sys/net/iflib.h
sys/sys/_task.h
sys/sys/gtaskqueue.h [new file with mode: 0644]
sys/sys/taskqueue.h