Message ID | 20240518124234.2671651-22-s-vadapalli@ti.com (mailing list archive) |
---|---|
State | RFC |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | Add CPSW Proxy Client driver | expand |
diff --git a/drivers/net/ethernet/ti/cpsw-proxy-client.c b/drivers/net/ethernet/ti/cpsw-proxy-client.c index 92a014e83c6c..be42b02c3894 100644 --- a/drivers/net/ethernet/ti/cpsw-proxy-client.c +++ b/drivers/net/ethernet/ti/cpsw-proxy-client.c @@ -1627,6 +1627,8 @@ static const struct net_device_ops cpsw_proxy_client_netdev_ops = { .ndo_start_xmit = vport_ndo_xmit, .ndo_get_stats64 = vport_ndo_get_stats, .ndo_tx_timeout = vport_ndo_tx_timeout, + .ndo_validate_addr = eth_validate_addr, + .ndo_set_mac_address = eth_mac_addr, }; static int init_netdev(struct cpsw_proxy_priv *proxy_priv, struct virtual_port *vport)
Register "eth_validate_addr()" as the .ndo_validate_addr callback. Register "eth_mac_addr()" as the .ndo_set_mac_address callback. Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com> --- drivers/net/ethernet/ti/cpsw-proxy-client.c | 2 ++ 1 file changed, 2 insertions(+)