From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1nWPam-0005ot-VT for mharc-grub-devel@gnu.org; Mon, 21 Mar 2022 17:29:32 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51524) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWPal-0005oa-Ao for grub-devel@gnu.org; Mon, 21 Mar 2022 17:29:31 -0400 Received: from [2607:f8b0:4864:20::72c] (port=37783 helo=mail-qk1-x72c.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nWPaj-0003pU-O7 for grub-devel@gnu.org; Mon, 21 Mar 2022 17:29:30 -0400 Received: by mail-qk1-x72c.google.com with SMTP id s16so12702400qks.4 for ; Mon, 21 Mar 2022 14:29:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=mRc08fDNu1oqr8sv6XFuNCQPcAJOG5MyTjYjIXQ9SDg=; b=R5JaT+Q2hYtzP3mRVk1L4ygqryovv8yFDXGkemdkh7KWs3TxuCpUjtJchxBo12gaRl zUqwIeNQ22WROwT5QMoBd6W7oGNNmZutfhBGBfc7Wu5eehHkX/vLJdfYe6mXkCb7NB5N 0+47wZdG/TsKhXAYK7K+/XZMDvPHHeDwmEbmqeDVT2LRIP1x0fJ6C2mNa8cieQf4tsjY MhT/pXsNH7xalDjlPyBcFwE3Ijo6ijCM09G066PH3pbdsXAONrZZhBjrluSgN0uDKdAp KpcCAmLTr+bJhrHcu9ndh0QXKuGxccsECmpd54B8YsisRw6CeEZ+Ud6fEP8R9kdREEpJ NJkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=mRc08fDNu1oqr8sv6XFuNCQPcAJOG5MyTjYjIXQ9SDg=; b=xzyJTo0cMowxI+mwZoj7TVdnntmHBUX+/6G88MFwruAvxZ1qROAQtomEFK+WV4IWjU JLQVHEq3NaQQeIKy9HiqGVv+zjqUjVhJOsbEbwK3r8AD+tuDcNGAdX3ZjnKMtam0DLjq cBqmX32fU8KgSI4RvnYyURgJUg9z7aiBKq9CuYA6/wlZxjDGiTA2M8lC918GpPcfvIn+ zf+pVluZvqcnPQritRmP0+6JQyUm+f3SnD/Sq2RlZUGHGW4HNKo/iEwaUpEG8vdRSpJ5 9g3UjhRKMr72cHR7NfVxKy78JlUmSux1zMP56SYm/MsOmGggwQfHXeY0dAyG83BMjaCk 8+eA== X-Gm-Message-State: AOAM530tZlzZKCUh1a/H+DHxIfx9c99lYNmOgcBKRRmTPel37/b7QcVd RiYo25GTQFGCCBP5vjQPXiWWIS0ZYvcqNupexDOSxRv40UXaNxJLqVy2w71ptjc29RTPG2JRotc Xoq3tNOFal5cfmjS6Aw8voVifYY5ZNypLf7PMFuYnIPLU9VKO4GBI7V0a5ocd7g== X-Google-Smtp-Source: ABdhPJxrenDv7QUC5SCKgvg288J2D2Xsp2qgnTeKp7VxucA4auKTHXTUJpNneulBTtP8Zd7XfKzclg== X-Received: by 2002:a05:620a:1aa4:b0:67d:52ab:b1dd with SMTP id bl36-20020a05620a1aa400b0067d52abb1ddmr13803996qkb.773.1647898168447; Mon, 21 Mar 2022 14:29:28 -0700 (PDT) Received: from a-Virtual-Machine.mshome.net ([136.56.89.57]) by smtp.gmail.com with ESMTPSA id 188-20020a3709c5000000b0067b147584c2sm8428061qkj.102.2022.03.21.14.29.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 14:29:28 -0700 (PDT) From: Chad Kimes To: grub-devel@gnu.org Cc: Chad Kimes Subject: [PATCH 0/2] Add command-line management of VLAN config Date: Mon, 21 Mar 2022 17:29:14 -0400 Message-Id: <20220321212916.546630-1-chkimes@github.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::72c (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::72c; envelope-from=chkimes@github.com; helo=mail-qk1-x72c.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2022 21:29:31 -0000 These patches provide functionality to configure 802.1Q VLAN identifiers on existing network interfaces using the GRUB command line. The first patch simply updates the output of net_ls_addr to include information about interface VLAN configuration. The second patch introduces a new command net_set_vlan that allows configuration of a target network interface, for situations where either the user wants to manually configure a VLAN or where the configuration is not properly being populated in the boot process. Chad Kimes (2): Add vlan information to net_ls_addr output Add net_set_vlan command docs/grub.texi | 19 ++++++++++++++ grub-core/net/net.c | 61 +++++++++++++++++++++++++++++++++++++++++++-- include/grub/net.h | 6 +++++ 3 files changed, 84 insertions(+), 2 deletions(-) -- 2.25.1