net/octeontx2: support link status
authorHarman Kalra <hkalra@marvell.com>
Tue, 22 Jun 2021 20:05:54 +0000 (01:35 +0530)
committerJerin Jacob <jerinj@marvell.com>
Wed, 30 Jun 2021 02:36:46 +0000 (04:36 +0200)
commiteebc26d9947ea9b9008b6d154982fe28305abab3
treec02e3acef5ce312144e75a9834fb35de8ba5d75f
parentcb8d769fb6feb45ac9b1217df7ecc3a236a47b57
net/octeontx2: support link status

Adding a new callback for reading the link status. PF can read it's
link status and can forward the same to VF once it comes up.

Signed-off-by: Harman Kalra <hkalra@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/net/octeontx2/otx2_ethdev.c
drivers/net/octeontx2/otx2_ethdev.h
drivers/net/octeontx2/otx2_link.c