Re: [dpdk-dev] [PATCH v2 1/3] ethdev: fix MAC changes when live change not supported

2018-08-24 Thread Alejandro Lucero
On Fri, Aug 24, 2018 at 2:27 PM, Ferruh Yigit wrote: > On 8/24/2018 12:15 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

Re: [dpdk-dev] [PATCH v2 1/3] ethdev: fix MAC changes when live change not supported

2018-08-24 Thread Ferruh Yigit
On 8/24/2018 12:15 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 n

Re: [dpdk-dev] [PATCH v2 1/3] ethdev: fix MAC changes when live change not supported

2018-08-24 Thread Ferruh Yigit
On 8/24/2018 12:15 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 n

[dpdk-dev] [PATCH v2 1/3] ethdev: fix MAC changes when live change not supported

2018-08-24 Thread Alejandro Lucero
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, an