net/hns3: remove custom macro for minimum length
authorHuisong Li <lihuisong@huawei.com>
Sat, 21 Dec 2019 10:32:48 +0000 (18:32 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 17 Jan 2020 18:46:01 +0000 (19:46 +0100)
commit89c04d81175aaf6b0277f1f1d2345d6daf97df43
tree7c25339bd586905945abf0c74da7b0f46d3de9a0
parent28f2e6357662e14643ad156e14d0e35b1d4cea7c
net/hns3: remove custom macro for minimum length

This patch replaces custom macro named HNS3_MIN_FRAME_LEN for ethernet
minimum frame length with the macro named RTE_ETHER_MIN_LEN that defined
in DPDK framework.

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
drivers/net/hns3/hns3_rxtx.c