[dpdk-dev] [dpdk-stable] [PATCH 01/11] net/qede: fix default MAC address handling

Ferruh Yigit ferruh.yigit at intel.com
Wed Apr 26 10:15:12 CEST 2017


On 4/25/2017 8:28 AM, Rasesh Mody wrote:
> From: Harish Patil <harish.patil at qlogic.com>
> 
> - In qede_mac_addr_set(), in order to configure default MAC address we
> first delete the existing MAC address before trying to add new one. During
> init time, there is no MAC filter to begin with, so trying to remove a
> non-existing MAC address causes a firmware exception. This can be prevented
> by internally calling qede_mac_addr_add() which has the checks in place to
> delete a MAC address only if it was added before.
> 
> - Remove setting of the default MAC address from within
> qede_dev_configure() since rte_eth_dev_start() calls mac_addr_set() anyway.
> 
> Fixes: 2ea6f76aff40 ("qede: add core driver")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Harish Patil <harish.patil at qlogic.com>

Series applied to dpdk-next-net/master, thanks.

Thanks for taking care of coverity issues as well as base files CFLAGS.

(Mail addressed updated to current ones.)



More information about the dev mailing list