Searched refs:eth_port (Results 1 – 7 of 7) sorted by relevance
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/ |
A D | nfp_devlink.c | 17 struct nfp_eth_table_port *eth_port; in nfp_devlink_fill_eth_port() local 20 if (!eth_port) in nfp_devlink_fill_eth_port() 23 memcpy(copy, eth_port, sizeof(*eth_port)); in nfp_devlink_fill_eth_port() 68 struct nfp_eth_table_port eth_port; in nfp_devlink_port_split() local 78 if (eth_port.port_lanes % count) in nfp_devlink_port_split() 82 lanes = eth_port.port_lanes / count; in nfp_devlink_port_split() 94 struct nfp_eth_table_port eth_port; in nfp_devlink_port_unsplit() local 104 if (!eth_port.is_split) in nfp_devlink_port_unsplit() 108 lanes = eth_port.port_lanes; in nfp_devlink_port_unsplit() 109 if (eth_port.port_lanes == 8) in nfp_devlink_port_unsplit() [all …]
|
A D | nfp_port.c | 85 return port->eth_port; in __nfp_port_get_eth_port() 103 struct nfp_eth_table_port *eth_port; in nfp_port_get_phys_port_name() local 113 eth_port = __nfp_port_get_eth_port(port); in nfp_port_get_phys_port_name() 114 if (!eth_port) in nfp_port_get_phys_port_name() 117 if (!eth_port->is_split) in nfp_port_get_phys_port_name() 118 n = snprintf(name, len, "p%d", eth_port->label_port); in nfp_port_get_phys_port_name() 121 eth_port->label_subport); in nfp_port_get_phys_port_name() 157 struct nfp_eth_table_port *eth_port; in nfp_port_configure() local 162 eth_port = __nfp_port_get_eth_port(port); in nfp_port_configure() 163 if (!eth_port) in nfp_port_configure() [all …]
|
A D | nfp_net_ethtool.c | 240 if (!eth_port) in nfp_net_nway_reset() 511 if (eth_port) { in nfp_net_get_link_ksettings() 529 if (eth_port) { in nfp_net_get_link_ksettings() 565 if (!eth_port) in nfp_net_set_link_ksettings() 1248 if (!eth_port) in nfp_port_get_fecparam() 1270 if (!eth_port) in nfp_port_set_fecparam() 1648 if (!eth_port) in nfp_port_get_module_info() 1722 if (!eth_port) in nfp_port_get_module_eeprom() 1885 if (!eth_port) in nfp_port_get_pauseparam() 1903 if (!eth_port) in nfp_net_set_phys_id() [all …]
|
A D | nfp_net_main.c | 50 struct nfp_eth_table_port *eth_port; in nfp_net_get_mac_addr() local 52 eth_port = __nfp_port_get_eth_port(port); in nfp_net_get_mac_addr() 53 if (!eth_port) { in nfp_net_get_mac_addr() 58 eth_hw_addr_set(netdev, eth_port->mac_addr); in nfp_net_get_mac_addr() 59 ether_addr_copy(netdev->perm_addr, eth_port->mac_addr); in nfp_net_get_mac_addr() 563 nn_writew(nn, NFP_NET_CFG_STS_NSP_LINK_RATE, nfp_net_speed2lr(port->eth_port->speed)); in nfp_net_notify_port_speed() 570 struct nfp_eth_table_port *eth_port; in nfp_net_eth_port_update() local 574 eth_port = nfp_net_find_port(eth_table, port->eth_id); in nfp_net_eth_port_update() 575 if (!eth_port) { in nfp_net_eth_port_update() 581 if (eth_port->override_changed) { in nfp_net_eth_port_update() [all …]
|
A D | nfp_port.h | 90 struct nfp_eth_table_port *eth_port; member
|
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/nfpcore/ |
A D | nfp_nsp.h | 253 static inline bool nfp_eth_can_support_fec(struct nfp_eth_table_port *eth_port) in nfp_eth_can_support_fec() argument 255 return !!eth_port->fec_modes_supported; in nfp_eth_can_support_fec() 259 nfp_eth_supported_fec_modes(struct nfp_eth_table_port *eth_port) in nfp_eth_supported_fec_modes() argument 261 return eth_port->fec_modes_supported; in nfp_eth_supported_fec_modes()
|
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/abm/ |
A D | main.c | 260 struct nfp_eth_table_port *eth_port = &pf->eth_tbl->ports[id]; in nfp_abm_vnic_set_mac() local 273 eth_port->eth_index, abm->pf_id); in nfp_abm_vnic_set_mac() 315 struct nfp_eth_table_port *eth_port = &app->pf->eth_tbl->ports[id]; in nfp_abm_vnic_alloc() local 344 err = nfp_eth_set_configured(app->cpp, eth_port->index, true); in nfp_abm_vnic_alloc()
|
Completed in 17 milliseconds