]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commita2ec6172d29cf3aed92e9db40e83e36329db1dd5
treee7c8c771b40d26fe65586da1cd948bfbf07e7c84
parentcc875c2e4f34e86c2f562f18b6e917cfcc560bcb
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