From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0084.outbound.protection.outlook.com [104.47.32.84]) by dpdk.org (Postfix) with ESMTP id EBBD458CD for ; Fri, 16 Jun 2017 07:33:39 +0200 (CEST) Received: from BLUPR0301CA0013.namprd03.prod.outlook.com (10.162.113.151) by BN3PR0301MB1185.namprd03.prod.outlook.com (10.160.156.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1178.14; Fri, 16 Jun 2017 05:33:38 +0000 Received: from BY2FFO11FD031.protection.gbl (2a01:111:f400:7c0c::111) by BLUPR0301CA0013.outlook.office365.com (2a01:111:e400:5259::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1178.14 via Frontend Transport; Fri, 16 Jun 2017 05:33:37 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.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 BY2FFO11FD031.mail.protection.outlook.com (10.1.14.196) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1157.12 via Frontend Transport; Fri, 16 Jun 2017 05:33:36 +0000 Received: from Tophie.ap.freescale.net ([10.232.14.39]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v5G5WNFb001003; Thu, 15 Jun 2017 22:33:34 -0700 From: Shreyansh Jain To: CC: , Date: Fri, 16 Jun 2017 11:11:08 +0530 Message-ID: <1497591668-3320-39-git-send-email-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497591668-3320-1-git-send-email-shreyansh.jain@nxp.com> References: <1497591668-3320-1-git-send-email-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131420648171260088; (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)(39840400002)(39450400003)(39860400002)(39380400002)(39410400002)(39850400002)(39400400002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(9170700003)(76176999)(110136004)(38730400002)(50466002)(54906002)(2351001)(106466001)(105606002)(33646002)(36756003)(4326008)(50986999)(104016004)(5003940100001)(48376002)(8676002)(8936002)(2906002)(8656002)(356003)(498600001)(81166006)(5660300001)(50226002)(305945005)(53936002)(6666003)(77096006)(85426001)(6916009)(86362001)(47776003)(189998001)(2950100002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR0301MB1185; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; A:1; MX:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD031; 1:WILbAP8OHqG8Og/g9Nm8xHXrN348cjaj0iXaInrwSPlezgcLnqKyLYnLuEf2LoGpeJ+WmO0iJ3P2XI0QkxRjqjk1BN2SnHMsGy+BvjkIzCthyQsSz2l+2fvEGVd2o56J2dM7c/iqL11GEa7owZ7w4raLvyCwhAFqvEqSWf8QBP1SF4bfNiQhB+ZfaRViRaygJ6jT3qOyTNf062/c4yu19U+zgQM0/xUD/HzlNEYjcmqg7xxZedxG70bt0sXZU4loOqzoFBwxVyZpZSu6RMTXiDZH4gHzQcp4RNwEZJ/zFhk5es3GExfghVYBuAHIh1lmhxY3hEil3qfBfZxLchgMu6POzOQMQ2HxSVOBJOBszXelXZ9hqszvMqNFaB9n/Y3rRd2uW+Po9qK99MzayXQmLIqJRDkzFQMk5BErtCnkjEJgxJEYKlqGY7GBTFKmo3NrQ7R/rTDLBrrge7NShTgz6jQSSjrqVmcH38z2Fpxg3igyBBNgjJ4JR0+iOlb+OvlXjTf2u6lFJy3UlKW1PPhskGJIrIdza/hbS0+G6czjq9n6HVq6TOkcGH1up4btTKIo1BdLPTUeOkiOypQJdXcS0m4ySO400JOdZDl89XTcp8/eb6LyOE87xIy8r5er6HvRe5qsF4QqqQvorXr8oLVxrvQtzmuEImjkQfvTUu0cYhlt2KdTxw4QVZAm4IfiB/gxRVUZSTK2VcxXxjnNfVQIYfPVHWT93R/af8ldsjWhhsE= MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 22cf7775-4e6e-416b-e757-08d4b4793cda X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131430075)(201703131517081); SRVR:BN3PR0301MB1185; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB1185; 3:sOOxN/SKnNtjDmv1Ck/Ig5lJACUFgbOLSALAB00O39myndHa83UGiau3T+rBSl19QzM1wrCGMaShz92s/SZXzPVmMXnIUEksIQXFqI6u5wrcO/5+LJGrNIFc9PqN1M5U+qOqQRFEXPBSbaMVd6c5AuwJhbSPykaKMvaJSIqmKG8ErVC3qgM3DerPFrL1o99kKRLwItjMBDdbR6Eu3e5IsuIbvgAdS0yyekKLUPr3QY+5ghlFPB7xo9DcJFgIx1i9FzZt1wsFmcCDk+2EMoftgDusr6cp5m8y4HEKPHORpvSv033IPzHEVv4cFWROafqdNi9+pWXlXPLi+D2RzHpeepa8pNWK/DfNraa+SYoXcfNvoUzRfgk2lJzzxxSB0M4xIfhSKF3fpc+T1++M6AGetWQ1QzrdJ4h7JWNEPbps4iHB8KDiOXbuUc9rEriut8lr X-MS-TrafficTypeDiagnostic: BN3PR0301MB1185: X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB1185; 25:dQpVg5/roMsPTZ5RMx7F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dInYe5uq80K8ITriuNj1skjiFS1Yk2WgMhBr+DchGYuBCC9XRNT1Q7Ao0FeR72AUWxBd+nz2/xDTuL+aKWCdXy0CPlX5HGoM7P75FxkBy6Ok8/30YgLmAfGfGbTIPYWGL32eBmW9Fq7N38Axje0hrdGgTC8lvUD3l4860854eEUOx7PubmJdDFUFjJMpOcIRpJ1he7Td6oSCLmY4DvYYpVYSA6OBvydC485wn3OBo/vRkFlw5RfTRcCHlKguzU7nXyqXu1RDCc04MubriWqLIyYrxv+aJDR/+ifEKwXCx4XaN2/cSqC9OX4o66O9sw8gsUERx1dd6pZgOTjN55T9vkXj2MDbZml/WBS0dUrHJ68uSSKu8/Hl/dc+v12FiXBO8cXdED2IHMpM1QTOmzxmllUzv+ymw0YoLlfc3ZFTP3tMwVVY5extS8rORTc7Up3fwAp0GRLypN3Xq5dus85EvbuPVOtAtu4k4iEIVtFQPIJMDm+xzk9HwRN1YEaansXuXWiRDNrcUvAD91zB/AYhfIGnZeAetUXOyCA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(13018025)(8121501046)(5005006)(13016025)(93006095)(93001095)(100000703101)(100105400095)(10201501046)(3002001)(6055026)(6096035)(20161123565025)(201703131430075)(201703131448075)(201703131433075)(201703161259150)(201703151042153)(20161123561025)(20161123563025)(20161123556025)(20161123559100)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN3PR0301MB1185; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN3PR0301MB1185; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR0301MB1185; 4:EYhIR6pUnQGFjmIUz5fEh2FvA9VD1EDBVtEqUo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5HMveESrn2LqUTrotlgoDFgG2vUe2LAfVl9H4WqZ?= =?us-ascii?Q?vaVs3NMNHfPkgYvl15F6AOip+rsQQIIFB7ELt49bAnj60lN0Ab//t9bJd628?= =?us-ascii?Q?fEhEaLoPqJs5JgcLlih4mPt9yKTa15w7/Q+x/r44twW6RN33NjYMBL/qW12R?= =?us-ascii?Q?Qd6pbSIXRn/L/hB94+a9U+4/ANQDQJKTscv1fWm8mBAc09wgzjHZiOGzJn+d?= =?us-ascii?Q?t5tQRWC4jpJQgjLI18xbHzq/ZveumFIq5TNDA+Z+6WTW3kr6+qdAxiq30sWt?= =?us-ascii?Q?vU9cj3OGentu4oW9WU7ekUNcLsJxINDIfYn1MePxECijwuuk8/m0d4Slpuaf?= =?us-ascii?Q?UGzlgytgiXi/+hLYVnLuD1anlEGYeC9fuxASAsbw?= X-Forefront-PRVS: 0340850FCD X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR0301MB1185; 23:ERPE3HKBMBOXLjrIGHSQfJSAuH5d/ZsyCWTRJeF?= =?us-ascii?Q?jp8Rfqbv/jd91el4dPBvZPZopV2bnomute5C4DpnBPHIbaa6ON0SXgx0ftk7?= =?us-ascii?Q?2/8EpPW4GyerwmEwJNh6tpFCb0wVn3/TEhtEQ+GQQpoC3+ZSI5AYIuZxuLyX?= =?us-ascii?Q?w06Nb+aN0qeUdwAzsQNERtsx2tvT69d1NGUjh/XvqNplLahThR/Vt0H184Nx?= =?us-ascii?Q?M60AlWrbaUVaDiUU0RvsuBgjScZuNItfMobyMUiEv1CBEfyOlujmy+jgSE3a?= =?us-ascii?Q?57rkgCj5gaf8Wp2Ktlh/ycv4kdgvRCKGMnxHmCUkPCFXGj9q+IYjMM2zmwCH?= =?us-ascii?Q?IXVAV1NqXSrR6vBsEyK4shyQWepezYt6zsmBXWl3ty8NwyJ5wvwsoAZ3GHDz?= =?us-ascii?Q?jysyiwwwgmAz/iTJqOfnOrWYgU2CsKmV//sXFsRMLaouO6wnp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w765LkqhNXNFnJLmuC3M5ofwl4pVSNUUGahR+m4SXd77NhTU4XKI5y?= =?us-ascii?Q?w2kSJHpBhyzY9x3OTg0TEtjAm4EFU5MST2Bta51pDA=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB1185; 5:D47gTcToWi9DgyUHcy2uOA58byOaFxQ2Ce90KjDImmTEMyHPtpn3DqCamo3xMpgRhBfNaonvOEVK+Uz5X6iVOQuenY1uDsQxxtw+nQjwlUeyVTGrtLW+1joLpXrCO77CdS5NL7Bzh5Xt8p+5/UWWHxFebriIR9+iwsQ3JUggPG39OTwNJd3udU4EaX3gpD6jkCxUmkpa2TBRtqCg4EKBWdOZU7LAV4Vlerqu3B7oX0tZaa2GriBgYAu1M7sQE6nyCjl9MNqCEo/abwGwlOGqRU0u/zBUr4B9KlvvSyiO/BjZgqxz2VjyMnQ0SVpjSu6XdfunbcCLQkDI18g4SQlP5DbeM2LheBuY+5m2JgIDcJI6F6ZIL24a75jsu0X5Lpulk9DI3xOqcaExMi94qPxaaQgsTQJTocppIJAfg+YOwqF9ffWBTDaY7ru5s+MECQcr2wXmPI6DrKQyuZVbY1C4mi6vQ+qtV0TwweC0qgHNVkHZnN14adD72SH8cIuQ1H+sS4sw0mCaLw5puAyeVFJcBg==; 24:4VKluT+g4rEe4mqtMtL+4Buyri3ZelM+vC17/OfGt9fw0S4W+pTaQJeH988R3Uad83RTLyWLG4oYfPZPC7JBvkskemIq/QxaYDW0HDsUtQw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB1185; 7:bq3zFYTIo0CPvSp7xhlnqaSduBQr1lBukm1aG8GxJj0NQVkF951E7QUmbhU0/WsIVAww9NaanIJ60UHszseWbDzZeMEzv2Via/yDwirlyiRQkgie2BW9fS+eIIqTq9G/baH1E1HN+TJLl6YIsn1+FqgjMhUeNlBBV2AfkGdD72GQTzXnmHVXjdeQ133WDr/Dd76V4IyBAdZr6R1CkNGyOFX8Z477NNVQp1Zjhe9WpKK2HNYbOf+/Wgq9gvcEffl4Z7PA0C48ldrdwrcg/Z0EVxeU2gXpZOyXI2YQpO5gKZAFBbVp4VR1N8KVtb0FohpR0bBEK4egkBN3zZj5I9OyDJq+agRALP0AWBjuR7l4wp/4aYybAxQLgEcblqiwK3R8B1Z3AJJSE27Oo7atlGLkDzpbSgDqe8XMPF21SqWs4iDW1FsUPVDUYKW1tONwEreRxKii+1P5QtejVVLkSmZ2Paa3QjWtm+THlzpRSgQ0FWJYMDReM5gB9ZzOQH0QQgd5mN1xvfisNoKrd86FmV5S4fYWiqbYfqMXm71Cj1YszpC9N69Igt2635klbSn44BFI//II0lC0gsMh+H7NPBj4G3VUh5AKJ+eiyLjWAT335xRAxmicZMyR8/CEWMPTuV8CY0Kz21xeLcQBYrBk/kEg/fLkaw6ChMOYhTJ6h1lB8LNRop+seabkSHUW0fcmLWhsIj/8/Dau20jzYexJGclcqONnneyhpJPZ9rewJAU96z+KFBa+AX/qjc0SGOM6odh2ZyTE9axBp3JkONcGD1HN1GhP5owa2UDgIL2Eqaxn190= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jun 2017 05:33:36.9076 (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: BN3PR0301MB1185 Subject: [dpdk-dev] [PATCH 38/38] net/dpaa: add packet dump for debugging 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: Fri, 16 Jun 2017 05:33:41 -0000 Signed-off-by: Hemant Agrawal Signed-off-by: Shreyansh Jain --- config/defconfig_arm64-dpaa-linuxapp-gcc | 2 ++ drivers/net/dpaa/dpaa_ethdev.c | 42 ++++++++++++++++++++++++++++++++ drivers/net/dpaa/dpaa_rxtx.c | 27 +++++++++++++++++++- 3 files changed, 70 insertions(+), 1 deletion(-) diff --git a/config/defconfig_arm64-dpaa-linuxapp-gcc b/config/defconfig_arm64-dpaa-linuxapp-gcc index 4530e18..d74af89 100644 --- a/config/defconfig_arm64-dpaa-linuxapp-gcc +++ b/config/defconfig_arm64-dpaa-linuxapp-gcc @@ -51,6 +51,8 @@ CONFIG_RTE_LIBRTE_DPAA_DEBUG_INIT=n CONFIG_RTE_LIBRTE_DPAA_DEBUG_DRIVER=n CONFIG_RTE_LIBRTE_DPAA_DEBUG_RX=n CONFIG_RTE_LIBRTE_DPAA_DEBUG_TX=n +CONFIG_RTE_LIBRTE_DPAA_DEBUG_DRIVER_DISPLAY=n +CONFIG_RTE_LIBRTE_DPAA_CHECKING=n # NXP DPAA Mempool CONFIG_RTE_LIBRTE_DPAA_MEMPOOL=y diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c index da14a1c..e34f891 100644 --- a/drivers/net/dpaa/dpaa_ethdev.c +++ b/drivers/net/dpaa/dpaa_ethdev.c @@ -624,6 +624,39 @@ static int dpaa_tx_queue_init(struct qman_fq *fq, return ret; } +#ifdef RTE_LIBRTE_DPAA_DEBUG_DRIVER +/* Initialise a DEBUG FQ ([rt]x_error, rx_default). */ +static int dpaa_debug_queue_init(struct qman_fq *fq, uint32_t fqid) +{ + struct qm_mcc_initfq opts; + int ret; + + PMD_INIT_FUNC_TRACE(); + + ret = qman_reserve_fqid(fqid); + if (ret) { + PMD_DRV_LOG(ERR, "reserve debug fqid %d failed with ret: %d", + fqid, ret); + return -EINVAL; + } + /* "map" this Rx FQ to one of the interfaces Tx FQID */ + PMD_DRV_LOG(DEBUG, "creating debug fq %p, fqid %d", fq, fqid); + ret = qman_create_fq(fqid, QMAN_FQ_FLAG_NO_ENQUEUE, fq); + if (ret) { + PMD_DRV_LOG(ERR, "create debug fqid %d failed with ret: %d", + fqid, ret); + return ret; + } + opts.we_mask = QM_INITFQ_WE_DESTWQ | QM_INITFQ_WE_FQCTRL; + opts.fqd.dest.wq = DPAA_IF_DEBUG_PRIORITY; + ret = qman_init_fq(fq, 0, &opts); + if (ret) + PMD_DRV_LOG(ERR, "init debug fqid %d failed with ret: %d", + fqid, ret); + return ret; +} +#endif + /* Initialise a network interface */ static int dpaa_eth_dev_init(struct rte_eth_dev *eth_dev) { @@ -691,6 +724,15 @@ static int dpaa_eth_dev_init(struct rte_eth_dev *eth_dev) } dpaa_intf->nb_tx_queues = num_cores; +#ifdef RTE_LIBRTE_DPAA_DEBUG_DRIVER + dpaa_debug_queue_init(&dpaa_intf->debug_queues[ + DPAA_DEBUG_FQ_RX_ERROR], fman_intf->fqid_rx_err); + dpaa_intf->debug_queues[DPAA_DEBUG_FQ_RX_ERROR].dpaa_intf = dpaa_intf; + dpaa_debug_queue_init(&dpaa_intf->debug_queues[ + DPAA_DEBUG_FQ_TX_ERROR], fman_intf->fqid_tx_err); + dpaa_intf->debug_queues[DPAA_DEBUG_FQ_TX_ERROR].dpaa_intf = dpaa_intf; +#endif + PMD_DRV_LOG(DEBUG, "all fqs created"); /* Get the initial configuration for flow control */ diff --git a/drivers/net/dpaa/dpaa_rxtx.c b/drivers/net/dpaa/dpaa_rxtx.c index 9af3732..ee82766 100644 --- a/drivers/net/dpaa/dpaa_rxtx.c +++ b/drivers/net/dpaa/dpaa_rxtx.c @@ -85,6 +85,31 @@ (_fd)->bpid = _bpid; \ } while (0) +#if (defined RTE_LIBRTE_DPAA_DEBUG_DRIVER_DISPLAY) +void dpaa_display_frame(const struct qm_fd *fd) +{ + int ii; + char *ptr; + + printf("%s::bpid %x addr %08x%08x, format %d off %d, len %d stat %x\n", + __func__, fd->bpid, fd->addr_hi, fd->addr_lo, fd->format, + fd->offset, fd->length20, fd->status); + + ptr = (char *)rte_dpaa_mem_ptov(fd->addr); + ptr += fd->offset; + printf("%02x ", *ptr); + for (ii = 1; ii < fd->length20; ii++) { + printf("%02x ", *ptr); + if ((ii % 16) == 0) + printf("\n"); + ptr++; + } + printf("\n"); +} +#else +#define dpaa_display_frame(a) +#endif + static inline void dpaa_slow_parsing(struct rte_mbuf *m __rte_unused, uint64_t prs __rte_unused) { @@ -348,6 +373,7 @@ static inline struct rte_mbuf *dpaa_eth_fd_to_mbuf(struct qm_fd *fd, return dpaa_eth_sg_to_mbuf(fd, ifid); /* Ignoring case when format != qm_fd_contig */ + dpaa_display_frame(fd); ptr = rte_dpaa_mem_ptov(fd->addr); /* Ignoring case when ptr would be NULL. That is only possible incase * of a corrupted packet @@ -491,7 +517,6 @@ int dpaa_eth_mbuf_to_sg_fd(struct rte_mbuf *mbuf, fd->bpid = bpid; fd->length20 = mbuf->pkt_len; - while (i < DPAA_SGT_MAX_ENTRIES) { sg_temp = &sgt[i++]; sg_temp->opaque = 0; -- 2.7.4