cdc_ncm: reduce driver latency in the data path
authorAlexey Orishko <alexey.orishko@gmail.com>
Wed, 14 Mar 2012 11:26:10 +0000 (11:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Mar 2012 09:08:36 +0000 (02:08 -0700)
commitc84ff1d6dff38058a5bd20cb633d13a0f685788a
tree981c1db3a3d7e637e0911a079ae528cbe8065620
parenta9e0aca4b37885b5599e52211f098bd7f565e749
cdc_ncm: reduce driver latency in the data path

Changes:
- use high resolution timer
  latency became approx. 10-15 times less than before
- use taklet for sending remaining data in tx path
Tested on Intel/ARM.

Reviewed-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Tested-by: Dmitry Tarnyagin <Dmitry.Tarnyagin@stericsson.com>
Signed-off-by: Alexey Orishko <alexey.orishko@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/cdc_ncm.c