🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #5440

Re: mlx4: no ib device for Ethernet ports without IBoE since v6.6

#5440
From: Peter Morrow
Date: Tue, 20 Oct 2026 10:29
14 lines
12304 bytes
On Thu, 15 Oct 2026 at 10:22, Leon Romanovsky <leon@kernel.org> wrote:
> The best approach is probably to add a similar mechanism for mlx4. However, since
> that driver is quite old and has limited test coverage, it would be better to
> implement something like this:
[...]
> Can you please send proper patch?

Thanks Leon. I've tested your change on an Azure VM with two
ConnectX-3 VFs on 6.12.111: both get eth and ib auxiliary devices,
and DPDK attaches both VFs and passes traffic. I'll send it as a patch
this week.

Peter
Technical Details
Message-ID: <CAFcZKTyLm3P8Jr31sQSGpE62W=v9+Jj3iZAQ7MNDM1DcXzroXw@mail.gmail.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-349210-linux-kernel-netdev=dewy.ru
References: <CAFcZKTyCu7K=1OOETBvVrKf-9YKHRk7wXNRyZW7m5P0PEPg1zQ@mail.gmail.com> <20261015092200.GZ219304@unreal>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-349210-linux-kernel-netdev=dewy.ru
From: pdmorrow@gmail.com (Peter Morrow)
Newsgroups: linux.kernel.netdev
Subject: Re: mlx4: no ib device for Ethernet ports without IBoE since v6.6
Date: Tue, 20 Oct 2026 11:29:06 +0100
Organization: Usenet Network
Message-ID: <CAFcZKTyLm3P8Jr31sQSGpE62W=v9+Jj3iZAQ7MNDM1DcXzroXw@mail.gmail.com>
References: <CAFcZKTyCu7K=1OOETBvVrKf-9YKHRk7wXNRyZW7m5P0PEPg1zQ@mail.gmail.com>
 <20261015092200.GZ219304@unreal>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Injection-Info: usenet.network;
	logging-data="3834839"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:elY37L0nGwgMxYcCB9Pm50ANCqs= sha256:5A8nZim+KMPMoGDCf8Nun+eAHHL4p+JYBKRZNX+uCyY=
	sha1:v3dFemUed4ITzWx8fVkjOIINNB8= sha256:d6zcWbQll+BhGhwkwm0nMqLOg8GVrwibH9jVUrUVonQ=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id F3AC8110CA9; Tue, 20 Oct 2026 13:47:23 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.048
X-Spam-Status: No, score=-3.048 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001,
	FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=gmail.com
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id IP6XTOH7b3K7;
	Tue, 20 Oct 2026 13:47:21 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-349210-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
	by mail.dewy.ru (Postfix) with ESMTPS id DE8D5110CA7; Tue, 20 Oct 2026 13:47:10 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sin.lore.kernel.org (Postfix) with ESMTP id 127F32B6B4; Tue, 20 Oct 2026 10:29:26 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1792492165;
	b=ws8JyXZmohz8SOr0UVwUfoiyrJoWByHr/ydGkD1QmHhUNZUWEZe7fSAxNj3PB0ggfSO1
	 6xFLq+sEOlfor2TVVVogrdTPV0jO3YoSucAqtgjAku1FAhr8J2RiIpcppzgJ4cdLiX67k
	 SXvRxhu8hBnJ31JVa2I9PvgZhsWI+tq8Pi4TrFbmWRCH5lxJPNuhE/HtAuMEYgSWT+jk9
	 zx0lXaZHF8Ovmm4c8GL9Hzq3BRIgT3Ud+Auperqx+JrumS3sclnZjUQ0JEFA4EDy/dD9h
	 Ke/0mKb74fvOxSGxiXjqXiN7N2H62BBYJGXXMyDXsfsUuucWJ0W+VrHdH/gJVholSFw==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792492165;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
	 X-Google-DKIM-Signature:X-Forwarded-Encrypted:X-Gm-Message-State:
	 X-Gm-Gg:X-Received:X-Mailing-List:List-Id:List-Post:List-Help:
	 List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 References:In-Reply-To:From:Date:X-Gm-Features:Message-ID:Subject:To:
	 Cc:Content-Type;
	bh=DaGQmjJp37UYSV/iBuExkFx+biffzuBEmX37u8YFfQg=;
	b=Pqxsj8Z4kz9ZfzGUJdYYDPqVN5TkxBETZc+DlOmZBZm2HdU4BMLHOCC3NoAVYL+Qbop1
	 ubk1Z4f6hR2Z20WWa7uSEOduKm5+PXPpajJEzb4AY3SQy6F9LEGrVpEBfmW3xSCgI14/f
	 sJWh1/3kfX9WyWOZnJ229Hwdtp5roTC4uU1vrkfFRyT8FcZpsBpwhDiFFRjXm9bAMAA6p
	 kYf/2lZuEe+Cr2WNQTqZUnH6FxPA8wBsAj1xYYRMfMm49fk/DnHNf1ptsuUvI2JL50ydV
	 pT1XG8H8uUTiM+tzm2a7C7SkKoig4nQxStmer0JShiddTsD9RaHRiMCZnqm492PYCug==
