Lines Matching refs:eth_port
51 struct nfp_eth_table_port *eth_port; in nfp_net_get_mac_addr() local
53 eth_port = __nfp_port_get_eth_port(port); in nfp_net_get_mac_addr()
54 if (!eth_port) { in nfp_net_get_mac_addr()
59 eth_hw_addr_set(netdev, eth_port->mac_addr); in nfp_net_get_mac_addr()
60 ether_addr_copy(netdev->perm_addr, eth_port->mac_addr); in nfp_net_get_mac_addr()
571 nn_writew(nn, NFP_NET_CFG_STS_NSP_LINK_RATE, nfp_net_speed2lr(port->eth_port->speed)); in nfp_net_notify_port_speed()
578 struct nfp_eth_table_port *eth_port; in nfp_net_eth_port_update() local
582 eth_port = nfp_net_find_port(eth_table, port->eth_id); in nfp_net_eth_port_update()
583 if (!eth_port) { in nfp_net_eth_port_update()
589 if (eth_port->override_changed) { in nfp_net_eth_port_update()
594 memcpy(port->eth_port, eth_port, sizeof(*eth_port)); in nfp_net_eth_port_update()