From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0080.outbound.protection.outlook.com [104.47.33.80]) by dpdk.org (Postfix) with ESMTP id ACD931B759 for ; Tue, 3 Apr 2018 16:29:37 +0200 (CEST) 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=vmAojxb5EBca1OsuQHKvXTD/bXITeGjBpDHADUd86+8=; b=S7pIRo9CCIJ/CghMX2r0zF9yyOWPywI6XCf2BsSY01QUgU3TWvUAkN5xwhQ6oSYJw1pbqp6HN28zjDL1+6e3U5rQsQ+w0L2im1gKPbbTQJTdqwd5eArfpYRIPzo5iaF6BzXPaYFE6LnEmcY8+u84kkiTwCiH4T3NE6FNY8+nB2Q= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Anoob.Joseph@cavium.com; Received: from hyd1ajoseph-dt.caveonetworks.com (115.113.156.2) by SN2PR0701MB1070.namprd07.prod.outlook.com (2a01:111:e400:341f::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.631.10; Tue, 3 Apr 2018 14:29:32 +0000 To: Akhil Goyal , Declan Doherty , Radu Nicolau , Wenzhuo Lu , Jingjing Wu Cc: Jerin Jacob , Narayana Prasad , Nelio Laranjeiro , dev@dpdk.org, Thomas Monjalon References: <1519896103-32479-1-git-send-email-anoob.joseph@caviumnetworks.com> <1521630685-5179-1-git-send-email-anoob.joseph@caviumnetworks.com> <1521630685-5179-6-git-send-email-anoob.joseph@caviumnetworks.com> From: Anoob Joseph Message-ID: Date: Tue, 3 Apr 2018 19:59:15 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <1521630685-5179-6-git-send-email-anoob.joseph@caviumnetworks.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [115.113.156.2] X-ClientProxiedBy: BMXPR01CA0007.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:d::17) To SN2PR0701MB1070.namprd07.prod.outlook.com (2a01:111:e400:341f::16) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 602fe7f5-7e51-4a7b-d057-08d5996f530f X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:SN2PR0701MB1070; X-Microsoft-Exchange-Diagnostics: 1; SN2PR0701MB1070; 3:MYiRWyR9+VCBmmnllWd7CuhA9EpH6df9wtmIG0jfcu5tWUbX+nGnt/eWQk4Idkm17axlCfsYdOXu667F9GZfCC8dYQDu0pJTMQGw/XJdvoq3TfvLmKWUJ0eD+0PFJwq2+nzSUOgLImKr56o1Q36G2wTe8qapwymwvexGXYqaDTKB6PCZnKHJofpW2l8epzkTLdUPNEL6pTSqn/382LBIM9sMBPyaVT7Gwe1wktTJKq++5QviFlahhM37sGnO0fRV; 25:pGDAebtnXa2iPlGVpKwAbiRMoELOyvXriGNNJFZ8NtAdG3KgQE9b37r4FUbHyoi9gec5cJjcq/Q8psj4X5XqVP6kN1BUsb+gDifSNUcVZVcCIfLcxQN7CNPMDmSEYZnb7Qd7XS/7bHlE82+LEhqevQ6/21961Xa0qbgvfGVA0zogZkWW3Wm3YgH2ubpxym1f9egEWAUBwZItLzTcIyeOm70FKKdb5UQHKI/imtM0A+1/XX0QxLTOmfOH/stbQDix7OCzUvc2wNJPRg7rKFalUZxBD2tvjffZtZwujcC+ZOuWKmwR/e03oIG87Pas8bArNw6/kKdtJEkqCvuA5kYx4Q==; 31:eCngdpLf15loPUDtVR6Ms5hVen8chsyK3rpQaBiXw/Ofarkp5y2/loQX4QDs12oxodYrf0wSHwfIXGISKvjej+dZ6ELeAscVHCsXZvKTguu8k3lKaqpiSfp/QCWxupq2sbth2tb+T3yvEjy+oIOO4ObxY6FJlN/k1nLKjIdfk40J2AsgKht+PiayEVMBTU5LEnmYbxf9aDrOtqBpAZIPGfW8W/rnxccphwl2tKxBSI0= X-MS-TrafficTypeDiagnostic: SN2PR0701MB1070: X-Microsoft-Exchange-Diagnostics: 1; SN2PR0701MB1070; 20:bgiJu8At3b54J1CH+X0rCZC55H7OFWdmPHITOKNSmOagzXSoO7O0Haaz6xyuxOJiTQDGSIsra+k87L4Nz94DKFX5eUoT4hsYZEXy/pj+UapqBfZ//MykHZmxcx+lBYY9WsmHoaP7NPVCu47GxIPsRdZV4nHJqq71pSSmbOsOqt4k4hC5IRmUt2InfeDFqCEC+Dc1U+LOB5thH6xi/8zktKE+/c9rF/enjkngw/LJmbHbHuFkHy40tAqjYeIgigb773V5MSCqHfksbNlGTbO4uYDvFX3XEn+rusbnMVdoBlmnucALvapg7puIpTqVAim246UALQi53gp5TLoszaLwt2QpZP4wyaeV88y3d8nNwmoBk717d/6i8vhtawqy8wtvDojRezNcaSN7VxKqkod1OyCnyXtjObVHPhCKXMFV78oF1ulhaJdA7kDSnzzAQHsZJ4565sMcI3yZu+6FRNfzgtbsOOlmxal9+AHGdetq9gJ5mpxxS/VPx4RFHA5w2zgN/GnUw9f8zztPo2gVVwO3vld4oPr0gMszaR6LzknWpYTLaOH9o3MTs7Q+be0d7UUA0detH28WqhIlnc9uWDX3hDPc/LlToCxXf4r6LczY/YQ=; 4:+OC+3DhX55EdTGhvNr7DC3Pdhei9SrqFi1QxFQYD35n+DdsN4SLJp1IhdlCoa20oorG9GAFlPisevt1WW3nqtIREleIrQR35pu5OexJnuiZ5Tb3RkMDD+UG518FfRHgnfcMZFG1bLgm7/ki+AgO0GMpKJOUFC+3Jfg8GLOFUg6A8ylIUfe+rKUTyV8mmmBPZDcvbvWhohYITk5OzKPmiUbjU8lvkoqw2q1l80PURvfhNbFIR3JVueST1DqfIpGMMbBIyskZv0f01HTIrrdTyvQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231221)(944501327)(52105095)(3002001)(93006095)(10201501046)(6041310)(20161123562045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(6072148)(201708071742011); SRVR:SN2PR0701MB1070; BCL:0; PCL:0; RULEID:; SRVR:SN2PR0701MB1070; X-Forefront-PRVS: 0631F0BC3D X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(376002)(39860400002)(366004)(39380400002)(346002)(199004)(189003)(26005)(105586002)(106356001)(478600001)(47776003)(6666003)(2906002)(50466002)(110136005)(54906003)(230700001)(36756003)(31696002)(97736004)(65806001)(66066001)(6116002)(3846002)(53936002)(316002)(65956001)(64126003)(6246003)(58126008)(956004)(55236004)(305945005)(2616005)(7736002)(6486002)(229853002)(53416004)(8676002)(52116002)(52146003)(23676004)(67846002)(31686004)(53546011)(6506007)(386003)(8656006)(42882007)(6512007)(69596002)(8936002)(575784001)(4326008)(5660300001)(68736007)(65826007)(16526019)(476003)(81166006)(25786009)(81156014)(11346002)(446003)(486005)(486005)(76176011)(2486003)(186003)(72206003); DIR:OUT; SFP:1101; SCL:1; SRVR:SN2PR0701MB1070; H:hyd1ajoseph-dt.caveonetworks.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtTTjJQUjA3MDFNQjEwNzA7MjM6NHY5ZFVDMzJJSElLM255V1BoSXdGKzFU?= =?utf-8?B?NVRrSVE2bFNYQ2htNEdKQmdwc29ubCs0VWhGV1VNUFVEU1kwUGFFZ21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O8U+5guNuov0XIAasPAQEmjeeg+iuJOe8IzMS23nqnx9Lv+DxSOgqHDrKxt/jAosqo+NJ26HOaSSWKczwGo9ppOYtJx7U6w/ecomfnpaiMAGMKcYaqtI9zMG6dz6yi2fdjCU=; 24:+bCJtikL996Z4XboC0C4Bo3p+Ga6McXltpIMZSIzDVpulUr9EHzSV9EeTjhbocMKQJFx6wOS4SADPTUsx4VXUSvZqIXUfJt3txfaNrlwvHA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SN2PR0701MB1070; 7:BJK8mlI35wtVQhRe8ITUNe7neMULpto9w6hbljrOH8iHxSufhqICecsa7cJ/RaEk+PsmXxQbQPvtjXvhWx4Zxb2oDLd/PKVEyD8Cnb1/ypqcI837401lPZ+TcC6JYIU/23HMCTwTd6ebdFNxdkUDzJovKgZ7khy8kCR5keGKUeRURBxM2N3zNzvP+oNEhNO74d7RZ8hTLMBCFiloDltO9PbROyoKoZ2HlcB2G79WJsPTYUO0VTExsOQwIcpVPCGc X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Apr 2018 14:29:32.1445 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 602fe7f5-7e51-4a7b-d057-08d5996f530f X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN2PR0701MB1070 Subject: Re: [dpdk-dev] [PATCH v3 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: Tue, 03 Apr 2018 14:29:38 -0000 Adding maintainers of testpmd & lib/ethdev Thanks, Anoob On 21/03/18 16:41, Anoob Joseph wrote: > Adding support for IPsec event > > Signed-off-by: Anoob Joseph > --- > v3: > * No change > > 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",