net/hns3: replace max private macro
authorHuisong Li <lihuisong@huawei.com>
Tue, 25 Aug 2020 11:53:01 +0000 (19:53 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:07 +0000 (18:55 +0200)
commit3e66aafe5412a47a9e10a93b0228efe1bea3083a
tree25a336570ea668e7860640c61cbf4d082d753296
parent59200fd71a135cca8022525de81f2205b45d04ab
net/hns3: replace max private macro

This patch uses RTE_MAX function in DPDK lib to replace the private
macro named max_t in driver.

Signed-off-by: Huisong Li <lihuisong@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
drivers/net/hns3/hns3_ethdev.c
drivers/net/hns3/hns3_ethdev.h