X-ARC-Authentication-Results: i=3; smtp.subspace.kernel.org; 
	dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=UgnKyVx2;
	dmarc=pass header.from=gmail.com;
	spf=pass smtp.mailfrom=gmail.com;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 6A1D3606A321;
	Tue, 20 Oct 2026 10:29:25 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=UgnKyVx2
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=209.85.210.44
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1792492159;
	b=Mo19Otwg5K3/ZmEaoy+Cb+9A+IYdAzgAa3E3d5huqPmixYeuQUSuG/IWOQKCxijnJIjL
	 IJHo1rnft8Q5Bzekc5M5OgQOQ5kHMmWy+zg9G/vVeIQXlQv2XjeEXqMSW9vxiH4RcqsoC
	 EKQ6UTiKqlPn7Jqe98OahctsfWQdDcIk+8dKlvsIykGMGzA1VqdeZPVJS8FsHTnwxxgPR
	 kwv80khFCL4s1phCBL4E+EeQv+64YShBUkJvkCHljRoiGhYMDZV5/bmpdVUJfnE33o6Bq
	 9c9J3uu4hYch36Wj0tjM1d0kHGEKR8GHdsEx21Jlg4koZX3tufcCOABE1JVSHbWj56A==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792492159;
	h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
	 X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:
	 MIME-Version:References:In-Reply-To:From:Date:X-Gm-Features:
	 Message-ID:Subject:To:Cc:Content-Type;
	bh=DaGQmjJp37UYSV/iBuExkFx+biffzuBEmX37u8YFfQg=;
	b=t8FpyC7rseM4B2tlHOIql3rP1L/kJ4WJGmmoGEIeTwL/UN28ypXWXVPiqn/RwcCKna7Q
	 YukNxwOkGR4hNK8zpk8CZ/VYWsULi31SOAtWdt8kDQpmTMis8uCCW4oDaxookCFawQJ+K
	 oOok9sRdR5dB0S6xXkylbhOSA45gk/u3lABLdv5QcWR9tC2V9NkaxJpTMfpJ+ZD53X5Jw
	 0DCVfSkDpitPeu15eQtsW6ah5Lzjq5R7F+Ksd6oDQb6CYc+CYblJ5j0YWNi2o5D1iIgjJ
	 6YGAoFlXFyO0RxFrVJBeR5sHUb5mfbslL/Lw4HZtlz4ezwuy5j//JG4yIg8Idacs9Rg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dmarc=pass header.from=gmail.com;
	spf=pass smtp.mailfrom=gmail.com;
	dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=UgnKyVx2;
	arc=pass header.oldest-pass=0 smtp.remote-ip=209.85.210.44
