Re: [multipathtcp] Socket API for MPTCP

Olivier Bonaventure <Olivier.Bonaventure@uclouvain.be> Thu, 14 July 2016 12:00 UTC

Return-Path: <olivier.bonaventure@uclouvain.be>
X-Original-To: multipathtcp@ietfa.amsl.com
Delivered-To: multipathtcp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B40F512D78C for <multipathtcp@ietfa.amsl.com>; Thu, 14 Jul 2016 05:00:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.321
X-Spam-Level:
X-Spam-Status: No, score=-4.321 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=uclouvain.be
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ahBMesOflz5Z for <multipathtcp@ietfa.amsl.com>; Thu, 14 Jul 2016 05:00:53 -0700 (PDT)
Received: from smtp1.sgsi.ucl.ac.be (smtp.sgsi.ucl.ac.be [130.104.5.67]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9E82612D77B for <multipathtcp@ietf.org>; Thu, 14 Jul 2016 05:00:53 -0700 (PDT)
Received: from mbpobo.local (unknown [130.104.228.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: obonaventure@smtp1.sgsi.ucl.ac.be) by smtp1.sgsi.ucl.ac.be (Postfix) with ESMTPSA id D854867DE70; Thu, 14 Jul 2016 14:00:45 +0200 (CEST)
DKIM-Filter: OpenDKIM Filter v2.9.2 smtp1.sgsi.ucl.ac.be D854867DE70
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=uclouvain.be; s=selucl; t=1468497646; bh=iD7qaedWTrEdXlwDEyZ9IOj3WcOXtTSoUslMf1I0NdY=; h=Reply-To:Subject:References:To:Cc:From:Date:In-Reply-To; b=Q3Ct+3AX5NZpuSrV1/+PwSGDHASEE8osvyQN4x06+Vaud5nNlZqycmkW3ogOuIEPU wlFB4go6yHWvwGXwGwTOOvLa5/hYFCu201Fv91tAxucXC1xoMCASMFllpFrq5jhWco CZM2ISxsGtHEEYgvVX8YKk3j72XAJNHdujoDvb9c=
X-Virus-Status: Clean
X-Virus-Scanned: clamav-milter 0.99 at smtp-1
References: <13734f09-4c78-06eb-7201-8f125097a5e8@uclouvain.be> <8760sdhgam.wl-jch@pps.univ-paris-diderot.fr> <80651913-f4fd-f439-0661-518115339a42@uclouvain.be> <CF1A1808-0AFE-4B14-A18A-57EEAF03216D@apple.com>
To: Rui Paulo <rpaulo@apple.com>
From: Olivier Bonaventure <Olivier.Bonaventure@uclouvain.be>
Message-ID: <28901857-84b2-14f5-b4d7-59db6ea5d731@uclouvain.be>
Date: Thu, 14 Jul 2016 14:00:46 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <CF1A1808-0AFE-4B14-A18A-57EEAF03216D@apple.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Sgsi-Spamcheck: SASL authenticated,
X-SGSI-Information:
X-SGSI-MailScanner-ID: D854867DE70.A4934
X-SGSI-MailScanner: Found to be clean
X-SGSI-From: olivier.bonaventure@uclouvain.be
X-SGSI-Spam-Status: No
Archived-At: <https://mailarchive.ietf.org/arch/msg/multipathtcp/EXnqO6-XNcm3gkXzuRIubILRKko>
Cc: multipathtcp <multipathtcp@ietf.org>, "<mptcp-dev@listes.uclouvain.be>" <mptcp-dev@listes.uclouvain.be>
Subject: Re: [multipathtcp] Socket API for MPTCP
X-BeenThere: multipathtcp@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: Olivier.Bonaventure@uclouvain.be
List-Id: Multi-path extensions for TCP <multipathtcp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/multipathtcp>, <mailto:multipathtcp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/multipathtcp/>
List-Post: <mailto:multipathtcp@ietf.org>
List-Help: <mailto:multipathtcp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/multipathtcp>, <mailto:multipathtcp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Jul 2016 12:00:56 -0000

Rui,

> On Jul 10, 2016, at 05:18, Olivier Bonaventure <Olivier.Bonaventure@uclouvain.be> wrote:
>>
>> We will then look at select. These notifications will be documented in the next version of the draft.
>
> Does it make sense to talk about kqueue-style notifications in the draft?  Some operating systems have notification mechanisms that can be extended to support MPTCP events in a way that’s cleaner than select().
>

My suggestion in Berlin will be to ask to include an API item in the 
charter and suggest the socket draft as a starting point. I hope that 
other implementors will participate to the draft so that we can have an 
API that it common to all MPTCP implementations. select is one option 
for the notifications, recvmsg/sendmsg, kqueues, etc. Ideally, we should 
document the available API and ask feedback from developpers to improve 
them.


Olivier