From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0063.outbound.protection.outlook.com [104.47.34.63]) by dpdk.org (Postfix) with ESMTP id 11A76CFA2 for ; Sun, 9 Apr 2017 09:48:58 +0200 (CEST) Received: from CY1PR03CA0026.namprd03.prod.outlook.com (10.174.128.36) by BLUPR03MB391.namprd03.prod.outlook.com (10.141.78.21) 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:48:56 +0000 Received: from BY2FFO11FD032.protection.gbl (2a01:111:f400:7c0c::168) by CY1PR03CA0026.outlook.office365.com (2603:10b6:600::36) 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:48:56 +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 BY2FFO11FD032.mail.protection.outlook.com (10.1.14.210) 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:48:56 +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 v397mBLY024015; Sun, 9 Apr 2017 00:48:53 -0700 From: Hemant Agrawal To: , CC: , , Date: Sun, 9 Apr 2017 13:20:18 +0530 Message-ID: <1491724224-6319-16-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: 131361977363489811; (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)(39400400002)(39410400002)(39380400002)(39850400002)(39840400002)(39860400002)(39450400003)(2980300002)(1110001)(1109001)(339900001)(3190300001)(189002)(199003)(9170700003)(8936002)(5003940100001)(76176999)(50226002)(50986999)(86362001)(4326008)(36756003)(5660300001)(105606002)(106466001)(33646002)(104016004)(50466002)(189998001)(53936002)(48376002)(305945005)(2950100002)(6666003)(54906002)(81166006)(8676002)(47776003)(77096006)(38730400002)(356003)(85426001)(8656002)(2906002); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB391; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD032; 1:I5fS+GAonLtTCHKhiWjDMQwS1ukWj7+B/ZtzHpQKf+WLIwE2L/EM3iPgfnNk9K5+dUTkLFPZ0kZZybzHHkpCBElsDYRWebpDADNesire+H1p8N4P1ibYM3PmEa2WfI+hINwio0xOXD89JhJw/yRHwTIN+T4tAWjjmRFnQOcNQ/V1n7DHTt7g3Ud3nQfvdCJomeIa8WiffLl5ieTTiJPuCNBqd3GsvPgMJEHl/iP33yi7epjQtcUw1AKXxZ9rquKT6Xp1VrIo8I2jWhrOWr0K7u97cJ2Weyy/Zggp8MfQ0yIxZ+7ZLAyh+f5mjqVb1TzWOEUB6R2rRWja1K7JMCcEebfQVG8xeSY8CmFXk4sKwOwLNn+3rcsNXswOmu/2uogjZneXMApVkOjjzQB0aAcKjzTYL1haOgf0t4oDQfsoYiVuF/4hmalxD/2+6uVN60tRa7dCtpnaZm1JDpDy4PqFm09SYFuN4FiXV33jkBNRHE6DpRDBEL8nZBvwfK79Pg/gDhe57kQYKNaSKceVRar9ISroC1erP69vX5EPAsr+d8mBvMEAI+2+cQrTp+BIKT17ctU6XcRjcJ2p/Ek2EaXBR0e7ZzqM2hU2rqAxprTYXR3eSNyT/UnA0mdldBZi8sr3xgrePVs9HOg5PRJXNOlbWGUm2NItrmjCVFPuPADGqkYwTtxBocDPHYpjNZIYFwaC MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 68e9301b-ac38-4f3b-590b-08d47f1ce022 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131430075)(201703131517081); SRVR:BLUPR03MB391; X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB391; 3:VY/FHAWRKNQaCM28mmV1A5tbPbGxAZY/P5gekDn8rLhtyYXJg3ZKGIh0e2LRsQng7y+0WP0A+Y5FmUCNui3TymRhGc6oHr2LvgwaIVoafnBpdfs0WeJ5a/c9DjTshI3/D8V0ywRTTjk5cQG9BKIB8GbHzC4fL9q6T17WI5tVMWxhLqehQNERhtLA+xdrxTtUaRybF6Ci1ieA7e6m4KNF+hYgEEAd8TP1P019Y8Xa6lQY1TcLaQn7b/6/PHWQ6W1yB17d69h8lJRkuAGxRp6in+jj63C7/9sv+Lfmffzp2aMbtCAMonXDVC7JtzvGuauSEcZY8KHXAGGl4Q/m1rLDAgugB552upDUsNMoVE61XrodQfnwVTiHGcXtJvo811UHe22ns+PDd2JUHAN+x4/ijwUdEobvnkzUuB60vv8GQhyrDeUXgvCk/Rrtmc3bJAk0; 25:DC/1VtH9RAz6TnuuXgYSp5dePargLeqZlA6xaIxh6ut9uCpoFehuCQHzhj/nq3NpYqGTi+6R7XeNPpN8mYDsGeyRblfYgtpR8ZycLl5nj+Dg8ZPTen9Blt6YwDXubHFCSxDqWkaoSJyBlDGeN541bK+/oOX5R6GB7hK/2JhMiRvb9Sb6lEv7/W4nO0fkBjWX8MIAIm7+6EVwPaBPCoF7ZddUZALNFNkoZdbLAq6NKLtSCP/LnLF+lOy1u+tj1UhzEugOmIwfzW8KQI5FXaSzlGb97808+go8a9LYPmdN0N2kz9UPxH5jh+72Mpj4HAxS46Ds9WH722778lVYYwurQP8lhyO/kaDMQGGqvGskMznVoUkwYkk6CG1DwccDgecTX7xTvs91Cp7xnuDVhHFhy/ubxKDJ6OZczbIvQYXYU9ODXbNJtND/cq0nptuR+5xrQ4uVw3eei8wkQmxuf/bCaQ== X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB391; 31:RLEpQv5e9Ng7UffZsCL+drfV1SwK47C+WIPuRqDa1YjA5aguhcsuDw7iKS+WzeH3Rgba0IkPUmWjJPotmlZ6tRgYzxbTPsL4H5Dk8AKM2gHagEr74fbkdy1GxOQBBRB0Vs3jBhBzoS/cFTXUyLZgIlbr3O2GGFSbIzGQTJRluz+n7yT7AGfnexiuiMoBJi+n+cAS6n8C59QLtF6VmuiXSgdHtfDjTpZNow9TvWtwuwDPpGN7XAEfKw57+lO45yxjNq+OpqnVT0aqJ4zkrhyVqPHbn/dWk+BuaesFY+P2xoY= 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)(13015025)(5005006)(8121501046)(13017025)(13018025)(13024025)(13023025)(93006095)(93001095)(10201501046)(3002001)(6055026)(6096035)(20161123563025)(20161123561025)(20161123556025)(20161123565025)(201703131430075)(201703131448075)(201703131433075)(201703161259075); SRVR:BLUPR03MB391; BCL:0; PCL:0; RULEID:(400006); SRVR:BLUPR03MB391; X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB391; 4:wmYoOG48CR2ASirDusxudfasOsz+VKDSjJVvvaquF3Tvtp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XbNLbHXS/Sg8Po2axbgoPOU/Z8RUcjk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB391; 7:C9xKNvfpHwrhK5Vh2wNi35s+YUui+lEJRCjEjdDeyJ4fzsQQyf9YkE4zjCv5FKfaAWnXWAxb5cKbjCkoiJcuA2zmkvPY6wWMgnsYr1Rzkoq6CbUHxdTGEgPsaYVgM7TkT3IYBrwkTDRsr9uOD6zExRzAg7Gc05mk0Z6c5dCglidXs9f9tdNk3MTP4tACFLPdseBDNGoQ3mF4Ljf0d6mLMH5d1PLPIw5csri6GtSlXG2iMUzrDV0xkiLenjSKYN20Y5WhvvO9K2eJpDAsJevlkXU+E9XuD46nRWbduk79M30QXD2szjr00F+Yh35BwjGOuq9LjS0nVijJGfBSQo/Z6w== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Apr 2017 07:48:56.0369 (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: BLUPR03MB391 Subject: [dpdk-dev] [PATCH v3 15/21] bus/fslmc: define hardware annotation area size 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:48:59 -0000 Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h index b230e78..9ce1a9c 100644 --- a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h +++ b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h @@ -48,6 +48,16 @@ #define DPAA2_MBUF_MAX_ACQ_REL 7 #define MAX_BPID 256 +#define DPAA2_MBUF_HW_ANNOTATION 64 +#define DPAA2_FD_PTA_SIZE 64 + +#if (DPAA2_MBUF_HW_ANNOTATION + DPAA2_FD_PTA_SIZE) > RTE_PKTMBUF_HEADROOM +#error "Annotation requirement is more than RTE_PKTMBUF_HEADROOM" +#endif + +/* we will re-use the HEADROOM for annotation in RX */ +#define DPAA2_HW_BUF_RESERVE 0 +#define DPAA2_PACKET_LAYOUT_ALIGN 64 /*changing from 256 */ struct dpaa2_dpio_dev { TAILQ_ENTRY(dpaa2_dpio_dev) next; -- 2.1.4