net/qede: initialize VF MAC and link
authorManish Chopra <manishc@marvell.com>
Fri, 25 Sep 2020 11:55:07 +0000 (04:55 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 30 Sep 2020 17:19:11 +0000 (19:19 +0200)
commitc176fd869560516a7ea91f64e1fda85020653cc2
tree5fc21df8112b76218566060cf024bd8a401437bb
parentd459b04329750ed7087d93406b831ee8e4a5a0e4
net/qede: initialize VF MAC and link

This patch configures VFs with random mac if no MAC is
provided by the PF/bulletin. This also adds required bulletin
APIs by PF-PMD driver to communicate LINK properties/changes to
the VFs through bulletin update mechanism.

With these changes, VF-PMD instance is able to run
fastpath over PF-PMD driver instance.

Signed-off-by: Manish Chopra <manishc@marvell.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: Rasesh Mody <rmody@marvell.com>
drivers/net/qede/qede_ethdev.c
drivers/net/qede/qede_main.c
drivers/net/qede/qede_sriov.c
drivers/net/qede/qede_sriov.h