• D
    NTB: Add flow control to the ntb_netdev · e74bfeed
    Dave Jiang 提交于
    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: NDave Jiang <dave.jiang@intel.com>
    Signed-off-by: NJon Mason <jdmason@kudzu.us>
    e74bfeed
ntb_transport.c 50.6 KB