X-Received: from mail-ot1-f44.google.com (mail-ot1-f44.google.com [209.85.210.44])
	(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3445A606A31B
	for <netdev@vger.kernel.org>; Tue, 20 Oct 2026 10:29:19 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 3445A606A31B
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-ot1-f44.google.com with SMTP id 46e09a7af769-846566246e8so202261a34.1
        for <netdev@vger.kernel.org>; Tue, 20 Oct 2026 03:29:18 -0700 (PDT)
X-ARC-Seal: i=1; a=rsa-sha256; t=1792492158; cv=none;
        d=google.com; s=arc-20260327;
        b=VI3u203WOc7BK6CeFFbGOCrbwf5ERrmeT5BFB83GyldyyLf2nEglheClyqpAmvxoz2
         k1kpV8Uo2vwDcUpZvA+/NSd1CKdZ85csXENmOb3KbPn1h7cpJ47KWhJl+Nag71USGRsu
         RqgrQV3Yu0pWdwgkPseqkaUBvAbDLvDAcQJ4aMiuOFygSaBTRJko7rUBK6toOwqNv0Q2
         WlxRPj4M+2Lk6zayQRo/3BEdZye4Y9N552MUMN1CZ6z1/zRIfmDOShApSTTXlWJsK7oJ
         xWdtqpainoKH2ugzNirJxoYGKcrQyPX4nyNSTpCUaaDD4BNwNGkNgWBorQ4AGka/D6Wa
         bhHg==
X-ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327;
        h=cc:to:subject:message-id:date:from:in-reply-to:references
         :mime-version:dkim-signature;
        bh=DaGQmjJp37UYSV/iBuExkFx+biffzuBEmX37u8YFfQg=;
        fh=XQUCV8MVMYoJTWnh8edFfwg5sROK3ZX3mt1jKYPRNmQ=;
        b=NGlXus/STN9l8XFofDHe9yn8O/tgwOngQhccdUhKeTklHU6+Yd5ImMB02s5GXa2eBL
         TB6VCib5YwooKhNn5I0KgSg7KW17vrveCVgpYFYeAsXzbLXP6i0ujtLo8OaBE4XA1NFz
         DezIxSEcvkWT9GEJ2E4xxLIAxS5L/HPbVhlzAMJN/UNK2DO23CyKEaEbaec3pll1rFqY
         K9Uiqli4/bYqw51tKauC11fb9b5iUIjXCbwpl/OsQCn9z5OrofcCGp5vbT2Jtchwoc1b
         9mhpKjYpGiuEtf7RX0779nMSZpAw3swgIAM6NXACJ8jM2pIzrFw+IwrCLWlTMqx8XT3K
         7wIw==;
        darn=vger.kernel.org
X-ARC-Authentication-Results: i=1; mx.google.com; arc=none
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20251104; t=1792492158; x=1793096958; darn=vger.kernel.org;
        h=content-type:cc:to:subject:message-id:date:from:in-reply-to
         :references:mime-version:from:to:cc:subject:date:message-id:reply-to
         :content-type;
        bh=DaGQmjJp37UYSV/iBuExkFx+biffzuBEmX37u8YFfQg=;
        b=UgnKyVx2lESGArjr2dtbpJZ3jxb2VUQkASgb/7srbrB9yEt5S5buntFjZhWHJCK956
         pd+3dJ4g4voSIxoWT0Yt203YWp0OjJuYg5evDFQDWD54kt7mlm1tiypQtc6YwpK/agtM
         wim2UG0abVcfEgQ7eHJe23+TGR/pfnSmijn01DT0zfIqh/5T32ZFtGcjmdAP2SM7kLaX
         RrdYEFZa+nGtPwwBGLiNUxQAchKquKrJX5eb0tPojBTEQmUceLGp9+PBaWXCZe2qh62s
         vZxYvMCf43HvWKql2UJmSrAvvnRI9J9ysDF2pGSzqeuQlEtxugzmsnHozByQIAgdt0GY
         Icxg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1792492158; x=1793096958;
        h=content-type:cc:to:subject:message-id:date:from:in-reply-to
         :references:mime-version:x-gm-gg:x-gm-message-state:from:to:cc
         :subject:date:message-id:reply-to:content-type;
        bh=DaGQmjJp37UYSV/iBuExkFx+biffzuBEmX37u8YFfQg=;
        b=wqybKkY7QtlWnHuKPCGUnO+dOz++e+FAFertoV0Se9P/xj/TvnqekTLASoGM9m0PaN
         /qy3o49uoGvfsYmPHzksZnk5dX8+i1u+AcCxeFwBP+Zh0nalXeNOVicT3x4MSQLWEawM
         8oOJyhWIN4WN+JSsHfYqq7sFWTpzrZaEP5/fulSFe9mwntb5Z2AHVRDQXO7PjUBcjqYo
         OpqDENdLigRYgDhtJBpbpjoXrvT3j+EY4Lzv+upHw5TNmMDczY8n/8w/XrhPfSIt0psu
         moiEwB6VzJUdRLWXeZvgkTlU+rbicpLAltz+iGwO7UGIVwr/ijB9WoAHAQWjaIZ5KQrz
         H2yg==
X-Forwarded-Encrypted: i=1; AKwUvBwebjidRgGk467/SofV5S5FESwjm2q4QuBUY6+XMoxg2DHjZXi4A6b/po6NG1KK7vAFnDHmXEw=@vger.kernel.org
X-Gm-Message-State: AFq9FYIUb7wz9dJOO0WZdAdcSP9VNikIrlZqDoKqbqWfq2qeUs57j7rL
	uyZ1iouse+hk2YcYT3PGp9ntQgVS7FWV8sjQb2mQMrRwQrEkn/SG/eLpOqqLxdv7Hn/ZrfugQqx
	8e7sWri8ZbBAUs5XUaEOmFlvMw/CaDjg=
X-Gm-Gg: AYBFou1tRDPcDSzjxVkKzMSDPpcdfVUqvEJSBLbudKM8H/43A1SQTx+y6TVUeSL3sJY
	ZdXf9fTvUlLOiwMQYCEJiU8ojc1u8fOqJ6oByeAGNUg1i/Wlpvuim1ob2g2jqWKarf+rWtBCNDP
	nAuNSTXBRLCNxFKVgQWzvJ31WORYhepCC0Cpiv7r7MBUbYOY0jHL63DDyLeV22z3dHUNO0yQC+i
	/8nz8Tq3rVZwn9mrG1rwH/auAJllv+jUwUKVsnSo646Pxjtt2w8rCYI+F9VZI4MRfS7tk7GlIm9
	sFXA3WjzZgeZylrNN85vXUg0zQO95bMYANFjmkRDiQ7DBsFEUFRkMmhl7zgEj2W+aQbD1BMLOIP
	U9MEUamMn2Z0q8E5dH7EQKKmkcT5c88wYbMQnZSNxjkBc+DuHzEc1eFLP4RwvtnOiZ60uMH0pUS
	Fu3ZtiwVVGKId7d0r4TKpvFuTi2yVxH8bt/DPSHnlBdVLA7E6F9eE=
X-Received: by 2002:a05:6830:718c:b0:821:dd7e:330a with SMTP id
 46e09a7af769-84b74767c52mr1172363a34.8.1792492158132; Tue, 20 Oct 2026
 03:29:18 -0700 (PDT)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <20261015092200.GZ219304@unreal>
X-Gm-Features: AclHuK-Hqleao73VUBziUblRp_E3tFyPASV536hNnVlfimnJbooKVRRcaLJeklg
X-Cc: tariqt@nvidia.com, petr.pavlu@suse.com, yishaih@nvidia.com, 
	netdev@vger.kernel.org, linux-rdma@vger.kernel.org