From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-f196.google.com (mail-pf1-f196.google.com [209.85.210.196]) by dpdk.org (Postfix) with ESMTP id 76AB223D for ; Mon, 25 Mar 2019 19:06:20 +0100 (CET) Received: by mail-pf1-f196.google.com with SMTP id p10so6817353pff.3 for ; Mon, 25 Mar 2019 11:06:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=RPgk0rO5kRghJ1XWKTjiOItB9VgY+Cc28SZcuo2z7VA=; b=zywOD38ReakXbAkzUrLj1XPxZocQSTgmc2Yr6FEUbyZeY/y7ieAHhGJUJIu3OchBJO 16vEJ6De5/DTSbtQX+74G2Th2GQFdKgeJOdBn3clDOYvhz0idQJ+UDXkfDMefyH/pJRP eKS6hZCx1ReRUAAb+RVWK4zInGTxl4zVtayCFH8bQaaLhWvmJPNul/lfvRvQBCcqLWsh +h+VO/HhoFSx6JerdmvJIGTCuyxQFDNgmsOBmlK4uRL4riaTpTsAELKk7/QEH1GcBItP 3gSJxFsH858LX60815KGHLAVjozl0jJLeKYtckhIXNVj+TARZlPA1qqBT6r8boq1I/ne pqVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=RPgk0rO5kRghJ1XWKTjiOItB9VgY+Cc28SZcuo2z7VA=; b=QoactAWiZ+vONarf0TUlb2bjzw8fVHZbY7r++7vhlYezrP3+Jvk6lljBACRq6rhfKN H0FsSiwpGnTtTppcDLa8WV3Rq7ySspYt8aolTQQI9C+e7jsPI6kymyy/RHUHtDU8CJGH +EMQh9HcZ0GMeJeoTc+wtCRlXOx8+DjW2QdJlhvIHKOO+PA7ew+0FfS+EaXCbEm+ZHlT fTeNjxYheYDUBZRfCjDtEfUzGjohrlt2VXgTkHjpd5MgnLsk96UFuP1FH1zaBYNbMjoK elfZnZbqY74j302g1zHJE6XIrAtVau3RE0q8GoL1ylBlT2ZIDfNZViJjEFI07OFvHRWc PmYQ== X-Gm-Message-State: APjAAAWLvXWvOkpd+rTmTDC8P6z12IMLtBXqrGp7dxxVvIr2aps5vKft M3ECVKfaxIDUWkMd/1K2N73gOrPY+pr3jA== X-Google-Smtp-Source: APXvYqyx2nrKd6CHZSpSdqg85z09xJ2KQwh8+gouwRLVB05A4gOX/AVqmZcxLWh1YZ5sU0/Q6/b2sQ== X-Received: by 2002:aa7:814e:: with SMTP id d14mr1630582pfn.101.1553537179551; Mon, 25 Mar 2019 11:06:19 -0700 (PDT) Received: from shemminger-XPS-13-9360 (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id m69sm29700354pfi.151.2019.03.25.11.06.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 25 Mar 2019 11:06:19 -0700 (PDT) Date: Mon, 25 Mar 2019 11:06:16 -0700 From: Stephen Hemminger To: Viacheslav Ovsiienko Cc: dev@dpdk.org, shahafs@mellanox.com Message-ID: <20190325110616.4fde5eaa@shemminger-XPS-13-9360> In-Reply-To: <1553533414-9911-2-git-send-email-viacheslavo@mellanox.com> References: <1553155888-27498-1-git-send-email-viacheslavo@mellanox.com> <1553533414-9911-1-git-send-email-viacheslavo@mellanox.com> <1553533414-9911-2-git-send-email-viacheslavo@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2 01/13] net/mlx5: add representor recognition on kernels 5.x 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: Mon, 25 Mar 2019 18:06:20 -0000 On Mon, 25 Mar 2019 17:03:22 +0000 Viacheslav Ovsiienko wrote: > + * Currently we support sinlge E-Switch per PF configurations > + * only and representors_id field contains the vport index for > + * corresponding VF, deduced from representor port name. > + * For exapmple, let's have the IB device port 10, it has > + * attached network device eth0, which has port name attribute > + * pf0vf2, we can deduce the VF number as 2, and set vport index > + * as 3 (2+1). This assigning schema should be changed if the > + * multiple E-Switch instance per PF configurations or/and PCI > + * subfunctions dded Please spell check this comment (and others). From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 59C5AA05D3 for ; Mon, 25 Mar 2019 19:06:22 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 258A110A3; Mon, 25 Mar 2019 19:06:22 +0100 (CET) Received: from mail-pf1-f196.google.com (mail-pf1-f196.google.com [209.85.210.196]) by dpdk.org (Postfix) with ESMTP id 76AB223D for ; Mon, 25 Mar 2019 19:06:20 +0100 (CET) Received: by mail-pf1-f196.google.com with SMTP id p10so6817353pff.3 for ; Mon, 25 Mar 2019 11:06:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=RPgk0rO5kRghJ1XWKTjiOItB9VgY+Cc28SZcuo2z7VA=; b=zywOD38ReakXbAkzUrLj1XPxZocQSTgmc2Yr6FEUbyZeY/y7ieAHhGJUJIu3OchBJO 16vEJ6De5/DTSbtQX+74G2Th2GQFdKgeJOdBn3clDOYvhz0idQJ+UDXkfDMefyH/pJRP eKS6hZCx1ReRUAAb+RVWK4zInGTxl4zVtayCFH8bQaaLhWvmJPNul/lfvRvQBCcqLWsh +h+VO/HhoFSx6JerdmvJIGTCuyxQFDNgmsOBmlK4uRL4riaTpTsAELKk7/QEH1GcBItP 3gSJxFsH858LX60815KGHLAVjozl0jJLeKYtckhIXNVj+TARZlPA1qqBT6r8boq1I/ne pqVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=RPgk0rO5kRghJ1XWKTjiOItB9VgY+Cc28SZcuo2z7VA=; b=QoactAWiZ+vONarf0TUlb2bjzw8fVHZbY7r++7vhlYezrP3+Jvk6lljBACRq6rhfKN H0FsSiwpGnTtTppcDLa8WV3Rq7ySspYt8aolTQQI9C+e7jsPI6kymyy/RHUHtDU8CJGH +EMQh9HcZ0GMeJeoTc+wtCRlXOx8+DjW2QdJlhvIHKOO+PA7ew+0FfS+EaXCbEm+ZHlT fTeNjxYheYDUBZRfCjDtEfUzGjohrlt2VXgTkHjpd5MgnLsk96UFuP1FH1zaBYNbMjoK elfZnZbqY74j302g1zHJE6XIrAtVau3RE0q8GoL1ylBlT2ZIDfNZViJjEFI07OFvHRWc PmYQ== X-Gm-Message-State: APjAAAWLvXWvOkpd+rTmTDC8P6z12IMLtBXqrGp7dxxVvIr2aps5vKft M3ECVKfaxIDUWkMd/1K2N73gOrPY+pr3jA== X-Google-Smtp-Source: APXvYqyx2nrKd6CHZSpSdqg85z09xJ2KQwh8+gouwRLVB05A4gOX/AVqmZcxLWh1YZ5sU0/Q6/b2sQ== X-Received: by 2002:aa7:814e:: with SMTP id d14mr1630582pfn.101.1553537179551; Mon, 25 Mar 2019 11:06:19 -0700 (PDT) Received: from shemminger-XPS-13-9360 (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id m69sm29700354pfi.151.2019.03.25.11.06.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 25 Mar 2019 11:06:19 -0700 (PDT) Date: Mon, 25 Mar 2019 11:06:16 -0700 From: Stephen Hemminger To: Viacheslav Ovsiienko Cc: dev@dpdk.org, shahafs@mellanox.com Message-ID: <20190325110616.4fde5eaa@shemminger-XPS-13-9360> In-Reply-To: <1553533414-9911-2-git-send-email-viacheslavo@mellanox.com> References: <1553155888-27498-1-git-send-email-viacheslavo@mellanox.com> <1553533414-9911-1-git-send-email-viacheslavo@mellanox.com> <1553533414-9911-2-git-send-email-viacheslavo@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2 01/13] net/mlx5: add representor recognition on kernels 5.x 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190325180616.ZA7PLRPcRac4kQh_h1h8ZFE7bQ54W_lj5rjWPcrmNRI@z> On Mon, 25 Mar 2019 17:03:22 +0000 Viacheslav Ovsiienko wrote: > + * Currently we support sinlge E-Switch per PF configurations > + * only and representors_id field contains the vport index for > + * corresponding VF, deduced from representor port name. > + * For exapmple, let's have the IB device port 10, it has > + * attached network device eth0, which has port name attribute > + * pf0vf2, we can deduce the VF number as 2, and set vport index > + * as 3 (2+1). This assigning schema should be changed if the > + * multiple E-Switch instance per PF configurations or/and PCI > + * subfunctions dded Please spell check this comment (and others).