From nobody Sat Jun 25 06:40:26 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 5ABE586A8B4 for ; Sat, 25 Jun 2022 06:40:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LVPWG0qvPz4l6r for ; Sat, 25 Jun 2022 06:40:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DEE7F1F76C for ; Sat, 25 Jun 2022 06:40:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 25P6ePQr070472 for ; Sat, 25 Jun 2022 06:40:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 25P6ePwL070471 for bugs@FreeBSD.org; Sat, 25 Jun 2022 06:40:25 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 264883] ena and epair interfaces cannot be members of the same bridge Date: Sat, 25 Jun 2022 06:40:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: woodsb02@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656139226; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pHQKcV8aBP1WV000oEKzyW7JhjY2pJ7aO7sK4u23Xyk=; b=b7jrjCYNwelyyFnc/CrgnOn2GPxfVITUfJy6YdoBkJzj1K3ansF2yquPs/i+EZ+f52MEk2 ZuN3iZDzG84JweUKgprIu08WHZFEyBvIsQUsNrA399taQqACORm8nKp8fF1QXifj+VAL8L O11hRaAmtSEomEEvkK0bYZTPgACgF0sD/hvteoxBV/IPZ3K+DPGGTo2YVccMs5r7wpa1vh udEiQwq4qNWV0HdDB2Qwm70C6XkL8QRIm9SNnjeH7TK5YDNGb8yLTMScHbqXRmxBYnm7y0 qqaHJ0JUcslwyF0yeAHjhAGUwEZnywBXZ8gnGzMb7DFFk/UuqffrG6Mr20ckTg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656139226; a=rsa-sha256; cv=none; b=nHHmAiR307kRHvP5zg1/Lp+dgxuxaskJJHAR6BrIavGeOK1L6lizWhDXum5tOexa7TQacH ePvgFZSoe7ROfNEtygO97xsEownNbMxXqi69w5KmIuYbVaTulYX0QKIoYBf600ZchHqWt6 S+0JiTvSBodFh9oYjmAsKTJx3wPBFCERCXKkv3dxQo6TLK9jrSvaO6Az41i2Gvk/mR/Orp HJfJCibrvvt/axraHeamZbdnGlbEVnPTfqhAMogxJTaEDbrf22nLWlHshOa6RLnocCUBUZ NZTEKC/vc07BZ0bGtGQ03gMwf3wCYZ8zgdB+ybaPDGWovLH+pnqkMoEvq09g9w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264883 Bug ID: 264883 Summary: ena and epair interfaces cannot be members of the same bridge Product: Base System Version: 13.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: woodsb02@freebsd.org Running FreeBSD in AWS EC2, it is not possible to join the ena0 interface t= o a bridge at the same time as an epair interface. The commands below result in the same error on FreeBSD 13.1, 12.3, 11.4. With FreeBSD 10.4 in AWS EC2, the xn driver is used instead of the ena driv= er, and this same sequence of commands then works without any issue. This same sequence of commands also works in Vultr which uses the vtnet dri= ver instead of the ena driver. It also works on my laptop with the em driver instead of the ena driver. ec2-user@freebsd:~ $ su root@freebsd:/home/ec2-user # ifconfig bridge create bridge0 root@freebsd:/home/ec2-user # ifconfig epair create epair0a root@freebsd:/home/ec2-user # ifconfig bridge0 addm ena0 root@freebsd:/home/ec2-user # ifconfig bridge0 addm epair0a ifconfig: BRDGADD epair0a: Invalid argument root@freebsd:/home/ec2-user # ifconfig bridge0 deletem ena0 root@freebsd:/home/ec2-user # ifconfig bridge0 addm epair0a root@freebsd:/home/ec2-user # ifconfig bridge0 addm ena0 ifconfig: BRDGADD ena0: Invalid argument root@freebsd:/home/ec2-user # ifconfig ena0: flags=3D8863 metric 0 mtu 9001 options=3D422 ether xxx inet6 xxx%ena0 prefixlen 64 scopeid 0x1 inet xxx netmask 0xfffff000 broadcast xxx media: Ethernet autoselect (Unknown ) status: active nd6 options=3D23 lo0: flags=3D8049 metric 0 mtu 16384 options=3D680003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet 127.0.0.1 netmask 0xff000000 groups: lo nd6 options=3D21 bridge0: flags=3D8843 metric 0 mtu = 1500 ether 58:9c:fc:00:20:47 inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: epair0a flags=3D143 ifmaxaddr 0 port 4 priority 128 path cost 2000 groups: bridge nd6 options=3D3 epair0a: flags=3D8962 metric 0= mtu 1500 options=3D8 ether 02:3c:b7:88:ff:0a groups: epair media: Ethernet 10Gbase-T (10Gbase-T ) status: active nd6 options=3D29 epair0b: flags=3D8862 metric 0 mtu 1500 options=3D8 ether 02:3c:b7:88:ff:0b groups: epair media: Ethernet 10Gbase-T (10Gbase-T ) status: active nd6 options=3D29 --=20 You are receiving this mail because: You are the assignee for the bug.=