]> git.baikalelectronics.ru Git - kernel.git/commit
qede: Add support for link
authorSudarsana Kalluru <Sudarsana.Kalluru@qlogic.com>
Mon, 26 Oct 2015 09:02:32 +0000 (11:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Oct 2015 02:34:50 +0000 (19:34 -0700)
commit9b1fc9b480678e77bcb4ca456c6dc5b0ece5da68
treee7c8c771b40d26fe65586da1cd948bfbf07e7c84
parented87dcd554f60685e618918b6f3e23a629ec5f9d
qede: Add support for link

This adds basic link functionality to qede - driver still doesn't provide
users with an API to change any link property, but it does request qed to
initialize the link using default configuration, and registers a callback
that allows it to get link notifications.

This patch adds the ability of the driver to set the carrier as active and
to enable traffic as a result of async. link notifications.
Following this patch, driver should be capable of running traffic.

Signed-off-by: Sudarsana Kalluru <Sudarsana.Kalluru@qlogic.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: Ariel Elior <Ariel.Elior@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qede/qede_main.c