From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0059.outbound.protection.outlook.com [104.47.37.59]) by dpdk.org (Postfix) with ESMTP id 7A4484CA5 for ; Mon, 30 Jul 2018 11:36:11 +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:X-MS-Exchange-SenderADCheck; bh=+pSX+NEjVXW37M5/sHmZQ/7KQSQs1uA08y3mTIURm2g=; b=b/SNJTlJtjWIVlAD/nW6ZC1YDPiB4RTINMrXi/W8lqW1RGiuwb4UZJFw/S0y0gQlbEA/tPyqFX4mn7flnB+IYkbrD2Mg8rheEo1mb1aOxs9nNIXriO6qU+YSO2f3rjXV+71Nu37NUypavv/UW4WrqEmyOkKiwgLb1eR08tafArc= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (50.233.148.155) by BYAPR07MB4998.namprd07.prod.outlook.com (2603:10b6:a03:5b::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.995.17; Mon, 30 Jul 2018 09:36:06 +0000 Date: Mon, 30 Jul 2018 15:05:58 +0530 From: Jerin Jacob To: "Ananyev, Konstantin" Cc: "dev@dpdk.org" , "thomas@monjalon.net" , "Yigit, Ferruh" , "shahafs@mellanox.com" Message-ID: <20180730093555.GA22823@jerin> References: <20180729124409.3669-1-jerin.jacob@caviumnetworks.com> <2601191342CEEE43887BDE71AB977258DF51F641@irsmsx105.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2601191342CEEE43887BDE71AB977258DF51F641@irsmsx105.ger.corp.intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Originating-IP: [50.233.148.155] X-ClientProxiedBy: CO1PR15CA0100.namprd15.prod.outlook.com (2603:10b6:101:21::20) To BYAPR07MB4998.namprd07.prod.outlook.com (2603:10b6:a03:5b::23) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d3354b34-9302-4732-8c85-08d5f5ffe195 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:BYAPR07MB4998; X-Microsoft-Exchange-Diagnostics: 1; BYAPR07MB4998; 3:2vf9gFOzNc4fIr1olbhh7IlnBy5nDGQGn+V6Cgtp712VsWLyl/peCKKiRxzo+rIzC0NistIt0A2oWbE9Au/6xNsNUBWU3aDVuHSTRUxcppJ4OTMoWq22jAzSU1m8yK0/gdbVpizgwgpMXY6tiKAP6kEz+tljEfFVaGM5zI+gQczUldUkClA79y2V6LD3yED18ocj+kASOPdgQg0xleCmBuuBWcEQriZyA9j2YT2/BAS03clYd6VIJLTMAN2JFSW8; 25:D6LYettzCt34HHwADWoL2Ay58+of8ZosCteDrZNeNpm8eYrxFYfhAppaFOlt79WdDy0RhGLa6DmuzHUENe3mkrT+eQkBpj2dj4RpaNyijeu8Mr0og1NkSw8I+BzFpzV13Xp+9bfmAJs0Ixwn0kKLOWbGOaRDW0aC0nbI2IZElIT7CdgCY6Qv9uMCgvMi0rPqBs/V+g+fyOWLl5x+oggsEq82f7lsWJG3L8nvCf8Msvb3eYkeONtX7i146gj6jPr+yPx4CeETS/H11imU/LTI9wfszj51JatAHpNpv5PuxDJSwJLzIkxvM8YfhJi4+5MPOw3zG+dNwlnzkBMSWYOMAA==; 31:roSS5rKz0ZiLkvNjLRGc0FY4TtLYhb2QLk4RfY6jFoOlNk07RdfOhFLGIe57H4bAnET4YaOfxUThSYfkBLlS43W2TRtU1A6xLEzdbBKIA0194bzgiI9Xmcmkb9rAsQgAU5uitC/elmURIHwzkebNulf/IlAwrym2XGMuRTOMhLSzWf6SrxFVCgLMk3qAeyuIn3WTe6/31cUfhznn/aT4SXXps4a1qmIQ7H0Ay7uCI+Y= X-MS-TrafficTypeDiagnostic: BYAPR07MB4998: X-Microsoft-Exchange-Diagnostics: 1; BYAPR07MB4998; 20:EUI4dCVSaeoMzM3YfQLXWUtWvEz1rCeXRu9eNkwgixllVaQzl6RPlTq6in8QZWW3tifDfWmoLJvhsmb9tgdfTWy2yqXHrIJSTT721CXVd0uUzmdzeJXpZ2czVda8+uogS3BC2mntKx+wcfxyIyoLYD+A0pdPhb8pKtJcq+FC1n5JPhGvs22OYmj6dICXmjM1RtbjF9ZORJoyHmZGCXrg3fGXS/9v9oXPi1JudJhlpGQPFDYYJvmqAbkNjF6T8eHK4qPe/SbotFfSgQaruVJwM+T9yU8BXsprtZQNmgutm7bcWK8klQPCH39JnIbf5MnYCgTZ45NU3MFPXl5nzZN0ZGGhxg5XZ7lyI1Eb++eSCo12kzAdTzc6A64smDdf6FeBetQZsLFqjSh/LcvHztEsO7CZTyxP1FwV1rzfBOsOPUySxMfJDfYaHX5onvXOKAW7YA08YdtH4cYwR53MJ5rLYUrSncuUwoBnf1Ay3gJutYBbdslfCfrrpg3LpXn4Yo9CRe33ZYaOMOOtM5Uy1ldylInkP97JeWzAV7UiW6UHdeVCL0dhjQ3blGYaDjFKgTkZ0vHliwkjQ/IVMfMve4K4o/d5FetkyQQqSn5/CsswDOw= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699)(17755550239193); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(10201501046)(93006095)(3231311)(944501410)(52105095)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(6072148)(201708071742011)(7699016); SRVR:BYAPR07MB4998; BCL:0; PCL:0; RULEID:; SRVR:BYAPR07MB4998; X-Microsoft-Exchange-Diagnostics: 1; BYAPR07MB4998; 4:zOIoJZdlF8SxxoS9xwTMIO/WEWb7fvZBosWXBbZb5w//ReRi5QwM1/uZ7UfXQWeZpNTvKJhORBr+ggu4dOXuGEDOoHAIoWixgusKI7SGvu/2vqZYuSTQb+CbSMIipBWr41mDKktHL03WRLnTcIYWUCeS0NB3G9pPED6RyfpYpvdl+6Vk+d3uvu37MUTX02wp7lY3qsZHORv23udw501vFf26kdQoF0BAba4lMYjW5Tj/Vj8zBBVwsfq6gRV2iyNzYp1sZroTxMbF5jgGRMP6ehT6XAI9vb8Bnm1qSJ8Id+ue82SD9sDadL+P9/OoLEziDh/kWDkmoEFvqA25j2JHqS5ygRVGHl0b36q+7SkmyhU= X-Forefront-PRVS: 0749DC2CE6 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(136003)(39850400004)(376002)(366004)(346002)(396003)(13464003)(199004)(189003)(16586007)(6666003)(58126008)(25786009)(316002)(7736002)(6916009)(42882007)(2906002)(72206003)(305945005)(486006)(54906003)(11346002)(478600001)(76176011)(3846002)(4326008)(66066001)(956004)(44832011)(6116002)(81156014)(106356001)(1076002)(23726003)(105586002)(47776003)(8676002)(229853002)(5660300001)(386003)(8936002)(186003)(6496006)(16526019)(33656002)(33716001)(52116002)(26005)(446003)(476003)(81166006)(53936002)(50466002)(97736004)(68736007)(6246003)(55016002)(33896004)(9686003)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR07MB4998; H:jerin; 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: =?us-ascii?Q?1; BYAPR07MB4998; 23:57JxaVmUBSeDlIIhRgtKjCYs+BXld4UEwmrQXQVOJ?= =?us-ascii?Q?khetihlT7suKl7Bu7Flisvy2qDZehooBmGZxzXHA1uTqqmaRpHQ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Aeu9X4B36hkjI9s2oqp+WIdKUFFrfO7YHce1FrwMBrzYVp71CSTDcGmtaRWVyvsPRF4+pHNGwk4mo8drMkTtf2NH1EQURINPPuZMtJHpWqBja1xFr+AloVDrRoAEC2qXx1Jd2QDNetu+rqbDnSvHNVlJbDRvduN25plwDq7u+ZHOrycme2Cd4wEzLlB18k20EQTbu//c3GMtJGZsABLL7FKwM3xRDzAu4MBQZgisrRC3oui9eWZXdoTrdyvkkk3nHTZNAk2/C8/EeWZzouQ9Ly85gxILso2YnZx/Lg==; 5:nGwbxa2IegQoeDHMnG1bkyf9H1uuylDXtYyfLlIpLVMX4GxECP/NOmLK5b+EsXj1Tsi5sOYF6qzik5tGy8GNj4ZMolMSictfJ59JGWQK4ra+vH/ZDVpq8J4tWcwGJ9vgJwCoy98c0yTqbxvKXIkheLNE3YWHVuxilJGSA2VG6Xo=; 7:pxOdlSD406Kjoe/RfHU/6hzjhHvd9Mteg8nRM06m8McHAkmqEnNBPegtn/QKMYt0ZioCQ0x3WQM+zMRX/RxtDRxddtEqAUSMugssKTPvu+8lgb0IcrghISDbdPQaIKvLqX3jGy40LJClNELNWj9+kkQWNDgIGNQBK1OkbURaZn2Vxkux6lfViIjL1ORRlHfUN1fgYGhCyRFHfWaagsFNghBa9+l+kCIXcAnOlEwMH9b7eNOYZdsZeHOVLInjAQli SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jul 2018 09:36:06.3714 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d3354b34-9302-4732-8c85-08d5f5ffe195 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR07MB4998 Subject: Re: [dpdk-dev] [PATCH] examples: remove Rx checksum offload 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: Mon, 30 Jul 2018 09:36:12 -0000 -----Original Message----- > Date: Mon, 30 Jul 2018 09:27:48 +0000 > From: "Ananyev, Konstantin" > To: Jerin Jacob , "dev@dpdk.org" > > CC: "thomas@monjalon.net" , "Yigit, Ferruh" > , "shahafs@mellanox.com" > Subject: RE: [dpdk-dev] [PATCH] examples: remove Rx checksum offload > > > Hi Jerin, Hi Konstantin, > > > > > As of now, application does not check PKT_RX_*_CKSUM_* flags per > > packet, so it does not matter DEV_RX_OFFLOAD_CHECKSUM enabled or not. > > > > Removing DEV_RX_OFFLOAD_CHECKSUM offload so that driver can save a few > > cycles if possible. > > Personally, I'd move in other direction: keep RX checksum offload and add > checks inside sample apps to handle (drop) packets with invalid checksum. OK. Till someones add the DROP logic in application, Can we take this patch? Because there is no point in enabling DEV_RX_OFFLOAD_CHECKSUM without DROP or any meaning full action in application. > Konstantin > > > > > Signed-off-by: Jerin Jacob > > --- > > examples/ip_fragmentation/main.c | 3 +-- > > examples/ip_reassembly/main.c | 3 +-- > > examples/ipsec-secgw/ipsec-secgw.c | 3 +-- > > examples/l3fwd-acl/main.c | 3 +-- > > examples/l3fwd-power/main.c | 4 ++-- > > examples/l3fwd-vf/main.c | 3 +-- > > examples/l3fwd/main.c | 3 +-- > > examples/load_balancer/init.c | 3 +-- > > examples/multi_process/symmetric_mp/main.c | 3 +-- > > examples/performance-thread/l3fwd-thread/main.c | 3 +-- > > examples/qos_meter/main.c | 3 +-- > > 11 files changed, 12 insertions(+), 22 deletions(-) > > > > diff --git a/examples/ip_fragmentation/main.c b/examples/ip_fragmentation/main.c > > index 5306d7672..7cbd5dc10 100644 > > --- a/examples/ip_fragmentation/main.c > > +++ b/examples/ip_fragmentation/main.c > > @@ -140,8 +140,7 @@ static struct rte_eth_conf port_conf = { > > .rxmode = { > > .max_rx_pkt_len = JUMBO_FRAME_MAX_SIZE, > > .split_hdr_size = 0, > > - .offloads = (DEV_RX_OFFLOAD_CHECKSUM | > > - DEV_RX_OFFLOAD_JUMBO_FRAME | > > + .offloads = (DEV_RX_OFFLOAD_JUMBO_FRAME | > > DEV_RX_OFFLOAD_CRC_STRIP), > > }, > > .txmode = { > > diff --git a/examples/ip_reassembly/main.c b/examples/ip_reassembly/main.c > > index b830f67a5..7acc6b7b5 100644 > > --- a/examples/ip_reassembly/main.c > > +++ b/examples/ip_reassembly/main.c > > @@ -164,8 +164,7 @@ static struct rte_eth_conf port_conf = { > > .mq_mode = ETH_MQ_RX_RSS, > > .max_rx_pkt_len = JUMBO_FRAME_MAX_SIZE, > > .split_hdr_size = 0, > > - .offloads = (DEV_RX_OFFLOAD_CHECKSUM | > > - DEV_RX_OFFLOAD_JUMBO_FRAME | > > + .offloads = (DEV_RX_OFFLOAD_JUMBO_FRAME | > > DEV_RX_OFFLOAD_CRC_STRIP), > > }, > > .rx_adv_conf = { > > diff --git a/examples/ipsec-secgw/ipsec-secgw.c b/examples/ipsec-secgw/ipsec-secgw.c > > index b45b87bde..63eef1f26 100644 > > --- a/examples/ipsec-secgw/ipsec-secgw.c > > +++ b/examples/ipsec-secgw/ipsec-secgw.c > > @@ -197,8 +197,7 @@ static struct rte_eth_conf port_conf = { > > .mq_mode = ETH_MQ_RX_RSS, > > .max_rx_pkt_len = ETHER_MAX_LEN, > > .split_hdr_size = 0, > > - .offloads = DEV_RX_OFFLOAD_CHECKSUM | > > - DEV_RX_OFFLOAD_CRC_STRIP, > > + .offloads = DEV_RX_OFFLOAD_CRC_STRIP, > > }, > > .rx_adv_conf = { > > .rss_conf = { > > diff --git a/examples/l3fwd-acl/main.c b/examples/l3fwd-acl/main.c > > index 7c063a8d0..c66b5b462 100644 > > --- a/examples/l3fwd-acl/main.c > > +++ b/examples/l3fwd-acl/main.c > > @@ -127,8 +127,7 @@ static struct rte_eth_conf port_conf = { > > .mq_mode = ETH_MQ_RX_RSS, > > .max_rx_pkt_len = ETHER_MAX_LEN, > > .split_hdr_size = 0, > > - .offloads = (DEV_RX_OFFLOAD_CRC_STRIP | > > - DEV_RX_OFFLOAD_CHECKSUM), > > + .offloads = DEV_RX_OFFLOAD_CRC_STRIP, > > }, > > .rx_adv_conf = { > > .rss_conf = { > > diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c > > index d15cd520e..b00a8ec45 100644 > > --- a/examples/l3fwd-power/main.c > > +++ b/examples/l3fwd-power/main.c > > @@ -180,8 +180,8 @@ static struct rte_eth_conf port_conf = { > > .mq_mode = ETH_MQ_RX_RSS, > > .max_rx_pkt_len = ETHER_MAX_LEN, > > .split_hdr_size = 0, > > - .offloads = (DEV_RX_OFFLOAD_CRC_STRIP | > > - DEV_RX_OFFLOAD_CHECKSUM), > > + .offloads = DEV_RX_OFFLOAD_CRC_STRIP, > > + > > }, > > .rx_adv_conf = { > > .rss_conf = { > > diff --git a/examples/l3fwd-vf/main.c b/examples/l3fwd-vf/main.c > > index 5edd91a78..2a10e9d76 100644 > > --- a/examples/l3fwd-vf/main.c > > +++ b/examples/l3fwd-vf/main.c > > @@ -161,8 +161,7 @@ static struct rte_eth_conf port_conf = { > > .mq_mode = ETH_MQ_RX_RSS, > > .max_rx_pkt_len = ETHER_MAX_LEN, > > .split_hdr_size = 0, > > - .offloads = (DEV_RX_OFFLOAD_CRC_STRIP | > > - DEV_RX_OFFLOAD_CHECKSUM), > > + .offloads = DEV_RX_OFFLOAD_CRC_STRIP, > > }, > > .rx_adv_conf = { > > .rss_conf = { > > diff --git a/examples/l3fwd/main.c b/examples/l3fwd/main.c > > index ab019b9e4..d4a79b23f 100644 > > --- a/examples/l3fwd/main.c > > +++ b/examples/l3fwd/main.c > > @@ -120,8 +120,7 @@ static struct rte_eth_conf port_conf = { > > .mq_mode = ETH_MQ_RX_RSS, > > .max_rx_pkt_len = ETHER_MAX_LEN, > > .split_hdr_size = 0, > > - .offloads = (DEV_RX_OFFLOAD_CRC_STRIP | > > - DEV_RX_OFFLOAD_CHECKSUM), > > + .offloads = DEV_RX_OFFLOAD_CRC_STRIP, > > }, > > .rx_adv_conf = { > > .rss_conf = { > > diff --git a/examples/load_balancer/init.c b/examples/load_balancer/init.c > > index f2045f235..14ea1e9d8 100644 > > --- a/examples/load_balancer/init.c > > +++ b/examples/load_balancer/init.c > > @@ -45,8 +45,7 @@ static struct rte_eth_conf port_conf = { > > .rxmode = { > > .mq_mode = ETH_MQ_RX_RSS, > > .split_hdr_size = 0, > > - .offloads = (DEV_RX_OFFLOAD_CHECKSUM | > > - DEV_RX_OFFLOAD_CRC_STRIP), > > + .offloads = DEV_RX_OFFLOAD_CRC_STRIP, > > }, > > .rx_adv_conf = { > > .rss_conf = { > > diff --git a/examples/multi_process/symmetric_mp/main.c b/examples/multi_process/symmetric_mp/main.c > > index c6c6a537f..2735a68c5 100644 > > --- a/examples/multi_process/symmetric_mp/main.c > > +++ b/examples/multi_process/symmetric_mp/main.c > > @@ -178,8 +178,7 @@ smp_port_init(uint16_t port, struct rte_mempool *mbuf_pool, > > .rxmode = { > > .mq_mode = ETH_MQ_RX_RSS, > > .split_hdr_size = 0, > > - .offloads = (DEV_RX_OFFLOAD_CHECKSUM | > > - DEV_RX_OFFLOAD_CRC_STRIP), > > + .offloads = DEV_RX_OFFLOAD_CRC_STRIP, > > }, > > .rx_adv_conf = { > > .rss_conf = { > > diff --git a/examples/performance-thread/l3fwd-thread/main.c b/examples/performance-thread/l3fwd-thread/main.c > > index 5392fcea8..5f4a470b4 100644 > > --- a/examples/performance-thread/l3fwd-thread/main.c > > +++ b/examples/performance-thread/l3fwd-thread/main.c > > @@ -306,8 +306,7 @@ static struct rte_eth_conf port_conf = { > > .mq_mode = ETH_MQ_RX_RSS, > > .max_rx_pkt_len = ETHER_MAX_LEN, > > .split_hdr_size = 0, > > - .offloads = (DEV_RX_OFFLOAD_CHECKSUM | > > - DEV_RX_OFFLOAD_CRC_STRIP), > > + .offloads = DEV_RX_OFFLOAD_CRC_STRIP, > > }, > > .rx_adv_conf = { > > .rss_conf = { > > diff --git a/examples/qos_meter/main.c b/examples/qos_meter/main.c > > index 5cf4e9dfa..a29032b04 100644 > > --- a/examples/qos_meter/main.c > > +++ b/examples/qos_meter/main.c > > @@ -56,8 +56,7 @@ static struct rte_eth_conf port_conf = { > > .mq_mode = ETH_MQ_RX_RSS, > > .max_rx_pkt_len = ETHER_MAX_LEN, > > .split_hdr_size = 0, > > - .offloads = (DEV_RX_OFFLOAD_CHECKSUM | > > - DEV_RX_OFFLOAD_CRC_STRIP), > > + .offloads = DEV_RX_OFFLOAD_CRC_STRIP, > > }, > > .rx_adv_conf = { > > .rss_conf = { > > -- > > 2.18.0 >