From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f52.google.com (mail-it0-f52.google.com [209.85.214.52]) by dpdk.org (Postfix) with ESMTP id 0FC7E1B364 for ; Fri, 22 Dec 2017 23:33:03 +0100 (CET) Received: by mail-it0-f52.google.com with SMTP id r6so16135844itr.3 for ; Fri, 22 Dec 2017 14:33:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=CY14y/UjHl4TQAOq1jaWvtXm4GE47+xffz2McCgkYU8=; b=iPVolPFn7jesSfBnQZn+NEaBF/GC5Q08pOV87bOanD3uUe6xDH6xJ/bJP2iPlfYzKq yFuuzD/JvL46VI9kfzexXfJlfG20y0f8g8ReirgkEtHXibB4bf0qEGMl47DilIFeqIUs Rqb5df+9C2OyiVXr1daMkkVlXlzKFCfF8vt+3vRt1TzMNxK+fzic8Cdl9ojVFaDpS1iu l/eF1sUzEfCNr+ZbLUDYVbddAittwmueiz5IJlbOGKBudTUP6YgyVsoakvQuW9Szn6Po AQfLBLOMKe6s9E9ERSmrQZZ7g7U81GsBLXB7F7L3nXJLaIISvVka+IbdpTPCVJRj/syq MJTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=CY14y/UjHl4TQAOq1jaWvtXm4GE47+xffz2McCgkYU8=; b=q3D7q48nxssixMdMTs6BHAsJCCBMPiQZyvZmBEKGnpKxY5QSC7eC9pohiSe8CNOiSZ aaIiGv4NBC9I8Gpd5DXashFcEwzXwIWZE9uurlA4BRIxNUc3jvxsbFDZ0jlxfnO2VhyY 867z1Bl4mccxd1nbZ28tjzKWgx/9b7/99aU/QkYLkhWF7pQwNmXXW5sgXRbIYBGcoIUS FIMZNypIT/tV+rwmwnzfnuoVa3TjvthxW3dEZ+HqyHgr8qAJw3XYewtZMB+wRSKN29HV ZpMvkSNtbA8PmIc5qA+HldYiN4WSCIQQN0e4py2ivYrxLF7g5Z4Oj9j0pY7pZBw+ZYPX IfAQ== X-Gm-Message-State: AKGB3mIziI5x2Sr6KIROgOFVV4nfkwWZ1kpZ5P46g5kTK+fHATlceLCZ +0zpvoyxFMrCl2Nq8iCcKz4r7zk3mxesvByLmSg= X-Google-Smtp-Source: ACJfBovktsRan5l2/9vtCQffXa2uk3Zd382hhzXawEp1krun57VAeZLCx+xBuLE9rAS43f3gCGADkWxuDOqmHkefNnM= X-Received: by 10.36.145.216 with SMTP id i207mr19909407ite.73.1513981983170; Fri, 22 Dec 2017 14:33:03 -0800 (PST) MIME-Version: 1.0 Received: by 10.2.53.2 with HTTP; Fri, 22 Dec 2017 14:33:02 -0800 (PST) In-Reply-To: References: <1504773339-21022-1-git-send-email-mohammad.abdul.awal@intel.com> From: Alex Rosenbaum Date: Sat, 23 Dec 2017 00:33:02 +0200 Message-ID: To: Mohammad Abdul Awal Cc: Declan Doherty , dev , Remy Horton , Rony Efraim , Alejandro Lucero Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [RFC 0/5] Port Representor for control and monitoring of VF devices 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: Fri, 22 Dec 2017 22:33:04 -0000 On Fri, Dec 22, 2017 at 4:31 PM, Mohammad Abdul Awal wrote: > On 21/12/2017 14:51, Alex Rosenbaum wrote: >> As described in the links Alejandro referenced earlier, each of the >> switch ports should be a real PMD, and switch operations should be >> applied on these PMD ports. >> This includes the steering redirection of traffic between switch ports >> [1], port ACL's to block/allow traffic, VST/VGT modes and anti >> spoofing, link trust mode [3] for promiscuous configuration, mirroring >> of switch port traffic, and Tx and Rx of switch port traffic to/from >> VF's port. > > I agree that we need a switch_domain parameter. At the moment we do not have > APIs implemented for all the switch operations you have mentioned above. So, > we are planning separate RFC with switch _domain and related APIs. Sure, we can extend these switch ops in a separate step. >> More over, building this as real PMD ports of a switch device removes >> the need to add a new broker framework all together. >> Each vendor just needs to map additional PMD ports during the probing >> stage. > > That is very much possible as well. If we agree to probe all the ports > during the initialization phase, we can have all the representors ready > without any interaction from application and broker. On the other hand, we > may require a broker structure to enable hotplug support. hotplug should be supported for any PMD ports, and any BDF type. I don't understand why do you need the broker framework in order to support hotplug? Alex