Re: [dpdk-dev] [PATCH] net/ixgbe: fix default MAC setting

2017-05-05 Thread Thomas Monjalon
02/05/2017 10:34, Wenzhuo Lu: > Pool 0 is not PF, it's VF 0. So the MAC is set for VF 0 > but not PF. > The code introduced a weird issue. In the scenario PF + VF, > when only starting PF, the default PF MAC address is working. > But after starting a VF, the default PF MAC address becomes > the VF'

Re: [dpdk-dev] [PATCH] net/ixgbe: fix default MAC setting

2017-05-02 Thread Lu, Wenzhuo
Hi Igor, From: Igor Ryzhov [mailto:iryz...@nfware.com] Sent: Tuesday, May 2, 2017 9:33 PM To: Lu, Wenzhuo Cc: dev@dpdk.org; sta...@dpdk.org Subject: Re: [dpdk-dev] [PATCH] net/ixgbe: fix default MAC setting Hello Wenzhuo, How about also delete meaningless "ixgbe_remove_rar(dev, 0);"

Re: [dpdk-dev] [PATCH] net/ixgbe: fix default MAC setting

2017-05-02 Thread Igor Ryzhov
Hello Wenzhuo, How about also delete meaningless "ixgbe_remove_rar(dev, 0);"? Best regards, Igor On Tue, May 2, 2017 at 11:34 AM, Wenzhuo Lu wrote: > Pool 0 is not PF, it's VF 0. So the MAC is set for VF 0 > but not PF. > The code introduced a weird issue. In the scenario PF + VF, > when only

[dpdk-dev] [PATCH] net/ixgbe: fix default MAC setting

2017-05-02 Thread Wenzhuo Lu
Pool 0 is not PF, it's VF 0. So the MAC is set for VF 0 but not PF. The code introduced a weird issue. In the scenario PF + VF, when only starting PF, the default PF MAC address is working. But after starting a VF, the default PF MAC address becomes the VF's address. Use the pool which is not occu