From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0054.outbound.protection.outlook.com [104.47.38.54]) by dpdk.org (Postfix) with ESMTP id 9AB41378E for ; Sun, 29 Jul 2018 14:44:34 +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=fyfBgGPH/9saaJTELeBpuq8/lNZp19mfA1CpDDGuehE=; b=kDRqMV3n+WNgWlpZiUpYastsDv501hM5or1pe7IgGIwYmqwozyiiEfhipE2/zKyfR7g4KF8QeELKSzqSPk9QZTeGhkM1f860iyuu9zxGwMME6uhN4w7Ni39uZOET4qyph/ifFEc+orERXCC3BpT86+NkMmREjmb6w+SkFAiCxpQ= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin.caveonetworks.com (50.233.148.155) by BL0PR07MB4994.namprd07.prod.outlook.com (2603:10b6:208:49::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.995.21; Sun, 29 Jul 2018 12:44:29 +0000 From: Jerin Jacob To: dev@dpdk.org Cc: thomas@monjalon.net, ferruh.yigit@intel.com, shahafs@mellanox.com, Jerin Jacob Date: Sun, 29 Jul 2018 18:14:09 +0530 Message-Id: <20180729124409.3669-1-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [50.233.148.155] X-ClientProxiedBy: MWHPR15CA0058.namprd15.prod.outlook.com (2603:10b6:301:4c::20) To BL0PR07MB4994.namprd07.prod.outlook.com (2603:10b6:208:49::23) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 27f68c6b-b66a-4b38-97ea-08d5f551081c X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600074)(711020)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020); SRVR:BL0PR07MB4994; X-Microsoft-Exchange-Diagnostics: 1; BL0PR07MB4994; 3:YMAvaeouEdKmUXqmygPI7Oe/Adyfow0315Kggz/EnXofufpHppf6K9oACCsN5rSMG13BKn8d4KW92xglKKgWh/FzDtnmHruNss7Bgk0jRk5mWTME15MbAcTKMnYBrB2TJo2pWwpI8f6+VNHgqmEYuWlnVXzbPBZFHjGqq8z5ZL6Poo4Gv0ItPhePW8byp5epnZg7uc1XkS83UzweqzuKzDL9po8tuw4FTmE46zS5SiJ2uqgN0yN1JFBpbliG/COA; 25:w5ElFdleYkKBdvCKACsWrkNV5OHpnqKSf4kzgIaOur58+L2SuxZkmx/aHbB/N5AWOX90FVYBf6YyqZMt0BtPbHVLJvY8hEE3aqtU0nIIkBw9WUpX0ym0ph6yFLcQkfCPwobFplumFqxP1RapyzbGdA8p2TG7wO47nys1RhfsB1lBHtDH3g9B+XEi/Ps8eLAc3J0Z9/sv2dr1bVO0aNRlFxbSYfebd/6nryw+tdMEYDSDsVkUhRaUgg+CW5x8+I8cxNMEwCpx0K9pynWG61PobGpEb36fBUuYQuZv6rk5/SwPj7amCvpAHj8LW9T+IRCtwGOv1xnIib4l2ZEbnzzTcA==; 31:M+GtYhVYUULMYMT8ZcE8xmaNlDMcfVLUdkPuNkJpwTJLQZiz8GM/e5qn7UR2VSh9AzBPbD74l+f46VN/DrAD7seqL1AoW/0SobjkE0kfOwdYYRRT+6M9bX/P7Q5joIKgMVDVXJO76SBGNtf7iJql1rrPKbv7wlgyXTuvb6K+6y19hlZAdVttJxvArG/tst/GyjC7O4qZRU/zky0vfQSYPNnpBGtb9na9ZUQwRe6vn+o= X-MS-TrafficTypeDiagnostic: BL0PR07MB4994: X-Microsoft-Exchange-Diagnostics: 1; BL0PR07MB4994; 20:UHqKV7gs5UJjExs3iClgUskXgY+sH6SxUiy158pjODII49uU1gZe3gEPJt82CN7ccOGFiVL8JKw52908wRaZKJbwcG1C2/NwVM5X6r1dIpj/xOBfSafo5NPMyDCHbhGDjbrp5Afakq5X2lAn0B5FFDECKfrvQZXm5BvNnxATKqd/cyEswgbbtMyIqoywC3/trE0V2Z6JlKbdyymZwhWeTWqeM8+Trif9RWwmO86MYGFgEYK+7HdHMkbAC3RR0Agy5HlIVVRQVwa9c5y/9LwAZ4+ZvyJ0BwYG3ZYYeijcJeT+9g5yBLs11o80tI1m4swNy1OCrt0d4wbLg3gtG7xtMtN9B4EJcOnvrTgwo2eAqsXv7sEsGxyM6ccikJ4zmI9M0hf26efXgXnO5xbKb+euegGK9HqWUstdPGEnZggynFf/SNNQ81bWZsKnpGpiSOZ9bnJNv0GhdccO81dcoheoixMBwFXqLysEzWvRBQiFzZAhX2DCaMO99Yhgs48vWTmh79BBUgCCUc20OdbWumrsLftey6p2tMWVsdiFp20hjmWwR2lty+C733jExiHD8f/w73FG5zrW/YD+We3S7KyJqtqHtmpkYm39zaOTUoWG/oU=; 4:4lfqbfxTR6sWAWUg7Nk33E9O8cgflBgoPmHkeY9/rrOO8yNI13fQ/dGy8Zmq3XrYS1BjO1peeX2AKzJp8aREOjPWsA/A3ZnFYb4DNuwTLf5Hj1afgYbBXD+135YGp0RxH2lx3gdtMfb3xFIZHRQS76ooX3I6ZIGIU5MrUH8CLVtPeNrSWFo8i0Mwwt3oP8VLiOwkDO50hGzo/0wgj+0353MN3wEwjqC9n3b2PmufNfBxvz/szxCi32hiydfPT6sKnjVqaVG2w8nOzlDXnIA5KA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(3231311)(944501410)(52105095)(3002001)(10201501046)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(6072148)(201708071742011)(7699016); SRVR:BL0PR07MB4994; BCL:0; PCL:0; RULEID:; SRVR:BL0PR07MB4994; X-Forefront-PRVS: 0748FF9A04 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(396003)(136003)(39850400004)(376002)(346002)(189003)(199004)(4326008)(107886003)(6666003)(106356001)(53416004)(105586002)(52116002)(2351001)(6916009)(51416003)(50226002)(386003)(6506007)(186003)(2361001)(68736007)(48376002)(1857600001)(16586007)(16526019)(26005)(42882007)(50466002)(8936002)(81166006)(81156014)(97736004)(8676002)(25786009)(316002)(6512007)(69596002)(5660300001)(7736002)(2906002)(305945005)(3846002)(6116002)(478600001)(72206003)(1076002)(36756003)(6486002)(486006)(476003)(66066001)(53936002)(44832011)(47776003)(2616005)(956004); DIR:OUT; SFP:1101; SCL:1; SRVR:BL0PR07MB4994; H:jerin.caveonetworks.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BL0PR07MB4994; 23:5oUrkMl7LtWSPZh2Ug2zM5dR+YIHpdCvx49nhqtYK?= =?us-ascii?Q?60/7UKfLE4C7bIGgiVmcPwW+8lBYO4XVJnwq8rBy325uwHN42vqtFwnxnkNb?= =?us-ascii?Q?eZidsFxBC5bpaOYqXq7DixyHHlb3Soe7XQoEYxjNQAvkPzggP2QaG9Uef3o7?= =?us-ascii?Q?+yuSMJXhU9oK6raSIm8Mcso6OGLcZfFBOX0FrOL+SNflt+wIkE4oYTrDEvYz?= =?us-ascii?Q?AZ2siiWrZP3aGYxhAWtMdl4plvKcrEYBumKJ3ZoeqI7YKbJuhrPU/8xK2XSk?= =?us-ascii?Q?+hQTARVs7amr9OTlX6XQTt2F3l0ZhUtlimj14LO4g7EIyeYgBOk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K5Fe7oo80oS4cWkxsxDToJIi5/go2O7IOAex7HHfL4wkZ71uNu7/hRrRopTTGeE57E9r6379gNwLS6DSK7r2kfAzHEBtGm2Q0jhx090VHLbVlVX9q+gyXp9/b8fg5fQjLyLjPv2/x4zQ=; 7:BIe3GLHziN7DkVqCEqL1Ou9CUV8+u94Lzh10JT5005JE5tC2QQFYDWtdC6iWTRROo1G00vw/or0PohXh19SU/u1Hq7LTzJEGbJ+3Voird4GpJMhPXbD5VJcHuis3gzu+AR4Ceyd+ERi66g4wzO2hY26wCp4bwyLxsddiX/Jbk5vXUaQci2lcu9cyxF53gI3r9P9vqTUWD2KRQ5gMKOS+MGoYLdgEG4FxtZQL8ovOJoaTmlo1QW4wmBdh2/SwG7Vj SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jul 2018 12:44:29.2551 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 27f68c6b-b66a-4b38-97ea-08d5f551081c X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR07MB4994 Subject: [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: Sun, 29 Jul 2018 12:44:35 -0000 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. 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