From 98b244a918f17510da35a559aad62a5f44f47d12 Mon Sep 17 00:00:00 2001 From: Shaozhengchao Date: Thu, 19 Dec 2019 15:31:24 +0800 Subject: [PATCH] net/hinic: change the tx min frames to 32 Bytes driver inclusion category:bugfix bugzilla:4472 CVE:NA ----------------------------------------------------------------------- change tx min frames to 32 Bytes Signed-off-by: Shaozhengchao Reviewed-by: Luoshaokai Signed-off-by: Yang Yingliang --- drivers/net/ethernet/huawei/hinic/hinic_tx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/huawei/hinic/hinic_tx.c b/drivers/net/ethernet/huawei/hinic/hinic_tx.c index 53ee3f1b2045..9b584be590a5 100644 --- a/drivers/net/ethernet/huawei/hinic/hinic_tx.c +++ b/drivers/net/ethernet/huawei/hinic/hinic_tx.c @@ -40,8 +40,8 @@ #include "hinic_qp.h" #include "hinic_tx.h" -#define MIN_SKB_LEN 17 -#define MAX_PAYLOAD_OFFSET 221 +#define MIN_SKB_LEN 32 +#define MAX_PAYLOAD_OFFSET 221 #define NIC_QID(q_id, nic_dev) ((q_id) & ((nic_dev)->num_qps - 1)) -- GitLab