net: hibmcge: Implement some .ndo functions
authorJijie Shao <shaojijie@huawei.com>
Tue, 15 Oct 2024 12:35:11 +0000 (20:35 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Mon, 21 Oct 2024 09:26:52 +0000 (11:26 +0200)
commitff4edac6e9bd2dc7f14e86f6880e542ac37679bd
treeed1645590bcfa2993c730d9c72a0822ddb10202d
parent4d089035fa196042461e562d482290559d7c1825
net: hibmcge: Implement some .ndo functions

Implement the .ndo_open() .ndo_stop() .ndo_set_mac_address()
and .ndo_change_mtu functions().
And .ndo_validate_addr calls the eth_validate_addr function directly

Signed-off-by: Jijie Shao <shaojijie@huawei.com>
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/hisilicon/hibmcge/hbg_hw.c
drivers/net/ethernet/hisilicon/hibmcge/hbg_hw.h
drivers/net/ethernet/hisilicon/hibmcge/hbg_main.c
drivers/net/ethernet/hisilicon/hibmcge/hbg_reg.h