From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0074.outbound.protection.outlook.com [104.47.32.74]) by dpdk.org (Postfix) with ESMTP id 532AB69C6 for ; Sun, 9 Apr 2017 09:49:04 +0200 (CEST) Received: from DM2PR03CA0047.namprd03.prod.outlook.com (10.141.96.46) by BL2PR03MB275.namprd03.prod.outlook.com (10.255.231.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1019.17; Sun, 9 Apr 2017 07:49:02 +0000 Received: from BN1AFFO11FD032.protection.gbl (2a01:111:f400:7c10::152) by DM2PR03CA0047.outlook.office365.com (2a01:111:e400:2428::46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1019.17 via Frontend Transport; Sun, 9 Apr 2017 07:49:02 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1AFFO11FD032.mail.protection.outlook.com (10.58.52.186) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1019.14 via Frontend Transport; Sun, 9 Apr 2017 07:49:01 +0000 Received: from DTS-02.ap.freescale.net (DTS-02.ap.freescale.net [10.232.132.223]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v397mBLa024015; Sun, 9 Apr 2017 00:48:58 -0700 From: Hemant Agrawal To: , CC: , , Date: Sun, 9 Apr 2017 13:20:20 +0530 Message-ID: <1491724224-6319-18-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1491724224-6319-1-git-send-email-hemant.agrawal@nxp.com> References: <1489754838-1455-1-git-send-email-hemant.agrawal@nxp.com> <1491724224-6319-1-git-send-email-hemant.agrawal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131361977415767316; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39450400003)(39380400002)(39410400002)(39840400002)(39400400002)(39860400002)(39850400002)(2980300002)(1110001)(1109001)(339900001)(3190300001)(199003)(189002)(9170700003)(356003)(50226002)(2950100002)(8936002)(6666003)(36756003)(85426001)(104016004)(8656002)(77096006)(4326008)(53936002)(54906002)(8676002)(81166006)(86362001)(189998001)(47776003)(5660300001)(2906002)(48376002)(38730400002)(50466002)(33646002)(106466001)(50986999)(76176999)(305945005)(5003940100001)(105606002); DIR:OUT; SFP:1101; SCL:1; SRVR:BL2PR03MB275; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; A:1; MX:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD032; 1:OjPSpBRk0PtnD2NJVKwFLo/NlF63M6c9kAzK5k+ce5cFaQi9S8V+1lyMHrbO1CmKkRDaikJposP2j8RFGUmSQbRNlzSNq4OhvpbKQDVMiC4x+UpCtz/opxuCyRQswBIshH/Fvg0oXRkddlvCuheaySA3OK38YInOk5zJubUKsKMqCVV3Oqd58cgQKQMxmmDOa/d0nzIKkDgeGqDw87g3EpgcoutJaejWcWG8Kwn0AX82ythCRLafQiWAnvuqXghdvkjuk44ZSUCP3g5/ADp2fVqv/114ec0CnHEScSqTCilzMnoLSULuFAbhoyjkfXT7SvMciADUbbZtEoCod4dWwTgNg/PvLdvJKlPVT2swAZ9/JHxSC8t5h5Xfs+uacNtU6iSjMRs2ZD7IbmjMaXfhwcixoGAFw9JH1yto0TQNnDxdsMUPZLUWUJRKgdxMaijBgIYr2OjvsoM8gh8F44SIq8lOEXSJDTFtWWVG5MJc3efZiCBsx4qDTsrilBSe3ZH0oR3DRqd7lemAf8/rah1yF+3Oy9J2MWjZZT+nnA6/pYpkO4volBQYAXCf7SAQHm+z8xuVPQNvPqB5HiYt1/b9CjnJKYhANCLk9joB8JNt9Y/Jf22LkfVPPe3yBNplSdP68EB2ph1N3y6PiO4ldb0nPKudnhRLZab9BQrtAlcHyZjZUejqj2TDoYUeD5N0kZUm MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: e0266899-8e59-4669-b3b4-08d47f1ce350 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131430075)(201703131517081); SRVR:BL2PR03MB275; X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB275; 3:az1s8KYS000VlWuaZGM+j5hnPoDOoQqTrL85C6jMlfzTkFQyVEBbJkUc9Z8ycSE+Uqlg+0hT1BAHDIdH0kptb5SIP87h8G6cDqOi+Qqu/lYBzAg9pwGudItgeyxVmkQHzJxio8DIGEuF0dVhC9Iu937S3SAkUvmvAQtF/sBtWl6WVJqXK6PMLMA6egK1gdQF5qyfDLo9GlbrNXqrmLQfEaXKEZ8+MqtDidk6rzx2z6QkBS8ML/wd5irgMiB0Hzo+hGW4GKsX+U6MoCOZrFVPHYx8OTP4ylEP1vCe171zhDPErNeqVS33DSC/3CVs64RfQkJP5U4ftG7ldLYkSipbJK1VeXD3huGtgvYPEDE7QLUlmJdybnZf+qDrGnI3jhab1T+UrtWOjq8AxiGCStqsUmHb2nvNUQon0mnqXtdO7+Uu0AWPfu6kxQ5npzq2dcLN; 25:a/XgrIsk2BkqUZ5oXjOrKuUD5JbT2hMkzIWUspJpNRKGmEOwZdMb8kgwno6pXybt6w6unTf+lypi74H0e7YZt1FHqAYhPi9okckavpgTA91SkMIQxz9I5CqkIvKMBgn3oWHa3jwJuOB7MNE1fYelOCsY90BckzUMQFSK+12vgzIlTCOwF5K187/20fzcBcNmIlQIL9WCS9+6XMFDo3ykm8RItI8Qip/JREVicjV04sCSwLea5OsNh146iwDF03A9zBzcnGBAzYp+R3g4fD/vITMB6tUS1Sq2nd6kZclYJ9RiW5VB1Ff6nprbMqiTMWfSthcCi79tNibPR2iU1K6pMTQIUMgCbUcDcnbfqlbZN3TkV4E1yzV0WYYBJA7MY1DlZXTTXyxCu6RwyIBnNY4WkFNgE/JgFkoUJ+jgfemUAbkl3Mg9asE/wNE3kVHpNoxyRFj2DQA8gxgA0mkBL8XeSQ== X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB275; 31:EpKBUXI41WBu6+9U9A71fh5176zjfWUYc0/qFR8iWKMzVNuqS22PUE+v4EhnOYFDA8ZJFvcWZx5I+mph0kgaYZJqdMVaciaJ0BB29uc52HqNObqmZKtQjM+6hkpI9a5aT/siFiTxHFg0aoJuqLR3dZewTR51Q2Lsu+KhXYwAMsRqQQEuBc0N+QAXnQLFjt5h500y7kozZH6nzZIe4Nb2CNbhdsWAunzWqWEuuvzIQGg5q7uUS10KsZQrGBmqoiCFFZhmnrjBWiiPlXqJ6q0LAg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(275809806118684); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(601004)(2401047)(13017025)(13018025)(13024025)(13023025)(8121501046)(13015025)(5005006)(3002001)(10201501046)(93006095)(93001095)(6055026)(6096035)(20161123563025)(201703131430075)(201703131448075)(201703131433075)(201703161259075)(20161123556025)(20161123565025)(20161123561025); SRVR:BL2PR03MB275; BCL:0; PCL:0; RULEID:(400006); SRVR:BL2PR03MB275; X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB275; 4:YCqVPxe/KNL9P71hJLzchEGWZmUkokIGLQtfEAkPYbu/NTJUbV1BxgcOeoD5rPFRQCqiidpoZHWxYI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4VPAaHEoqYkMz3Hik= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB275; 7:10uL32KatbVF5DSGLvJsLm/4Ba4LsmFC1jkdDsPXHHNApPAyay/0Kv60bzSo9jSAgB6OXyR3ybS+RhVT+DdFUBViUdlIpatns03CZVKFlSIi3xzeqym9yJFPS0kDlBm/371sY0Wl3MXG1NKzd9MI/+hu6k2kmzlJUTm4Kq6FaFfffpl9VhQxNlp19WkUPX8M9sE6UmHT9JxtIM/hYZRc1DQfsli3zr709LBOZANW7hVGqlU5pzKcNBWjPBpnYNjC7AtjKmZskzearER+TFZBVLZQcVoZhhaR2758TNCN1sJoiP5hCjE6QdP9QTFsnaLh4fHMLyRfMIIt0jnLFFcMEg== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Apr 2017 07:49:01.3895 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR03MB275 Subject: [dpdk-dev] [PATCH v3 17/21] bus/fslmc: define VLAN header length 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: , X-List-Received-Date: Sun, 09 Apr 2017 07:49:05 -0000 Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h index e5c8761..4e25803 100644 --- a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h +++ b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h @@ -43,6 +43,10 @@ #ifndef true #define true 1 #endif + +#ifndef ETH_VLAN_HLEN +#define ETH_VLAN_HLEN 4 /** < Vlan Header Length */ +#endif #define DPAA2_DQRR_RING_SIZE 16 /**