From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0088.outbound.protection.outlook.com [104.47.34.88]) by dpdk.org (Postfix) with ESMTP id 688B55F17 for ; Thu, 1 Mar 2018 10:22:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=VlCA4lEJ+CzmuYNto+Utn5wPCStLpyGAcpx8KZ8ICIM=; b=DQtwW7ACkMU33QZFiUVB8CwbYB83V45HJrbVPy54pVU+RytTKlSCusdGjQlZHtlwJinMNOQq1Qbwe1IJ6i7dFEE1EOwq6l321aPGvM5xM32VTJTFDclaLHAo4tEdEWQcBSqh+xhR2nyDdNVqdxHT2oy8OIHM/GzqpoC89kRgtOo= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Anoob.Joseph@cavium.com; Received: from ajoseph83.caveonetworks.com.caveonetworks.com (115.113.156.2) by DM2PR0701MB1068.namprd07.prod.outlook.com (2a01:111:e400:2472::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.527.15; Thu, 1 Mar 2018 09:22:33 +0000 From: Anoob Joseph To: Akhil Goyal , Declan Doherty , Radu Nicolau Cc: Anoob Joseph , Jerin Jacob , Narayana Prasad , Nelio Laranjeiro , dev@dpdk.org Date: Thu, 1 Mar 2018 14:51:43 +0530 Message-Id: <1519896103-32479-6-git-send-email-anoob.joseph@caviumnetworks.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519896103-32479-1-git-send-email-anoob.joseph@caviumnetworks.com> References: <1519191430-19201-1-git-send-email-anoob.joseph@caviumnetworks.com> <1519896103-32479-1-git-send-email-anoob.joseph@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [115.113.156.2] X-ClientProxiedBy: MWHPR06CA0006.namprd06.prod.outlook.com (2603:10b6:301:39::19) To DM2PR0701MB1068.namprd07.prod.outlook.com (2a01:111:e400:2472::21) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 84111908-ba8a-4cbc-06fb-08d57f55f8bb X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:DM2PR0701MB1068; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0701MB1068; 3:VS4dJFq/X+p6j0FrdWcZnRtqHUWmh+g0cfmT9/JyB1DwjL2XSe/9kkxh9XS2xpsnHtJoUMrU8yzUrgWpodKUa2peDUo44z0lh3TvHPwyqWrJ5tWmbF3eW+Q+Kcd159VzjAazlUWAuTpftiUFmfK8zpG/zDay6Ydt9HTVb0BhclmQrkK8G+uuqaAp6M9rqIhSSgYf2cO3oN4dTCnrc+5n3xPjElAJPOiJMB9QaPl396qUOBJ3K5zk2efwn7ioFMyR; 25:1UEcqVOZ6/bGOFnq/fAC5DrnjwytAXBk7FPnLq+SFl7VyqBIBjM9IJa30u2SQdM+hA5LekvamlPkiWRr5cmKK36Idn2JeYoyq2Dztg0HF7D97jGSo7eyPZmJ+dGsy/tvrIMqAGW2Ss1RBfHkDpCPoXLfPXfn1wBvOLiMH1gctwx7jRooOeSHIkIQv8cT1DnYAgVUgrxB5pd8lSl2s/TDO82Dw7vtsq3ZKN3oUnJocDYyxhm1UNJTE+hwcs/VVT94q6Rz2HWqxlqkLQy4F5X8hJ65MXmq7xWMG5bCHJZQHfx1Lcg6BKSo5AB33Xms5BAi2JIbN7Mnk38qpYfFVUhVGw==; 31:FTIObS2mkth00Wh5HszSD2Oxa5x2NP7WYkE/XvAPny/lQ3EGOwYgnCAE1bX1JKIDJE6CZ+VxEzhJHD3y61tJ/0FSyKsJV5ykH9+UlToD12LkEh5E/CrYXcAYfiwwJ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GyN5QRIq1Zu5jUhBk4KF5g== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040501)(2401047)(8121501046)(5005006)(3002001)(3231220)(944501224)(52105095)(93006095)(10201501046)(6041288)(20161123564045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(6072148)(201708071742011); SRVR:DM2PR0701MB1068; BCL:0; PCL:0; RULEID:; SRVR:DM2PR0701MB1068; X-Forefront-PRVS: 05986C03E0 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39860400002)(366004)(396003)(376002)(39380400002)(346002)(199004)(189003)(76176011)(186003)(8676002)(386003)(6116002)(50226002)(2950100002)(106356001)(6666003)(2906002)(81166006)(52116002)(478600001)(81156014)(3846002)(72206003)(36756003)(97736004)(8656006)(575784001)(8936002)(54906003)(110136005)(6512007)(25786009)(50466002)(316002)(105586002)(51416003)(5660300001)(42882007)(6486002)(47776003)(16586007)(55236004)(48376002)(26005)(6506007)(66066001)(53936002)(305945005)(68736007)(4326008)(16526019)(7736002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0701MB1068; H:ajoseph83.caveonetworks.com.caveonetworks.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR0701MB1068; 23:r3Krjc1diG/JmbkPgor43bV7xTamxSsM+SdmuCE?= =?us-ascii?Q?yml+1SQArsQsAibquAaR05yTogsTaWx5W+d0qVxsGvemXpXg3LYy+wucnjlt?= =?us-ascii?Q?w1tBvW7lFLLZafmCP1zyXm+0Z3WjRSI86B+dquv3ZApN2rbFVpb/jHWX6ekq?= =?us-ascii?Q?5qhphwny34JmYJkQisSyKXedrgl9KtH0KolI6UQkUTw35m0qmcP4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jCe6+pam3pQprMQF/aEF4GR++Epyfrsb7WcPUI7Z7x SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Mar 2018 09:22:33.7716 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 84111908-ba8a-4cbc-06fb-08d57f55f8bb X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0701MB1068 Subject: [dpdk-dev] [PATCH v2 5/5] app/testpmd: support for IPsec event 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: Thu, 01 Mar 2018 09:22:38 -0000 Adding support for IPsec event Signed-off-by: Anoob Joseph --- v2: * No change app/test-pmd/parameters.c | 2 ++ app/test-pmd/testpmd.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/app/test-pmd/parameters.c b/app/test-pmd/parameters.c index 97d22b8..7ea882f 100644 --- a/app/test-pmd/parameters.c +++ b/app/test-pmd/parameters.c @@ -512,6 +512,8 @@ parse_event_printing_config(const char *optarg, int enable) mask = UINT32_C(1) << RTE_ETH_EVENT_INTR_RESET; else if (!strcmp(optarg, "vf_mbox")) mask = UINT32_C(1) << RTE_ETH_EVENT_VF_MBOX; + else if (!strcmp(optarg, "ipsec")) + mask = UINT32_C(1) << RTE_ETH_EVENT_IPSEC; else if (!strcmp(optarg, "macsec")) mask = UINT32_C(1) << RTE_ETH_EVENT_MACSEC; else if (!strcmp(optarg, "intr_rmv")) diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index 4c0e258..32fb8b1 100644 --- a/app/test-pmd/testpmd.c +++ b/app/test-pmd/testpmd.c @@ -292,6 +292,7 @@ uint32_t event_print_mask = (UINT32_C(1) << RTE_ETH_EVENT_UNKNOWN) | (UINT32_C(1) << RTE_ETH_EVENT_INTR_LSC) | (UINT32_C(1) << RTE_ETH_EVENT_QUEUE_STATE) | (UINT32_C(1) << RTE_ETH_EVENT_INTR_RESET) | + (UINT32_C(1) << RTE_ETH_EVENT_IPSEC) | (UINT32_C(1) << RTE_ETH_EVENT_MACSEC) | (UINT32_C(1) << RTE_ETH_EVENT_INTR_RMV); @@ -2024,6 +2025,7 @@ eth_event_callback(portid_t port_id, enum rte_eth_event_type type, void *param, [RTE_ETH_EVENT_QUEUE_STATE] = "Queue state", [RTE_ETH_EVENT_INTR_RESET] = "Interrupt reset", [RTE_ETH_EVENT_VF_MBOX] = "VF Mbox", + [RTE_ETH_EVENT_IPSEC] = "IPsec", [RTE_ETH_EVENT_MACSEC] = "MACsec", [RTE_ETH_EVENT_INTR_RMV] = "device removal", [RTE_ETH_EVENT_NEW] = "device probed", -- 2.7.4