From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80050.outbound.protection.outlook.com [40.107.8.50]) by dpdk.org (Postfix) with ESMTP id 6EAD44D3A for ; Sun, 11 Nov 2018 13:42:03 +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:X-MS-Exchange-SenderADCheck; bh=uqDFBODOnYOfpXlrHqNB4RjK/2Rwgcosf/qcoYtjdsI=; b=PFjSaeRdrxeLyXDm3de4obWgdxH1SxxM4ihkDV5Iqfa6TwKaIGLBSdbXoNNpANRZoo1eeQbn2G8+oUf0AZzR81z76bEAPqC+SrQUy+NBqQtTdOasJKb1ZCphLb9tqTqzm/GOwVEBecSigLe+7xEBJieo55VvD7ax/tIMJHFQrMU= Received: from DB7PR05MB4426.eurprd05.prod.outlook.com (52.134.109.15) by DB7PR05MB5113.eurprd05.prod.outlook.com (20.177.195.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.21; Sun, 11 Nov 2018 12:42:02 +0000 Received: from DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::bc22:c2f5:208d:826f]) by DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::bc22:c2f5:208d:826f%2]) with mapi id 15.20.1294.044; Sun, 11 Nov 2018 12:42:02 +0000 From: Shahaf Shuler To: Slava Ovsiienko , Yongseok Koh CC: "dev@dpdk.org" Thread-Topic: [PATCH 0/3] fix VXLAN related rules cleanup and management Thread-Index: AQHUeNwPhAfWAWAf40mCoKTHboxzTKVKgB0g Date: Sun, 11 Nov 2018 12:42:02 +0000 Message-ID: References: <1541843951-31708-1-git-send-email-viacheslavo@mellanox.com> In-Reply-To: <1541843951-31708-1-git-send-email-viacheslavo@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=shahafs@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB7PR05MB5113; 6:r6IxbTXyzReOgXP2d9+CRYNag+yZeJAHcjnIlQQ0MVn0kEFpaTtPLNDXunK6GSlBUtTiXWwglz4ul19L4u/FXdZ2aZqXgQdusDU5NNmA0hjnHsJG1QUdKt3eq2B6EsSYfGGMSVNJnCv7bN9EyJz5hmjvXWX28xAiXK3b7vL4VyD+GisGj03pIkFLJKgqDIJsnKhIUHXF6ZnqEKJHQSv35WjvEAQ0c6vG3oqfOJLnjBMK3HGi2g7/6gaCrrfBxEdmGz++ccwuT8mdfuTanUc8Xoijgs9E65u6wS/c9mJRzVSV36AkhpvBjwlFapSS9Txo+ov02qVlvD0wQrM5TTWAIlugg+QuZhVNy3J31WbKfabzALGbsx/4uIYQre+P1jRDoa6wnE59qQe3yX27gvcc5uLwQXUeATPVH1a2Kug1teij4krJGWD/J111vS1onFypo7nmh10Q0IU+UQOc9iAjkg==; 5:kvA8LlDnuy0ohfJkni36/4JuqQj1ZCaGIvSiXZte8Yyq088BWX3NStvizm/xtPFjGI+OE99hF+Sji+SGJ4pSsnz0heYxDjCp0OsfdJX+zQl7FX2fpdlXZvipk2wFIT6IZzitu/nWhTAcmp5+Svt5nCcpI1lBYkWer5M8q3/YnBQ=; 7:D8ce9/tBtWYsUuOnsNs2uzUC/2TKOOnzwD3L/KtSZN9z6I+ddFyO7LE6z7a3ePJh06cJNIytoGEfk9SlKA+RiHkulHbjsYGdhuMfJ0WkvKYE8PAqTO6gZ/wB0pREY5xSlNlKJDQJsltDTYV5x12hLA== x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: a21bfc10-d607-4191-ec2b-08d647d3145e x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390040)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:DB7PR05MB5113; x-ms-traffictypediagnostic: DB7PR05MB5113: 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)(10201501046)(3231382)(944501410)(52105112)(3002001)(93006095)(93001095)(6055026)(148016)(149066)(150057)(6041310)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:DB7PR05MB5113; BCL:0; PCL:0; RULEID:; SRVR:DB7PR05MB5113; x-forefront-prvs: 08534B37A7 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(396003)(136003)(39860400002)(366004)(376002)(199004)(189003)(305945005)(110136005)(7736002)(74316002)(316002)(6436002)(8936002)(2900100001)(5660300001)(71200400001)(71190400001)(186003)(478600001)(2906002)(81156014)(76176011)(8676002)(81166006)(4326008)(7696005)(3846002)(99286004)(66066001)(6116002)(33656002)(9686003)(68736007)(6636002)(229853002)(55016002)(102836004)(53936002)(26005)(6506007)(25786009)(6246003)(105586002)(106356001)(11346002)(446003)(256004)(97736004)(14444005)(14454004)(86362001)(476003)(486006); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR05MB5113; H:DB7PR05MB4426.eurprd05.prod.outlook.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-antispam-message-info: O20bJcmvJkIQkVc8dQFBgS0d6Wk2ufGZ6ke+qI1hYBk/iXAO3FbSMfRFRi9QReGvmGlS/fXQQYUnM/HUiDgBuTEVGGQ1edCn0DqJoRUcOSrdOVjvSD5bXLfhlSkrObNWHh3lsb76Mb7BxDCUccY4OnoIwywZrNXoeRPdqzB/spz6AqYNS9h9KV8g2eprxHoYmj3rTgi8603LJYsS3EqM7zZ2Q4Qm481o6Bd8SSkc08m8+Is3x+DrjUnt/cBgxDCXTjpdOLzZpSfA2Ca2qdos9t1qq8j7PjeV3LLaiRRs0JB5aNDhcOu8YrXwamid0ndr32SlAEL8BT060xUGkDt8/UM5qm1tLr0OFNg2yWpd1mE= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: a21bfc10-d607-4191-ec2b-08d647d3145e X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Nov 2018 12:42:02.4315 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR05MB5113 Subject: Re: [dpdk-dev] [PATCH 0/3] fix VXLAN related rules cleanup and management 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, 11 Nov 2018 12:42:03 -0000 Saturday, November 10, 2018 11:59 AM, Slava Ovsiienko: > Subject: [PATCH 0/3] fix VXLAN related rules cleanup and management >=20 > The VXLAN related rule cleanup routine queries and gathers all existing l= ocal > IP and neigh rules into buffer list. One buffer may contain multiple rule > deletetion commands and is prepared to send into Netlink as single messag= e. > But, if error occurs for some deletion commands in the buffer, the multip= le > ACK message with errors can be send back by the kernel. It breaks the > Netlink communication sequence numbers, because we expect only one > ACK message and it smashes out futher Netlik communication. >=20 > The workaround of this problem is to send rule deletion commands from > buffer in one-by-one fashion and get ACK message for every command sent. > We do not expect too may rules preexist, so there should not be critical > performance degradation at VXLAN outer interface initialization. >=20 > Viacheslav Ovsiienko (3): > net/mlx5: fix buffer allocation check in rule cleanup > net/mlx5: add Netlink message size check in rule cleanup > net/mlx5: fix rule cleanup Netlink command sending Series applied to next-net-mlx, thanks.=20