From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0052.outbound.protection.outlook.com [104.47.1.52]) by dpdk.org (Postfix) with ESMTP id E18C51B98B for ; Tue, 10 Apr 2018 08:17:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Y/x80kYo/a96qDqy9nwH91NT6NDfLXBWMpWj3qiydtg=; b=iN0D4WxG/XiaZjIIBO0e/j4duU1HTlGnKN3JYpoHbhHzkkGzYYqNTSZT6WR6RI/bFVqUBlbGqMshFPVU/SSB4jfdsJ5y4rOaKsyHbV4xCyI3iU6A+ApqAhM1Cn57TBDnMdoTQVUG1Y5Ghjjo3A5aSpvxdKLkaNMyjyeCpBLCaqc= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=ophirmu@mellanox.com; Received: from mellanox.com (37.142.13.130) by HE1PR0501MB2315.eurprd05.prod.outlook.com (2603:10a6:3:27::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.653.12; Tue, 10 Apr 2018 06:17:11 +0000 From: Ophir Munk To: dev@dpdk.org, Gaetan Rivet Cc: Thomas Monjalon , Olga Shern , Pascal Mazon , Ophir Munk Date: Tue, 10 Apr 2018 06:17:00 +0000 Message-Id: <1523341020-4534-1-git-send-email-ophirmu@mellanox.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [37.142.13.130] X-ClientProxiedBy: VI1PR0601CA0009.eurprd06.prod.outlook.com (2603:10a6:800:1e::19) To HE1PR0501MB2315.eurprd05.prod.outlook.com (2603:10a6:3:27::20) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(2017052603328)(7153060)(7193020); SRVR:HE1PR0501MB2315; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0501MB2315; 3:1B453bjm9QBmUY94UakSVm8VgW881amsM6NCCPUNZqjxeSf/wbZOPoVJA3ojcB2bI1hfpoU0zn0xWlsP6R4MKke/3oUQFJU6EwQ1XQg2haCmJhV6frOi18DDruaXrlPa0J3/M96i3Huz7dSDTvW1LOaHkkHYKf1E9HolkUwKhxImeFJ1qMMOkhw8fMAjovL5IxMAToV2Sr2HSYoKyMybIGBY8WirqCKI9uLvvf9o/VrrenDHlTgEVkN+q8jyO491; 25:U6AtzM7UeNSwuMJKzkaJvkmwrR2F9As43SE2UnoFHG42lcJPtZhWHNjJSEV1l9WZ3UvODs102MsPOOX8VhnoGYuaOjcl7P8M65wLgHRKsKAHYCJGzTdEDBhHoseFGknx32Be8WTXsTCgrr64GLZHqshYvmjYO5OrT8qIEPCXyJW17ytr8z3cJ1zRgXKN3YxyH1pg30TV95EVtw+e8k0C6y7O9TSdXLcNVf6UyzY92pFLXI89M8NuMMb+5UAXcvXdsEmWWDwSarpkRKh6M8s/KTU6mm2i7afkQ2eawck/7FzimPNl4Hb4DnHLDz+uUiB0/q4L8CMZtND264qMmlRqbg==; 31:cR4v3uPbdZvqiFo9NIFqLuU/hCqC+DYtwCdlTNtICM75Sn9eQbOtX2r/KzWDN8kvwO0nRPSMPRtHmSAUYH52Lq4WqX1f1BisKcYcIAr6dE1FkxP6IBP8UUdpGqmUl+S87gYGb6ktgomKmiCdffGFjLKFVj6HR2irET/lTdApDn/NFBu7nC1lQQ8++X+N325v3VtBHZ+vBdYsawiGlADl214QLzFT0pz6WlqWWSBXHOQ= X-MS-TrafficTypeDiagnostic: HE1PR0501MB2315: X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; HE1PR0501MB2315; 20:Qu9ja9Sg5pn+zJROl+e1wFQqNLpajBOlwQHtWJLLm2726KXTerZzUalDMo//tKijI4XDnO5ZlMfu3sy7E18dh2n0Qj4d8xASfos+zb10whHT5YoSo/B9DvKdD2vQXpvmc128g/bHYAV8CA9CrPKaDun5XGuYwAi30sWFQw7977cwgbIJhPph58BgHBPd7aq2m5m0qptTNOxv1N0VDOnUmZwrnJs8kJbCueiNMRdpsl+qSx2x7YPs1V9iY9gR88s6QVvBfZozQNThZ/gTnzwDMSaPj7V/HvAlIErxmjCHQ5W9y44jnSbrIYFlJzMTPYcBkFfTiOdkyEgd86VI4SG3igsKHHGdIj32637VwLSqDjMvtyxhjLni80TOhXZg19lZtSkT8BpI+OxNskwL2cPG07TZt5+B7K9N41PWU9FfnLZCmE+BWOejXCVdbZ6WypwOruOz6SwCfwI8JfEWDuPMv2Jy+SudJpNdAhlAogzYmO9WonDhSJF5yQgMgGMtieAw; 4:5Vw3R/3mKAa9gfTF/itKQ+vX8ZNbOlkdaKzcQgO7tGyCcGAFC5X0qvrYzIU/4VDqqtPOTpzJdGpOC8DooyswVH3sik0ZTXd3fAwukZKwrWAIBdDO+fcDwL5sHfvCvMEIQnKeahCOnTtHy3Sc/58mjBbk/PkOlu46/NBLWbs2ZpuvllHYvqVrsjBcnRmnInzh7YdtFdlplJ8v1RKBVXKe0RppQi/oGbrb2HzecLxPPPM7p2JnFCPVRGcvbSkVGNI0eFilRBlOF1SgIsC31RV4Cw== 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)(93006095)(93001095)(3231221)(944501327)(52105095)(3002001)(10201501046)(6055026)(6041310)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:HE1PR0501MB2315; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0501MB2315; X-Forefront-PRVS: 0638FD5066 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(39380400002)(39860400002)(396003)(346002)(376002)(199004)(189003)(106356001)(52116002)(105586002)(53936002)(316002)(7696005)(51416003)(5660300001)(16526019)(55016002)(107886003)(956004)(8936002)(2616005)(7736002)(33026002)(81156014)(81166006)(2906002)(97736004)(8676002)(54906003)(50226002)(47776003)(69596002)(16586007)(305945005)(66066001)(25786009)(48376002)(3846002)(26005)(86362001)(4720700003)(68736007)(6116002)(6666003)(478600001)(6916009)(486006)(476003)(59450400001)(36756003)(386003)(186003)(21086003)(4326008)(50466002)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0501MB2315; H:mellanox.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0501MB2315; 23:KawfvvECfbbcmQP5ItfCJh9WMU69TWC5mNtl5to?= =?us-ascii?Q?qIiHgo5s7OYkXMMpcpZ7VZvcieLkTeWgwB0OEK88uf92I+EZlpY5aC4VIbWr?= =?us-ascii?Q?d1QLAEfYVqIuJok2buizhaXh0IC+JXUownkenvjKCd4orZRWmaXEB0nH8Erg?= =?us-ascii?Q?U72icTconjLtXiV0GObzAUPDcqLOssWDIoaIqOhkzbZ8S2lRoTLVWIvWiTj7?= =?us-ascii?Q?i5F3VN/QleaTyxLy18iVEsdgojLK2XkVjGPlajXXP3DMuE5D9YXLXknu5mLt?= =?us-ascii?Q?iu1rc3ZrhyoFEKDsQZyoOnEUquMaKMwVjqBLyqSo/n0Hra9K366700G18Ucq?= =?us-ascii?Q?ZgGdGuugV7PsV6RXL6h2TruufbH2jhi/0vUiNDPSbcv2QlMzXWrKbBcszylO?= =?us-ascii?Q?vFeWzrO0Pamg9w/Gpp6goJi0NFcJtzsLMW2P2z8mfpBdtKTCL8sjjAAfnVww?= =?us-ascii?Q?3YAXpwLf3cS4d05Rj7jdyyh4KQQDTqUv4l1lk7GbygGjofrk0TEr2NQn4RYN?= =?us-ascii?Q?rsHf96HsFj+JnFo1cbu6JmpmR/KUd1/N1hfpOsGXjlznluPc87VcHwHsAL2S?= =?us-ascii?Q?Mvq5o9dwbJmedAFMbXptz+5l1gkLRZmeqOOHI9jFR2IX4p68vcVJrP9sLGd/?= =?us-ascii?Q?US2gZll2z5M0DzMgVe/inxO109C0NcSjqQ01acyX3fhcrM3pF1sTDZNM+Hll?= =?us-ascii?Q?XOkmdsKtlSj07o3v0Tjt2cd830HloHODit6XvQd9g1LetHvy9h+PE7TKQbPt?= =?us-ascii?Q?TKtvQAn80UnfIpLj9lq2UfGHeLUphVf6MkqZQbANb0GKetv8kARIgusQQrAc?= =?us-ascii?Q?Wi3eIi+BwvSqts08lgCdZBdG8AjGRJCxBorojEwi917QGiBhzCzFJ2NKYaH2?= =?us-ascii?Q?Xb7+iYUHfLCQQm5VdxRhRVAidtoqPqCSSFhrfrgkLMVNR31Zwn+OUf1stN3k?= =?us-ascii?Q?JL/W+AcNmpLEqdZ9x+YhuhwHoJgLkclQtJQ3cfcmwppUXW5kQsl7R5093dmC?= =?us-ascii?Q?4+UirnpGwpVHej9i8lIbSl5HcA9kM7TZYhcmkgpgl98IpueuGBTp4VB7IVYH?= =?us-ascii?Q?UzWc64xkQQViaFL8UvQMdX7zr4Ok6BwC2DPEFkMqdAWF4z2z+89ejYR9IUG+?= =?us-ascii?Q?/M0oa0qYz9MQ70C/l4XmzoI4xJxFY6WtTm6peGQanG6dk/sOMf82CZIuj54X?= =?us-ascii?Q?MzM34Jowo4q0t1UKMvqA2my0LB44EIpD8OboHyY+OHT8CDxukjUJTuBBb/PJ?= =?us-ascii?Q?El/vFQUhX7TtVs41GFlbhQRRd57N8RVZVDkHwmiFSk8P4uRe7R7kGWcoA2I2?= =?us-ascii?Q?eAw=3D=3D?= X-Microsoft-Antispam-Message-Info: wc0hzRYB6fj85Lvr1Zgb4fj9YN/0JkUA9YRMHohIp88y+k+zOO1aleXWQnqMABfCfBGM/CJVVEEwMt9uo28tBUFA0r0yTXhWickfPTQMD6cAohgMz1Nozx6eb9UV9+94n/FmMYzLKToYAJZ2IF7+aJfRcWZJxYZmUPKPPUGtEWhTo5yWsY11DtfavxXSIIk+ X-Microsoft-Exchange-Diagnostics: 1; HE1PR0501MB2315; 6:H/edbhjv7eb+uE2ds33bJolb3qmDzZjVSuvicIDk9Qb1Ny0ZZnmvIGFX5wiSmpCd6vYCfNarhYHEN4urMdJ2bdbmF8NjRhT1HO+zGj5E05J6/YHKQdWCX4eIeRp2/khUwHtaf+Zq9Eg6I1NuPnR5FjaYaGCln1aIinC7YOZY4Bz3FUbkd496rx3Q+csWTEqXfsrAcfDUxhSDybcc2JyAkrjN9iBxl9wJJZX/tMC2wjYssf2yT04SamYoTfkp9KGaVzuUQPoC1pPY2dDvX1fZIMBKEFt4enqCg5B6N0A/mhp+mFLliFeRjBXVWk1f7GPgh5MCQppJVJCeNxXwY0rJer212UifaHXwgr1ILSM3cvbdwPL44ktqfNhyWX3420W6LPeVkdkTuT2zhJRhgEaVBqk95K+94l+8bMyxC7dHFjO+rGDQBGpsZcspB3NMHtq3jbp+V5Ktk22gCkrGESEXPw==; 5:+B92UEby37h/2Dd77EO/eQE3RkUZWFpmqH+ACC8XA4Qogv3O4D417pEW/6RTAwARaOVVVFSWFkpg+pBYhkWZlhWBK3DSRx4AKGnf5yuF5zzbZI6TtN1VgVrVig014X29Gpry3t2isIKTkg/dQnMoyarvKOno2EHklG+eQyjEr+w=; 24:mCg1uTbsWo4pOMU/iQkrunm82EpQL3FcSIQgN2Ii4GgXFjMIMRAuHJkwBMlZbDKt3+mGHKG9AiOpOOUWYiGsv8ZHhB3ReHFyLf4UTlS2qjU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR0501MB2315; 7:VnSV7KV0hXXL8PmWiF+e+liixrYw5SObGCzzyDn0A2zNaNV/FSX8idtecXizU7CX2QP8so58iQcsUT4Wjh1c99iUPBPbFws40FJwpFK8JQFFcfE0EH/0RLcwwsEZG7tjc4lTIZNp0OiTbiT/kB1N9E/Ua/ZeMn4x9j0kRkNaenGfsqZ44oWGPWcuVoJSFEKvZyhPBJUOo0IDP2Q5Id99jqfAflvFcEfhP61Xuv+DSPAO3kQt8nHaYlY1erjFLgMc X-MS-Office365-Filtering-Correlation-Id: 9d687c0a-f353-4a0d-a355-08d59eaab332 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Apr 2018 06:17:11.8987 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9d687c0a-f353-4a0d-a355-08d59eaab332 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0501MB2315 Subject: [dpdk-dev] [PATCH v1] net/failsafe: add TCP TSO default Tx capability 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, 10 Apr 2018 06:17:15 -0000 Add DEV_TX_OFFLOAD_TCP_TSO to failsafe Tx offload default capabilities. The net result of failsafe Tx capabilities is the logical AND of Tx capabilities among all failsafe sub_devices and failsafe own default capabilities. Signed-off-by: Ophir Munk --- drivers/net/failsafe/failsafe_ops.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/failsafe/failsafe_ops.c b/drivers/net/failsafe/failsafe_ops.c index 057e435..e33821a 100644 --- a/drivers/net/failsafe/failsafe_ops.c +++ b/drivers/net/failsafe/failsafe_ops.c @@ -81,7 +81,8 @@ static struct rte_eth_dev_info default_infos = { DEV_TX_OFFLOAD_MULTI_SEGS | DEV_TX_OFFLOAD_IPV4_CKSUM | DEV_TX_OFFLOAD_UDP_CKSUM | - DEV_TX_OFFLOAD_TCP_CKSUM, + DEV_TX_OFFLOAD_TCP_CKSUM | + DEV_TX_OFFLOAD_TCP_TSO, .flow_type_rss_offloads = 0x0, }; -- 2.7.4