]> git.baikalelectronics.ru Git - kernel.git/commit
liquidio VF: reduce load time of module
authorPrasad Kanneganti <prasad.kanneganti@cavium.com>
Thu, 12 Jan 2017 01:40:27 +0000 (17:40 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Jan 2017 20:52:56 +0000 (15:52 -0500)
commitb027dfa84e83992907026632763cc7503fa33706
tree12c9bf03270351119b23f37f0ea638b41ad57214
parentca615d0b07fd52fc6c22254ed3926e2a04d5a4ae
liquidio VF: reduce load time of module

Reduce the load time of the VF driver by decreasing the wait time between
iterations of the loop that polls for a mailbox response from the PF. Also
change the wait time units from jiffies to milliseconds.

Signed-off-by: Prasad Kanneganti <prasad.kanneganti@cavium.com>
Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com>
Signed-off-by: Raghu Vatsavayi <raghu.vatsavayi@cavium.com>
Signed-off-by: Derek Chickles <derek.chickles@cavium.com>
Signed-off-by: Satanand Burla <satananda.burla@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c
drivers/net/ethernet/cavium/liquidio/octeon_mailbox.h