From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH v3 1/2] ethdev: fix MAC changes when live change not supported Date: Fri, 24 Aug 2018 16:04:22 +0100 Message-ID: <93c6412d-362f-7285-e02e-1d51f54fb5ae@intel.com> References: <1535120736-785-1-git-send-email-alejandro.lucero@netronome.com> <1535120736-785-2-git-send-email-alejandro.lucero@netronome.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: stable@dpdk.org To: Alejandro Lucero , dev@dpdk.org Return-path: In-Reply-To: <1535120736-785-2-git-send-email-alejandro.lucero@netronome.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 8/24/2018 3:25 PM, Alejandro Lucero wrote: > Current code assumes a MAC change can occur when the port has been > started. In fact, there are some NICs which require this port state > for being successful, but other NICs not always support MAC change > in that case. > > This patch supports a new device flag for a device advertising this > limitation, and if the flag is set, the MAC is changed before the > port starts. > > Fixes: af75078fece3 ("first public release") > Cc: stable@dpdk.org > > Signed-off-by: Alejandro Lucero Reviewed-by: Ferruh Yigit