diff options
author | 2025-05-08 15:47:53 +0300 | |
---|---|---|
committer | 2025-05-09 16:40:22 -0700 | |
commit | c2d0b7da611a80596442f453dbf738623719521f (patch) | |
tree | 9967a14605fa043af90cb5ea70a570f7dc644e7c /drivers/net/ethernet/intel/ice/ice_dcb_lib.c | |
parent | net: dpaa_eth: add ndo_hwtstamp_get() implementation (diff) | |
download | linux-rng-c2d0b7da611a80596442f453dbf738623719521f.tar.xz linux-rng-c2d0b7da611a80596442f453dbf738623719521f.zip |
net: dpaa_eth: simplify dpaa_ioctl()
phylink_mii_ioctl() handles multiple ioctls in addition to just
SIOCGMIIREG: SIOCGMIIPHY, SIOCSMIIREG. Don't filter these out.
Also, phylink can handle the case where net_dev->phydev is NULL (like
optical SFP module, fixed-link). Be like other drivers and let phylink
do so without any driver-side call filtering.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Acked-by: Madalin Bucur <madalin.bucur@oss.nxp.com>
Link: https://patch.msgid.link/20250508124753.1492742-4-vladimir.oltean@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_dcb_lib.c')
0 files changed, 0 insertions, 0 deletions