]> git.baikalelectronics.ru Git - kernel.git/commit
qed: Add support for virtual link.
authorSudarsana Reddy Kalluru <sudarsana.kalluru@cavium.com>
Wed, 10 Oct 2018 12:00:12 +0000 (05:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Oct 2018 16:58:31 +0000 (09:58 -0700)
commitaf352b2da8592a486598557f1eb3f78019eae478
treef08529777bd7906f1c9b54938f8b9e129ccbdf43
parentd772b288a83c3db895d2d6def4d9ae1e16d98397
qed: Add support for virtual link.

Currently driver registers to physical link notifications (of the device)
from Management firmware (MFW). Driver doesn't get notified if there's a
change in the virtual link e.g., link-flap on the peer PF interface.
Virtual link indication from MFW reflects the per PF link status instead
of the physical link.

The patch adds driver support for,
  - Advertising the virtual link support to MFW.
  - Handling the virtual link notification from MFW.

Please consider applying it to 'net-next'.

Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com>
Signed-off-by: Tomer Tayar <Tomer.Tayar@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_hsi.h
drivers/net/ethernet/qlogic/qed/qed_mcp.c