From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0055.outbound.protection.outlook.com [104.47.2.55]) by dpdk.org (Postfix) with ESMTP id 0DF011B1F9 for ; Wed, 15 Nov 2017 08:10:06 +0100 (CET) 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=zaepXkf0QAdOqF3yc1YwLGSWSJNgjN4+2jUyLwN/Ol8=; b=Uj/M8ab4U2n1UoH9mN5pkqg5SA1JZO97CvbetIcCXkPGLHan3T5nb3sBWBTslwh4WaY9KxRuMwhLJp/sbqOXGrADZnLZdauuxEkT+PZQO9i8BLn40EeXUDq7ZL9XeX2qNp7woR5hjIRzlT5brgATJvEmVLUR7KYnnxfgITwphnM= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=shahafs@mellanox.com; Received: from mellanox.com (82.166.227.17) by VI1PR05MB3150.eurprd05.prod.outlook.com (2603:10a6:802:1b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.218.12; Wed, 15 Nov 2017 07:10:04 +0000 From: Shahaf Shuler To: nelio.laranjeiro@6wind.com, yskoh@mellanox.com, adrien.mazarguil@6wind.com Cc: dev@dpdk.org Date: Wed, 15 Nov 2017 09:09:49 +0200 Message-Id: <20171115070949.95541-1-shahafs@mellanox.com> X-Mailer: git-send-email 2.12.0 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [82.166.227.17] X-ClientProxiedBy: DB3PR0202CA0027.eurprd02.prod.outlook.com (2603:10a6:8:1::40) To VI1PR05MB3150.eurprd05.prod.outlook.com (2603:10a6:802:1b::15) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c2322cdc-f0c2-4962-04c6-08d52bf7e55e X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603258); SRVR:VI1PR05MB3150; X-Microsoft-Exchange-Diagnostics: 1; VI1PR05MB3150; 3:gdPsBT61YOeNlaksyM1jGUW2MvadcNiLMTOfp42+YiX3QUM+fhgRlrZUc+pD1d6VM6z6SVNEfDMoqb6vykfjfMtWgeFGZWrmut2I/7AXtdt0jjlN0qHN1ju2PlRAVjhdHen/UAIQ6bsPAZ1Fk0DK+psy0/gyC2Jnttm9ZrkZrbwUI2jE7fxDW8YP5AdY3TIaxLxlphaMFamygh9ViFS1YLRg4aWxWsUeMZLhJNnWwcoKAURp8wYYlosgrdoHsupK; 25:JXq3HJTjK2XvF3aItx3NZRXFTslEOHs/Ih+Cv3WWczqbpFdaKciDJa3MLKn448376n3JUFs9k+S6JZqDT6kiZhKnM/4ssrUAQ4z7oiP6gfotoDBEK7lHSv+gBf/P0nX59raAWU6vR/4QCigtVDpkWXOqc5D7GfEgrD/AmemwJIuwY3q8E3mpyY40pnrhY1ck11RtzAnhGVdmIqMWyqXXTusoR+pxJhP5oO/1GimMp8bcXjj3+ObxBPhHFsr5ay7gn+gvUfSQ/oqVAeFVEOXKLi5CXdcOPb8ey/1DZpK1P1XX1fGEW9969LQWTE5FIhPM4utbRyFtmaNxCpLQJCuaOA==; 31:+b9WXFcGXnj4syPLG12/M7MZC90Hyjjq5ylUuzUhP7O/osv7Ia4CVSXJqELisHbR04sUFWViXlnHLkvUGUh7lN4IyEF0qL45R3R5M+Z8ZRZoLYVYgG+McR0JLk5uUyHUkJifzizSGa5MHfGSJ8ZByrZw08+hnALBiCTFCkyudxFqSAMw+K3mX+ZDsN4/lEWYzpB2s6zZ+dx8z6q5J0fEO7i0XYSUxHo+PA8knpHZDCY= X-MS-TrafficTypeDiagnostic: VI1PR05MB3150: X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; VI1PR05MB3150; 20:TstV4rduhZOe3Oztk1IDNCiFmF18N9TnTmWIUDgaSMtzsfDRA8f+hqJF5tKH/6NIe1ljj4G6nX/uFATUy4bWFzcggiqPEYbHE1LDaClZ/uJyw1qCr97yjnGbKbEL8aZKYyYOuS330cvy+Fz3jdShmloYiM+wCAslg6jm8jVtjRNup2J2mmQ5KMaZr2bGXQglLZeEKw5inYxxRGxqv5c0PkrpK35kYfVtzajilGJMz0Lb1ewge9vVa2CYGllMMDSHyXBvObgBTBpsXt4w5/zd+ECwQ/xj8y+6CfBpy0Mc6d3TTR/SBsuiVFUA8V42Iee3fsTcmN5Ds8ZhVCKrEhK11PZydaZVkA7LVmhgZmP3ONiK8qTeU2o2QIrxTyFKeT585KXe5VTgEhU4B+u4w7/vLcVaFZZjj8gySeYNDilWGDUpa+aamI+d2dC1N774oREQvTrn1ZDHMBB5ekCJ4M5eKWDZIHSwF2qaX6mmKcfS8rkaH7hcQaKHi+Y0MD7/01zh; 4:Ued0Gd101lBa4VjaUwa5DDZLyjRrpUqF91CIiDwcNDtHUKu6LKyFYWlNHplEHKroRz8OCqwRhAor91m/2EGa2kmqB6Nh40bnm2ycb9cw7kEIAtzS9ea3/noqmwg+UXlf9w2vkj3A9wTPOrX00nMIygMCPMzKCFo6NmkkWXx18Q69B9XVnk9rbnMyrWq+mVk1OvihihUVFpYagri7RaS0Q0QZ9/kR9hzpRhJZC/CfK7mUESfWJRl4qmCxnFAM8DGjHWz+2D1de6IqOEt508+13A== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(10201501046)(3231022)(3002001)(93006095)(93001095)(100000703101)(100105400095)(6055026)(6041248)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123558100)(20161123555025)(20161123564025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:VI1PR05MB3150; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:VI1PR05MB3150; X-Forefront-PRVS: 0492FD61DD X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(376002)(346002)(39860400002)(189002)(199003)(16526018)(478600001)(5003940100001)(66066001)(36756003)(50226002)(33026002)(6666003)(305945005)(97736004)(4326008)(189998001)(48376002)(53936002)(55016002)(8936002)(2906002)(21086003)(25786009)(50466002)(7736002)(101416001)(16586007)(316002)(105586002)(106356001)(6116002)(69596002)(5660300001)(81156014)(81166006)(47776003)(8676002)(50986999)(33646002)(1076002)(68736007)(86362001)(3846002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR05MB3150; H:mellanox.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR05MB3150; 23:tYQHahGpR3o1jzGBRI4V5HiMlCUw7OtvVl3mJu6OF?= =?us-ascii?Q?LvYQTVm0Jwc3Tw3HijkRhraIwGNZzaMhhkIuSlY2bzdkBmMRCI11tmzTpPq3?= =?us-ascii?Q?uH/S6AaWuITlommF1fml7+iIM1zr4VzXuLzx8StAzVbxfO+kxXtwQfpNbwVg?= =?us-ascii?Q?Fr/9bcSzZ643VjZX6XgSrRb89sALQnvOkVwo70/pGxD+qkL+z5LxH+IDZN9H?= =?us-ascii?Q?9m5yOikvzeJ+9CQro8pNhmjEAPrmiirKRHe4JNFkFVk7KHvovr1loxGVrOFV?= =?us-ascii?Q?KMxpuYYSli1xuXOJEcRk5AMRPvWWeN24EJRba0UG2RoMJT9jnFdR1JXpPs9o?= =?us-ascii?Q?+i7fE2ywWxEYkaPZxnwn9z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MCj6t0Ep5qAi0/0d9nMRs7c1eYsbjEz4ivlrixBsFXVbjX/RakT2a03O7oU0z2Tct17b2KwkQQdhUWQRmhHD4h/ACFrQxqIMnILr6IW11JkadDq8+pDCNFCuQbY2w0bMNMYD8PBIh0STUBQs0wseJ5KuL1eXnXKdZy8SU7nqvktRWnRD84XSieY64imGA2LvUUMfV3IlBbK3KVCF/r/YQ=; 5:vDHUz/G9LChKK7c3bToYvXPJehdqkah8DfjHBm/9NHQwhVGdnRVfpqo7GsiNpbyVL/q7tYWd5aegHHLRy/0KarmQOdG2BmSpvsQGDJWYDIwOns/IDc4ewag/Ecg1pzg9PtvEMtMhECgh8cmJK97BjKem79HD2/YE2IPDDUiUago=; 24:bHNcl9ajkhrsD3pSBhxZJIqmwBj+BL8T9uXBqPYdRNEjbWzlGcUZ0XkTGXO+S+0hm+jSznxRrjj6pvRTf8E58bRi1kQQ5fzRCnyKqBE5AUo=; 7:mzcE4UEdw3FdShqtbHxSbK6pzaV2qscb0XxG8zxPyi0WW2yC9z72Zh6OUpLz2kbtpNF3yzjR3PJFJJGfXb76eeUXB9Lq2ZjZrq2KoJN9lIZFa6t1vIWisaEnF7Ut92k2kkJtG0TSrmTKh/xwMdSPPoJAeNGhH98+LK+0ixMo6ZJ6eWv7zrj0pp400B7tYdXHmX7FVHhfjzGNSBHIbPBQCI/zdsVwf4i6/s7mqiJ975Lf7BPj2eYcpfTJJ/1spP71 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Nov 2017 07:10:04.0666 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c2322cdc-f0c2-4962-04c6-08d52bf7e55e X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB3150 Subject: [dpdk-dev] [PATCH] net/mlx5: fix flow mark action on port start 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: Wed, 15 Nov 2017 07:10:07 -0000 Mark action flag was not set on the flow, causing the rx burst function after port start to ignore the flow mark. Fixes: 8086cf08b2f0 ("net/mlx5: handle RSS hash configuration in RSS flow") Cc: nelio.laranjeiro@6wind.com Signed-off-by: Shahaf Shuler --- drivers/net/mlx5/mlx5_flow.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/mlx5_flow.c index 466d74b5f..f32dfdd3f 100644 --- a/drivers/net/mlx5/mlx5_flow.c +++ b/drivers/net/mlx5/mlx5_flow.c @@ -1930,6 +1930,7 @@ priv_flow_create(struct priv *priv, flow->queues = (uint16_t (*)[])(flow + 1); memcpy(flow->queues, parser.queues, parser.queues_n * sizeof(uint16_t)); flow->queues_n = parser.queues_n; + flow->mark = parser.mark; /* Copy RSS configuration. */ flow->rss_conf = parser.rss_conf; flow->rss_conf.rss_key = flow->rss_key; -- 2.12.0