net/qede: fix slow path completion timeout
authorShahed Shaikh <shahed.shaikh@cavium.com>
Wed, 23 May 2018 18:48:53 +0000 (11:48 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 25 May 2018 15:07:40 +0000 (17:07 +0200)
commit0833120f20f0aeae8496d39bddaad0c1a70b0bfc
tree69c3e02af4fdd8c148868526fd5ea88a100a7e81
parent1aa88b5bd93343b3c13ecbed5f0a0c8abbc39b36
net/qede: fix slow path completion timeout

In 100G mode, we poll firmware slow path completion for every 1 second,
which is not enough and may result in completion timeout if
driver misses that window.

Patch "eal: set affinity for control threads" exposed this issue since
alarm callback runs in control thread context.

Fix this issue by update polling period to 100ms.

Fixes: d651ee4919cd ("eal: set affinity for control threads")
Fixes: 2af14ca79c0a ("net/qede: support 100G")
Cc: stable@dpdk.org
Signed-off-by: Shahed Shaikh <shahed.shaikh@cavium.com>
drivers/net/qede/qede_ethdev.c