]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
cxgbe(4): significant rx rework.
authorNavdeep Parhar <np@FreeBSD.org>
Tue, 18 Mar 2014 20:14:13 +0000 (20:14 +0000)
committerNavdeep Parhar <np@FreeBSD.org>
Tue, 18 Mar 2014 20:14:13 +0000 (20:14 +0000)
commit38035ed6dc7fe94f604d7205331dd958e4fa67b8
tree1136816b25df75034f9c811cb0eed83ce1d6dd81
parent3ca4ead75d884c6c792c84e3e9a8e198709ecfeb
cxgbe(4): significant rx rework.

- More flexible cluster size selection, including the ability to fall
  back to a safe cluster size (PAGE_SIZE from zone_jumbop by default) in
  case an allocation of a larger size fails.
- A single get_fl_payload() function that assembles the payload into an
  mbuf chain for any kind of freelist.  This replaces two variants: one
  for freelists with buffer packing enabled and another for those without.
- Buffer packing with any sized cluster.  It was limited to 4K clusters
  only before this change.
- Enable buffer packing for TOE rx queues as well.
- Statistics and tunables to go with all these changes.  The driver's
  man page will be updated separately.

MFC after: 5 weeks
sys/dev/cxgbe/adapter.h
sys/dev/cxgbe/common/t4_hw.h
sys/dev/cxgbe/t4_main.c
sys/dev/cxgbe/t4_sge.c