From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id AFB36A034F; Wed, 28 Jul 2021 13:10:42 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 748DE40E64; Wed, 28 Jul 2021 13:10:42 +0200 (CEST) Received: from alln-iport-3.cisco.com (alln-iport-3.cisco.com [173.37.142.90]) by mails.dpdk.org (Postfix) with ESMTP id 45B3240142 for ; Wed, 28 Jul 2021 13:10:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=685; q=dns/txt; s=iport; t=1627470640; x=1628680240; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=nA4AVRzBuIf0htoc/v3v5vLd/pjoztMtFeoSWbQguCM=; b=QuUhJ8mQmvbNVRoX33yIyddEHeAO59wDBwTzXSL++OAmwyPhMWxTq39c DhWe5QDdgB8bXQRGmyrvahWCywwdXvYpdl0pb1mSyubamj9R/RBwpVazB 2xRNxlrAiaF2e5cl5h0EroywxocK5P2ncEJ8UDLpzb2CoI6JUmeAL2Yz3 0=; X-IPAS-Result: =?us-ascii?q?A0CnAADcOgFh/4ENJK1aHAEBAQEBAQcBARIBAQQEAQFAg?= =?us-ascii?q?UYGAQELAYFSUQeBUTcxiA8DhTmIY4pYj1qBLoElA1QLAQEBDQEBQQQBAYRYA?= =?us-ascii?q?oJ+AiU1CA4CBAEBAQEDAgMBAQEBAQEDAQEFAQEBAgEGBHsThWgNhkIBAQEEE?= =?us-ascii?q?igGAQE3AQsEAgEIEQQBAR8QIREdCAIEAQ0FCBqFJQMvAZwPAYE6AoofeIEzg?= =?us-ascii?q?QGCBwEBBgQEhUkNC4I0CYE6AYJ7inInHIINgViCYj6CIIImg0uCLoVwbQ+rS?= =?us-ascii?q?pE6XAojgwOYX4V6EqZjLZVej2iVJgIEAgQFAg4BAQaBYgM2gVlwFYMkUBkOj?= =?us-ascii?q?h+DcYpeczgCBgsBAQMJilABAQ?= IronPort-PHdr: A9a23:0BG7vBE14mF+rmGpI4x6VZ1GfjwY04WdBeZdwpUigrNKNK+k+seqM E/e4KBri1nEFcXe5ulfguXb+6bnRSQb4JmHvXxDFf4EVxIMhcgM2QB1BsmDBB70Kffra2oxG 8ERHFNg9muwZE5SHsu2blbOo3q0uDgVHBi3NQd8KunvXIDIiMHi3OGp8JqVaAJN11KA IronPort-HdrOrdr: A9a23:zzF1P6GdkIPJQntGpLqFsJLXdLJyesId70hD6qkvc31om52j+f xGws516fatskdvZJkh8erwX5VoMkmsi6KdhrNhfYtKPTOW+VdASbsD0WKM+UyaJ8STzJ856U 4kSdkDNDSSNyk4sS+Z2njDLz9I+rDum8rE6Za8vhVQpENRGtxdBmxCe2Cm+zhNNXF77O0CZe OhD6R81l6dUEVSSv7+KmgOXuDFqdGOvonhewQ6Cxku7xTLpS+06ZbheiLonCs2Yndq+/MP4G LFmwv26uGIqPeg0CLR0GfV8tB/hMbh8N1eH8aB4/JlbwkEyzzYILiJaYfy+gzdk9vfsWrCV+ O8+yvICv4DrE85uFvF+icFlTOQigrGoEWSuGNwyUGT0fARAghKVvaoQeliA0TkA41KhqAh7E sD5RPri7NHSRzHhyjz/N7OSlVjkVe1u2MrlaoJg2VYSpZ2Us4dkWUzxjIfLH47JlOx1GnnKp gYMOjMoPJNNV+KZXHQuWdihNSqQ3QoBx+DBkwPoNac3TRalG1wixJw/r1Rol4QsJYmD5VU7e XNNapl0LlIU88NdKp4QOMMW9G+BGDBSQ/FdGiSPVPkHqcaPG+lke+63JwloOWxPJAYxpo7n5 rMFFteqG4pYkrrTdaD2ZVamyq9CFlVnQ6dg/22wqIJ9IEUaICbRBFreWpe5fdI+c9vcPEzc8 zDTK5rPw== X-IronPort-Anti-Spam-Filtered: true X-IronPort-AV: E=Sophos;i="5.84,276,1620691200"; d="scan'208";a="739874470" Received: from alln-core-9.cisco.com ([173.36.13.129]) by alln-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 28 Jul 2021 11:10:34 +0000 Received: from mail.cisco.com (xbe-rcd-006.cisco.com [173.37.102.21]) by alln-core-9.cisco.com (8.15.2/8.15.2) with ESMTPS id 16SBAYwl028618 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=OK); Wed, 28 Jul 2021 11:10:34 GMT Received: from xfe-aln-005.cisco.com (173.37.135.125) by xbe-rcd-006.cisco.com (173.37.102.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Wed, 28 Jul 2021 06:10:34 -0500 Received: from xfe-rtp-004.cisco.com (64.101.210.234) by xfe-aln-005.cisco.com (173.37.135.125) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Wed, 28 Jul 2021 06:10:33 -0500 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (64.101.32.56) by xfe-rtp-004.cisco.com (64.101.210.234) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15 via Frontend Transport; Wed, 28 Jul 2021 07:10:33 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NAi9ZSia+DAbuRvrJHFNDPU4r9fEFfp6IMK8lTyeE3KpnllnE6l5TFLJlN1I9h8EDqh6FZxFOhpTGM7mVLuaqQ0WJ2+qHs4uvOjgDaFwwg7MFLzIe8GxghJ2naFgDbSAFfJHrx6QvGJFNvB2CqnGbEt+bhJ4GDezhLJ2O5jXcVc8c2FsqQW3Sz6PaLeRj6kRR3d/U3YvJ34hHD8rZDatE4/QY26GJF0qtsTfsOfsqracuM2Xtty3s//PeD1HI4jFtgSZY4RsVuVbKpvG2I+QmXH0ObWyceRHWtVU219ZGZIjoNJSEL2m5aYU19fTnvn+cwEg/jhYpMOUE/vOWSki/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nA4AVRzBuIf0htoc/v3v5vLd/pjoztMtFeoSWbQguCM=; b=jCBjuT8XQSxtnlj4RhXtYYCRyt41PnJ2pMUpyNCp6+gvtwZCRrQbnzDzLm7p7XIdfS6uI6Hsbdosq64roXgM/1O8C0viHLQR7c3x+d16y5cNkxaV3ypR+V6YYnO10QH26bppuIXcs8aksKNUSKQoe0ISJJZvKat8jM9RkRAV4mFRpsNN65uyCTClj9SAOptGHs9OWD3Stt2b4URRQBxg0basOI7oCeMGkn2o4IIIk3GQq/BdmSSfU87Dur8agkH+lULq8itfynrug9ljLNQ86C3m5CzugSt6kzhPHzu9QxWgxTw38lmQ+Hw3rYep5tshxveT0ewMhie6/dZNkGEXSA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nA4AVRzBuIf0htoc/v3v5vLd/pjoztMtFeoSWbQguCM=; b=0GPAKoOWx5wQg4+FsECyCYbdhbolL16EUaE/F5yKrm9nJFW5EV+p9E/tHMb7/UV1xtXJTwRb2QlPLdQCKSSsGtYtZHhwPj8s+GzSlY1gkISX15OYG4xc0OuVbbIVW6bM88xxzY4yNmv+hiKLg5z/gmo5C8Aq183gGWnKk85XGK0= Received: from CY4PR1101MB2102.namprd11.prod.outlook.com (10.172.79.15) by CY4PR11MB1478.namprd11.prod.outlook.com (10.172.68.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4352.26; Wed, 28 Jul 2021 11:10:31 +0000 Received: from CY4PR1101MB2102.namprd11.prod.outlook.com ([fe80::7142:41ee:3a0f:2a96]) by CY4PR1101MB2102.namprd11.prod.outlook.com ([fe80::7142:41ee:3a0f:2a96%6]) with mapi id 15.20.4352.031; Wed, 28 Jul 2021 11:10:30 +0000 From: "Jakub Grajciar -X (jgrajcia - PANTHEON TECH SRO at Cisco)" To: Nathan Skrzypczak , "dev@dpdk.org" CC: "andrew.rybchenko@oktetlabs.ru" Thread-Topic: [PATCH v2] net/memif: fix abstract socket addr_len Thread-Index: AQHXf6QHjf4X9hzJFUOtNXoERRbJsKtYQjEA Date: Wed, 28 Jul 2021 11:10:30 +0000 Message-ID: References: <20210617162233.54296-1-nathan.skrzypczak@gmail.com> <20210723091857.9760-2-nathan.skrzypczak@gmail.com> In-Reply-To: <20210723091857.9760-2-nathan.skrzypczak@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=cisco.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 49260c04-4b0a-4b06-0831-08d951b8501c x-ms-traffictypediagnostic: CY4PR11MB1478: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1013; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: yvq2aMmkeP/BrpNXEBJCOeFtzI2Nh3Z8i5+49cF7vw3h4fI5IgLCEn41xgnte5RjrrDNlPKl4t3etbS5DW7Kl9cNL/LGh0qkDdWgRNs1PF5GuD2Jt4A+myzFRPMLDh5s6zwOqeNcg1HMai8+QoEHOyT1FldCw60+Gcjgtvhp9XdqHK3OjPSTNKOEi/SnqG6tX8L3yA6KwJlIlrQUe9S97a+Wcek4gW5BKArOxNkHqYnoIIyWbQBH8bjeEyHTbrxAZcOvmzaiEGjD9gqLuDCtR01TBlCUCq7ZqsfxF8VZtCsA2qn5T28TtD3Ffr7wFlxvAJ+vuKr1SDcAqO+wjufqHKRe4aSsLJLQIR2EkVerTwIjM0dYmSGIFxM/B908+80rGNXpVRcd6oA/kJtE73LTzlvWAEBwW7wQnO1kALVR9Zc13JiJ2p3AXdYJy8kbwRqx3H140Fa+NFpnsVLUrmCs6uIDTuRwRSKl/s5Z8aJlCAkTzrh5pUzYyX9grLLyb9w+ajGhXjST/nwmbfn6TuD2u6+7wfZka3id3dtOfVLPuD+KfbZxrNpCWumi0ihuTFt+bvvp/GyLifzZGg+Uxk3UH135vpMQE3guGPQpjrE/zKZfwQuEdLfn8wkzyTLp6L0pcEJOJmdveJZEftnUct38jI+obMws/h24RCMSboROzfoprqo8dNRCOOIxmX7bE/tLs0Gkjd8XsriZhlsOtzxeDg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CY4PR1101MB2102.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(39860400002)(376002)(346002)(366004)(136003)(396003)(33656002)(86362001)(186003)(26005)(2906002)(6506007)(53546011)(7696005)(83380400001)(71200400001)(5660300002)(52536014)(4744005)(4326008)(8936002)(8676002)(76116006)(66476007)(66446008)(66556008)(66946007)(478600001)(64756008)(55016002)(110136005)(9686003)(38070700005)(122000001)(38100700002)(316002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?w2CFmL97JolhJ0hOozLqzMLitsEKKhT9+D4D52nsW2szFjOPNvtju0DisObt?= =?us-ascii?Q?EjKfAPoJ0TSEkgA6LT2k4e0e1nwtrlip9M9ShsV68uMgjSpZ4xtCo1Abt8hv?= =?us-ascii?Q?2qqx2/CvjvvZtX1S6YG85qSO9vn9ok5NprvntgawMGqcraw6tnZ5BO1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/uuMZccwE+HfY9CJLIk5WB7BvP/VXhWWS19jCKwLW9VGnZTd6CPWmTW?= =?us-ascii?Q?uHjPzP75xo5wP3thGf/qt51qZI7wRpmEto/8NxGtzWlwbErg/2Hqyj6M1r2J?= =?us-ascii?Q?8KDFw76Do+EmbrJ+gjxw5km3zryJ+QiXlBrG41/IoSpOr4THv64QLaTkZ4/M?= =?us-ascii?Q?44iNtPXal6GR01Dz5EVSQQdBkmPJpiSGRd4wbAuCL+42lWE3Nnh929uNjNce?= =?us-ascii?Q?B5GRJI+glWkRMxyKour+rUevJB2djRcm3EZmVCnYgEcdHqENBH6mCJElQii3?= =?us-ascii?Q?4hI=3D?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CY4PR1101MB2102.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 49260c04-4b0a-4b06-0831-08d951b8501c X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Jul 2021 11:10:30.7793 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 7bAjo/gJiybmy7/H+Yb0+IPhmqhD3WMGYAQYzFPVepgoeFbdQMwnQAqthJXHf0E7NS8lyWtnmGXrYDN6DHfJwg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR11MB1478 X-OriginatorOrg: cisco.com X-Outbound-SMTP-Client: 173.37.102.21, xbe-rcd-006.cisco.com X-Outbound-Node: alln-core-9.cisco.com Subject: Re: [dpdk-dev] [PATCH v2] net/memif: fix abstract socket addr_len X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Nathan Skrzypczak > Sent: Friday, July 23, 2021 11:19 AM > To: dev@dpdk.org > Cc: andrew.rybchenko@oktetlabs.ru; Jakub Grajciar -X (jgrajcia - PANTHEON > TECH SRO at Cisco) > Subject: [PATCH v2] net/memif: fix abstract socket addr_len >=20 > This fixes using abstract sockets with memifs. > we were not passing the exact addr_len, which requires zeroing the remain= ing > sun_path and doesn't appear well in other utilities (e.g. > lsof -U) >=20 > Signed-off-by: Nathan Skrzypczak Looks ok to me. Reviewed-by: Jakub Grajciar