qed*: Add support for ethtool link_ksettings callbacks.
authorSudarsana Reddy Kalluru <sudarsana.kalluru@qlogic.com>
Tue, 9 Aug 2016 07:51:23 +0000 (03:51 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Aug 2016 00:36:02 +0000 (17:36 -0700)
commit054c67d1c82afde13e475cdd8b7117a5e40bebb1
tree87f2080cff3cc8f240ebc77ec41b85d190548622
parente27d6cf55e319dbcc95c711f6a22d0176d2ac689
qed*: Add support for ethtool link_ksettings callbacks.

This patch adds the driver implementation for ethtool link_ksettings
callbacks. qed driver now defines/uses the qed specific masks for
representing link capability values. qede driver maps these values to
to new link modes defined by the kernel implementation of link_ksettings.

Please consider applying this to 'net-next' branch.

Signed-off-by: Sudarsana Reddy Kalluru <sudarsana.kalluru@qlogic.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_main.c
drivers/net/ethernet/qlogic/qed/qed_mcp.c
drivers/net/ethernet/qlogic/qed/qed_mcp.h
drivers/net/ethernet/qlogic/qede/qede_ethtool.c
include/linux/qed/qed_if.h