net/hns3: log time delta in decimal format
authorChengwen Feng <fengchengwen@huawei.com>
Wed, 28 Apr 2021 07:20:52 +0000 (15:20 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 29 Apr 2021 16:25:40 +0000 (18:25 +0200)
commitc9a63bb64e79ab5fa6b5bd298df5b5695067d1e5
tree47fb1c9ff145ed124f6bfcd79b26e3cd40a1565a
parentbab23c5c63b53e1276e00e963cb168d909f8143c
net/hns3: log time delta in decimal format

If the reset process cost too much time, driver will log one error
message which formats the time delta, but the formatting is using
hexadecimal which was not readable.

This patch fixes it by formatting in decimal format.

Fixes: 2790c6464725 ("net/hns3: support device reset")
Cc: stable@dpdk.org
Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
drivers/net/hns3/hns3_ethdev.c
drivers/net/hns3/hns3_ethdev_vf.c