diff options
author | Dave Jiang <dave.jiang@intel.com> | 2015-07-13 15:07:17 +0300 |
---|---|---|
committer | Jon Mason <jdmason@kudzu.us> | 2015-09-07 22:17:08 +0300 |
commit | e74bfeedad08180b968d8613dcde141ffb0720c3 (patch) | |
tree | 989c37a03defc84cd2db4ed121bf633ebb074632 /drivers/ssb/pcihost_wrapper.c | |
parent | 5e9fd733fa34b491e7ac41c91aa42ba0a9d8ea10 (diff) | |
download | linux-e74bfeedad08180b968d8613dcde141ffb0720c3.tar.xz |
NTB: Add flow control to the ntb_netdev
Right now if we push the NTB really hard, we start dropping packets due
to not able to process the packets fast enough. We need to st:qop the
upper layer from flooding us when that happens.
A timer is necessary in order to restart the queue once the resource has
been processed on the receive side. Due to the way NTB is setup, the
resources on the tx side are tied to the processing of the rx side and
there's no async way to know when the rx side has released those
resources.
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Diffstat (limited to 'drivers/ssb/pcihost_wrapper.c')
0 files changed, 0 insertions, 0 deletions