numam-dpdk/drivers/net/qede
Harish Patil 49d8b54e86 net/qede: fix default MAC address handling
- 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: 2ea6f76aff ("qede: add core driver")
Cc: stable@dpdk.org

Signed-off-by: Harish Patil <harish.patil@cavium.com>
2017-04-28 14:46:17 +02:00
..
base net/qede: support ntuple and flow director filter 2017-04-04 19:02:55 +02:00
LICENSE.qede_pmd qede: add base driver 2016-05-06 15:51:22 +02:00
Makefile net/qede: support ntuple and flow director filter 2017-04-04 19:02:55 +02:00
qede_eth_if.c net/qede: support LRO/TSO offloads 2017-04-04 19:02:55 +02:00
qede_eth_if.h net/qede: support LRO/TSO offloads 2017-04-04 19:02:55 +02:00
qede_ethdev.c net/qede: fix default MAC address handling 2017-04-28 14:46:17 +02:00
qede_ethdev.h drivers/net: do not use ethdev driver 2017-04-18 19:05:46 +02:00
qede_fdir.c net/qede: support ntuple and flow director filter 2017-04-04 19:02:55 +02:00
qede_if.h net/qede/base: revise tunnel APIs/structs 2017-04-04 19:02:52 +02:00
qede_logs.h net/qede: reduce noise in debug logs 2017-01-17 19:40:51 +01:00
qede_main.c net/qede: support ntuple and flow director filter 2017-04-04 19:02:55 +02:00
qede_rxtx.c net/qede: prevent crash while changing MTU dynamically 2017-04-04 19:02:57 +02:00
qede_rxtx.h net/qede: prevent crash while changing MTU dynamically 2017-04-04 19:02:57 +02:00
rte_pmd_qede_version.map qede: add core driver 2016-05-06 15:51:22 +02:00