]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ntb_netdev: fix sleep time mismatch
authorJon Mason <jdmason@kudzu.us>
Mon, 11 Jun 2018 20:13:12 +0000 (16:13 -0400)
committerJon Mason <jdmason@kudzu.us>
Wed, 31 Oct 2018 20:02:39 +0000 (16:02 -0400)
commita861594b1b7ffd630f335b351c4e9f938feadb8e
treeb5e99989e1bb275d652ba9add2dfb3e77604e62b
parent84df9525b0c27f3ebc2ebb1864fa62a97fdedb7d
ntb_netdev: fix sleep time mismatch

The tx_time should be in usecs (according to the comment above the
variable), but the setting of the timer during the rearming is done in
msecs.  Change it to match the expected units.

Fixes: e74bfeedad08 ("NTB: Add flow control to the ntb_netdev")
Suggested-by: Gerd W. Haeussler <gerd.haeussler@cesys-it.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Acked-by: Dave Jiang <dave.jiang@intel.com>
drivers/net/ntb_netdev.c