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:Hariprasad Kelam <hkelam@marvell.com> Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/kernel/linux/+/47407 Tested-by:
sa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com> Reviewed-by:
Sunil Kovvuri Goutham <Sunil.Goutham@cavium.com> Signed-off-by:
Ruiqiang Hao <Ruiqiang.Hao@windriver.com>
Loading
Please register or sign in to comment