summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWei Fang <wei.fang@nxp.com>2026-09-09 18:07:25 +0800
committerPaolo Abeni <pabeni@redhat.com>2026-09-15 12:08:34 +0200
commit18c66a9a4faeb8cb088c80d7af53773ad58d35ae (patch)
treed37a3288caf6cc0ae2aab1284c1ce45abce93ff6
parentf37718e9210b31228975646567cfe16ccc3a4543 (diff)
downloadlinux-next-18c66a9a4faeb8cb088c80d7af53773ad58d35ae.tar.gz
linux-next-18c66a9a4faeb8cb088c80d7af53773ad58d35ae.zip
net: enetc: add .ndo_set_vf_mac() to the enetc v4 driver
Add .ndo_set_vf_mac() to the enetc v4 driver to configure the MAC addresses of VFs. Signed-off-by: Wei Fang <wei.fang@nxp.com> Link: https://patch.msgid.link/20260909100733.1139689-8-wei.fang@oss.nxp.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
-rw-r--r--drivers/net/ethernet/freescale/enetc/enetc4_pf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/freescale/enetc/enetc4_pf.c b/drivers/net/ethernet/freescale/enetc/enetc4_pf.c
index e20989b6f8b4..a44d50b7fd2a 100644
--- a/drivers/net/ethernet/freescale/enetc/enetc4_pf.c
+++ b/drivers/net/ethernet/freescale/enetc/enetc4_pf.c
@@ -579,6 +579,7 @@ static const struct net_device_ops enetc4_ndev_ops = {
.ndo_hwtstamp_get = enetc_hwtstamp_get,
.ndo_hwtstamp_set = enetc_hwtstamp_set,
.ndo_set_vf_trust = enetc_pf_set_vf_trust,
+ .ndo_set_vf_mac = enetc_pf_set_vf_mac,
};
static struct phylink_pcs *