drivers/net: enic: Generate notification of hardware crash
authorNeel Patel <neepatel@cisco.com>
Fri, 16 Aug 2013 22:47:41 +0000 (15:47 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Aug 2013 20:41:01 +0000 (13:41 -0700)
commitd765bb41fde311b57de32bdc9d17965debe8b7af
tree4320deabc7dc0b945a9066661e4b49a7cd510498
parent0b038566c0ea9f8daceae879bb7ad748ab8c95f0
drivers/net: enic: Generate notification of hardware crash

This patch generates a hardware crash notification (NETDEV_REBOOT)
during reset. After a hardware crash, ENIC resets all its resources
including queue pair filters programmed by USNIC. USNIC registers for
this notification, and on receiving it, reprograms the queue pair
filters.

Signed-off-by: Neel Patel <neepatel@cisco.com>
Signed-off-by: Nishank Trivedi <nistrive@cisco.com>
Signed-off-by: Christian Benvenuti <benve@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cisco/enic/enic.h
drivers/net/ethernet/cisco/enic/enic_main.c