From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 188E4A0563; Tue, 10 Mar 2020 07:50:58 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F3F0C1BF7F; Tue, 10 Mar 2020 07:50:56 +0100 (CET) Received: from mail-lf1-f67.google.com (mail-lf1-f67.google.com [209.85.167.67]) by dpdk.org (Postfix) with ESMTP id 89F452E81 for ; Tue, 10 Mar 2020 07:50:55 +0100 (CET) Received: by mail-lf1-f67.google.com with SMTP id j15so9919024lfk.6 for ; Mon, 09 Mar 2020 23:50:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emumba-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=bZ6GImIQrubzmmWjugkDFjlVsbqrXztSHe70UHDW2Zs=; b=0saqp6WzLHae/4/Ofy+RMA6FhUF59ewZ1D+4/e+O7V1urvvSotyb8xjH1VLxUpiPVj xOFfB9Gn6sfrdHYVzKnUmSw74efPsk5dTriwDiUxXK7mYvhqskSxdpbBdHzFMrVnPmn5 4JVp2jVgkUfGD3a6XL1WlbG+l41SZyQAPQ19hWUz8uxqjiXthTNxRkRE/taVRcPFH5TH 5gHamOKRZ9yYRhtSVl7LVmwfsJOievqTzGMx1B0bL+dK8a5luYyFlP72SeZ+Brb+ucTt m+oT+ZKWErc/4JJhbnDRS+WUHPnQ0FVMlHcUKeAHwhORanCL7vgnpODgfBbTa2n22w4K IqZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=bZ6GImIQrubzmmWjugkDFjlVsbqrXztSHe70UHDW2Zs=; b=bPfqVS40bT3qMqYB2Qpf81z1JuFvCCrb1gANJiobnNJSwG39pS44HcfRucmGKu4Zga s6GzO+q213GmUKBjckP9HrBjMlu3BCuTR/ku8+s6IbL1OQXt28cQ3uo7BczPLDDFAQk5 dkU7aJzsNG7RUGZkeQWdh4WRQPqVMhIqdLVLfyiJwea3innmim58lB+hmvgcKVPbHqJh 51/IMqpqU0rmYMKHZq/A1OsUJ5h8bNpy5UrL+pVNx7EgGQKpb26g+3aoSTFLLNHPAktw iLVdyOw+7OLNFsaoUy/bGfDPXHtaQ8tZCvZamIrSwWhC/mcgBTJEX6VZ963sZ7iQBYY/ 9/zQ== X-Gm-Message-State: ANhLgQ1Eeh2nVV7GN5O1NycyIz33UIoku0GDba/P5q2B69sXNyPf5FGU YARZS+PdMRLHF8yX2CHEJYS7RQ== X-Google-Smtp-Source: ADFU+vvjDlLV8rDOQZKjCGR/FR5mxZjVmGepqXDkpVMEfgGgwf5c89qg6rejrBvOxO+vAamurJTsbw== X-Received: by 2002:ac2:4c85:: with SMTP id d5mr7702297lfl.94.1583823054657; Mon, 09 Mar 2020 23:50:54 -0700 (PDT) Received: from localhost.localdomain ([182.191.83.208]) by smtp.gmail.com with ESMTPSA id u4sm8732061lfo.79.2020.03.09.23.50.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Mar 2020 23:50:54 -0700 (PDT) From: Muhammad Ahmad To: olivier.matz@6wind.com Cc: dev@dpdk.org, Muhammad Ahmad , stable@dpdk.org Date: Tue, 10 Mar 2020 11:50:36 +0500 Message-Id: <20200310065036.4396-1-muhammad.ahmad@emumba.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH] lib/librte_net/rte_ether.h:changed RTE_ETHER_MAX_LEN X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Change the RTE_ETHER_MAX_LEN from 1518 to 1526 Bugzilla ID: 296 Fixes: c5b2d13 (net: add rte prefix to ether defines) Cc: stable@dpdk.org Cc: Oliver Matz Reported-by: LAVA Suggested-by: LAVA Signed-off-by: Muhammad Ahmad --- lib/librte_net/rte_ether.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_net/rte_ether.h b/lib/librte_net/rte_ether.h index e069dc7fe..8953107f3 100644 --- a/lib/librte_net/rte_ether.h +++ b/lib/librte_net/rte_ether.h @@ -30,7 +30,7 @@ extern "C" { (RTE_ETHER_ADDR_LEN * 2 + \ RTE_ETHER_TYPE_LEN) /**< Length of Ethernet header. */ #define RTE_ETHER_MIN_LEN 64 /**< Minimum frame len, including CRC. */ -#define RTE_ETHER_MAX_LEN 1518 /**< Maximum frame len, including CRC. */ +#define RTE_ETHER_MAX_LEN 1526 /**< Maximum frame len, including CRC. */ #define RTE_ETHER_MTU \ (RTE_ETHER_MAX_LEN - RTE_ETHER_HDR_LEN - \ RTE_ETHER_CRC_LEN) /**< Ethernet MTU. */ -- 2.17.1