Home
last modified time | relevance | path

Searched refs:format_mac_addr (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h908 static inline void hnae3_format_mac_addr(char *format_mac_addr, in hnae3_format_mac_addr() argument
911 snprintf(format_mac_addr, HNAE3_FORMAT_MAC_ADDR_LEN, "%02x:**:**:**:%02x:%02x", in hnae3_format_mac_addr()
Dhns3_enet.c2952 char format_mac_addr[HNAE3_FORMAT_MAC_ADDR_LEN]; in hns3_nic_set_vf_mac() local
2958 hnae3_format_mac_addr(format_mac_addr, mac); in hns3_nic_set_vf_mac()
2961 format_mac_addr); in hns3_nic_set_vf_mac()
5126 char format_mac_addr[HNAE3_FORMAT_MAC_ADDR_LEN]; in hns3_init_mac_addr() local
5137 hnae3_format_mac_addr(format_mac_addr, netdev->dev_addr); in hns3_init_mac_addr()
5139 format_mac_addr); in hns3_init_mac_addr()
5191 char format_mac_addr[HNAE3_FORMAT_MAC_ADDR_LEN]; in hns3_info_show() local
5193 hnae3_format_mac_addr(format_mac_addr, priv->netdev->dev_addr); in hns3_info_show()
5194 dev_info(priv->dev, "MAC address: %s\n", format_mac_addr); in hns3_info_show()
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c8513 char format_mac_addr[HNAE3_FORMAT_MAC_ADDR_LEN]; in hclge_update_mac_list() local
8538 hnae3_format_mac_addr(format_mac_addr, addr); in hclge_update_mac_list()
8541 format_mac_addr); in hclge_update_mac_list()
8574 char format_mac_addr[HNAE3_FORMAT_MAC_ADDR_LEN]; in hclge_add_uc_addr_common() local
8585 hnae3_format_mac_addr(format_mac_addr, addr); in hclge_add_uc_addr_common()
8588 format_mac_addr, is_zero_ether_addr(addr), in hclge_add_uc_addr_common()
8645 char format_mac_addr[HNAE3_FORMAT_MAC_ADDR_LEN]; in hclge_rm_uc_addr_common() local
8654 hnae3_format_mac_addr(format_mac_addr, addr); in hclge_rm_uc_addr_common()
8656 format_mac_addr); in hclge_rm_uc_addr_common()
8686 char format_mac_addr[HNAE3_FORMAT_MAC_ADDR_LEN]; in hclge_add_mc_addr_common() local
[all …]
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.c1068 char format_mac_addr[HNAE3_FORMAT_MAC_ADDR_LEN]; in hclgevf_config_mac_list() local
1075 hnae3_format_mac_addr(format_mac_addr, in hclgevf_config_mac_list()
1079 format_mac_addr, mac_node->state, ret); in hclgevf_config_mac_list()