diff options
author | Navdeep Parhar <np@FreeBSD.org> | 2018-05-17 01:42:18 +0000 |
---|---|---|
committer | Navdeep Parhar <np@FreeBSD.org> | 2018-05-17 01:42:18 +0000 |
commit | eff62dba61f74d613340ad0505366f0c3866e95e (patch) | |
tree | d336039afa312dc2d23d5ad9da5ecd5e23aca813 /sys/modules/cxgbe/if_cxgbe | |
parent | fdf71aeb54aa2ef9233d6403d58d1d9d72470df8 (diff) | |
download | src-eff62dba61f74d613340ad0505366f0c3866e95e.tar.gz src-eff62dba61f74d613340ad0505366f0c3866e95e.zip |
cxgbe(4): Allocate offload Tx queues when a card has resources
provisioned for NIC_ETHOFLD and the kernel has option RATELIMIT.
It is possible to use the chip's offload queues for normal NIC Tx and
not just TOE Tx. The difference is that these queues support out of
order processing of work requests and have a per-"flowid" mechanism for
tracking credits between the driver and hardware. This allows Tx for
any number of flows bound to different rate limits to be submitted to a
single Tx queue and the work requests for slow flows won't cause HOL
blocking for the rest.
Sponsored by: Chelsio Communications
Notes
Notes:
svn path=/head/; revision=333698
Diffstat (limited to 'sys/modules/cxgbe/if_cxgbe')
-rw-r--r-- | sys/modules/cxgbe/if_cxgbe/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/modules/cxgbe/if_cxgbe/Makefile b/sys/modules/cxgbe/if_cxgbe/Makefile index e757ffb9bfd5..049ed3da3447 100644 --- a/sys/modules/cxgbe/if_cxgbe/Makefile +++ b/sys/modules/cxgbe/if_cxgbe/Makefile @@ -12,6 +12,7 @@ SRCS+= opt_ddb.h SRCS+= opt_inet.h SRCS+= opt_inet6.h SRCS+= opt_ofed.h +SRCS+= opt_ratelimit.h SRCS+= opt_rss.h SRCS+= pci_if.h pci_iov_if.h SRCS+= t4_filter.c |