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)
commite40a826a6cbc23e63a769e50dc71eb34ba6ddabf
treef08529777bd7906f1c9b54938f8b9e129ccbdf43
parentb187191577629b5358acf4e234809ee8d441ceb4
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