[PATCH v5 16/23] net/ntnic: add link management module

Ferruh Yigit ferruh.yigit at amd.com
Fri Jul 5 00:47:42 CEST 2024


On 6/27/2024 8:38 AM, Serhii Iliushyk wrote:
> Add link control API
> 
> Signed-off-by: Serhii Iliushyk <sil-plv at napatech.com>

<...>

>  static struct eth_dev_ops nthw_eth_dev_ops = {
>  	.dev_configure = eth_dev_configure,
>  	.dev_start = eth_dev_start,
>  	.dev_stop = eth_dev_stop,
> +	.dev_set_link_up = eth_dev_set_link_up,
> +	.dev_set_link_down = eth_dev_set_link_down,
>  	.dev_close = eth_dev_close,
> +	.link_update = eth_link_update,
>  	.dev_infos_get = eth_dev_infos_get,
>  	.fw_version_get = eth_fw_version_get,
> +	.mac_addr_add = eth_mac_addr_add,
> +	.mac_addr_set = eth_mac_addr_set,
> +	.set_mc_addr_list = eth_set_mc_addr_list,
> +	.promiscuous_enable = promiscuous_enable,
>

Does mac related ops fits better to previous patch?

<...>


More information about the dev mailing list