From: Luo bin <luob...@huawei.com> Date: Sat, 16 May 2020 02:00:30 +0000
> add support to set pause param with ethtool -A and get pause > param with ethtool -a. Also remove set_link_ksettings ops for VF. > > Signed-off-by: Luo bin <luob...@huawei.com> Why are you using a semaphore and not a plain mutex. Semaphores should be used as an absolute last resort, and only after trying vigorously to use other locking primitives.