Skip to content
Commit 79ef8734 authored by Hariprasad Kelam's avatar Hariprasad Kelam Committed by Ruiqiang Hao
Browse files

octeontx2-pf: Backport physical link settings



commit 2e605b8e20c73a9a74d4f4035b108cc24d2b2b5f from
git@git.assembla.com:cavium/WindRiver.linux.git

The current implementation does not reject user requested
modes event its not in support modes list. This patch
adds the same. Refactore the code such that adds input
validation before acquiring mbox lock.

Pass advertisied mode directly instead of BIT_ULL.

Change-Id: I1abb7dd80adbc674b0e537b2e4ed27c26dff7705
Signed-off-by: default avatarHariprasad Kelam <hkelam@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/kernel/linux/+/47407


Tested-by: default avatarsa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com>
Reviewed-by: default avatarSunil Kovvuri Goutham <Sunil.Goutham@cavium.com>
Signed-off-by: default avatarRuiqiang Hao <Ruiqiang.Hao@windriver.com>
parent e069de59
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment