linux/drivers/net/ethernet/cavium/thunder
Pavel Fedin bd049a90e5 net: Cavium: Fix MAC address setting in shutdown state
This bug pops up with NetworkManager on Fedora 21. NetworkManager tends to
stop the interface (nicvf_stop() is called) before changing settings. In
stopped state MAC cannot be sent to a PF. However, when the interface is
restarted (nicvf_open() is called), we ping the PF using NIC_MBOX_MSG_READY
message, and the PF replies back with old MAC address, overriding what we
had after MAC setting from userspace. As a result, we cannot set MAC
address using NetworkManager.

This patch introduces special tracking of MAC change in stopped state so
that the correct new MAC address is sent to a PF when interface is reopen.

Signed-off-by: Pavel Fedin <p.fedin@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-06-24 01:02:53 -07:00
..
Makefile
nic.h net: Cavium: Fix MAC address setting in shutdown state 2015-06-24 01:02:53 -07:00
nic_main.c net: thunderx: rework mac address handling 2015-06-02 12:49:29 -07:00
nic_reg.h
nicvf_ethtool.c net: thunderx: fix nicvf_set_rxfh() 2015-06-02 12:49:31 -07:00
nicvf_main.c net: Cavium: Fix MAC address setting in shutdown state 2015-06-24 01:02:53 -07:00
nicvf_queues.c net: thunderx: use GFP_KERNEL in thread context 2015-06-02 12:49:33 -07:00
nicvf_queues.h
q_struct.h
thunder_bgx.c net: thunderx: add static 2015-06-02 12:49:31 -07:00
thunder_bgx.h net: thunderx: rework mac address handling 2015-06-02 12:49:29 -07:00