Searched refs:MLX4_MAX_PORTS (Results 1 – 13 of 13) sorted by relevance
/linux/include/linux/mlx4/ |
A D | device.h | 83 MLX4_MAX_PORTS = 2, enumerator 537 int vl_cap[MLX4_MAX_PORTS + 1]; 538 int ib_mtu_cap[MLX4_MAX_PORTS + 1]; 540 u64 def_mac[MLX4_MAX_PORTS + 1]; 544 int trans_type[MLX4_MAX_PORTS + 1]; 545 int vendor_oui[MLX4_MAX_PORTS + 1]; 546 int wavelength[MLX4_MAX_PORTS + 1]; 547 u64 trans_code[MLX4_MAX_PORTS + 1]; 611 u32 port_mask[MLX4_MAX_PORTS + 1]; 625 u8 phv_bit[MLX4_MAX_PORTS + 1]; [all …]
|
/linux/drivers/infiniband/hw/mlx4/ |
A D | mlx4_ib.h | 510 struct mlx4_ib_demux_ctx demux[MLX4_MAX_PORTS]; 511 struct mlx4_ib_demux_pv_ctx *sqps[MLX4_MAX_PORTS]; 546 struct net_device *netdevs[MLX4_MAX_PORTS]; 547 atomic64_t mac[MLX4_MAX_PORTS]; 549 struct mlx4_port_gid_table gids[MLX4_MAX_PORTS]; 550 enum ib_port_state last_port_state[MLX4_MAX_PORTS]; 620 struct ib_ah *sm_ah[MLX4_MAX_PORTS]; 622 atomic64_t sl2vl[MLX4_MAX_PORTS]; 633 struct mlx4_ib_iov_port iov_ports[MLX4_MAX_PORTS]; 639 struct mlx4_ib_qp *qp1_proxy[MLX4_MAX_PORTS]; [all …]
|
A D | main.c | 273 if (attr->port_num > MLX4_MAX_PORTS) in mlx4_ib_add_gid() 362 if (attr->port_num > MLX4_MAX_PORTS) in mlx4_ib_del_gid() 413 if (port_num > MLX4_MAX_PORTS) in mlx4_ib_gid_index_to_real_index() 3129 for (i = 0; i < MLX4_MAX_PORTS; ++i) { in handle_bonded_port_state_event()
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
A D | mlx4.h | 487 u16 user_mtu[MLX4_MAX_PORTS + 1]; 488 u16 mtu[MLX4_MAX_PORTS + 1]; 489 __be32 ib_cap_mask[MLX4_MAX_PORTS + 1]; 521 u8 enable_smi[MLX4_MAX_PORTS + 1]; 532 u8 smi_enabled[MLX4_MAX_PORTS + 1]; 548 int res_port_free[MLX4_MAX_PORTS]; 590 u16 max_mtu[MLX4_MAX_PORTS + 1]; 591 u16 max_user_mtu[MLX4_MAX_PORTS + 1]; 850 u8 do_sense_port[MLX4_MAX_PORTS + 1]; 851 u8 sense_allowed[MLX4_MAX_PORTS + 1]; [all …]
|
A D | fw.h | 132 struct mlx4_port_cap port_cap[MLX4_MAX_PORTS + 1]; 133 bool wol_port[MLX4_MAX_PORTS + 1];
|
A D | mlx4_en.h | 399 struct mlx4_en_port_profile prof[MLX4_MAX_PORTS + 1]; 406 struct net_device *pndev[MLX4_MAX_PORTS + 1]; 407 struct net_device *upper[MLX4_MAX_PORTS + 1]; 419 u8 mac_removed[MLX4_MAX_PORTS + 1];
|
A D | main.c | 474 if (dev_cap->num_ports > MLX4_MAX_PORTS) { in mlx4_dev_cap() 476 dev_cap->num_ports, MLX4_MAX_PORTS); in mlx4_dev_cap() 1014 if (dev->caps.num_ports > MLX4_MAX_PORTS) { in mlx4_slave_cap() 1016 dev->caps.num_ports, MLX4_MAX_PORTS); in mlx4_slave_cap() 1182 enum mlx4_port_type types[MLX4_MAX_PORTS]; in __set_port_type() 3731 int nvfs[MLX4_MAX_PORTS + 1] = {0, 0, 0}; in __mlx4_init_one() 3733 const int param_map[MLX4_MAX_PORTS + 1][MLX4_MAX_PORTS + 1] = { in __mlx4_init_one() 3776 for (i = 0; i < MLX4_MAX_PORTS; i++) { in __mlx4_init_one() 4208 int nvfs[MLX4_MAX_PORTS + 1] = {0, 0, 0}; in mlx4_restart_one_up() 4335 int nvfs[MLX4_MAX_PORTS + 1] = {0, 0, 0}; in mlx4_pci_resume() [all …]
|
A D | sense.c | 98 enum mlx4_port_type stype[MLX4_MAX_PORTS]; in mlx4_sense_port()
|
A D | cmd.c | 2416 for (port = 1; port <= MLX4_MAX_PORTS; port++) { in mlx4_multi_func_init() 2486 for (port = 1; port <= MLX4_MAX_PORTS; port++) in mlx4_multi_func_init() 2591 for (port = 1; port <= MLX4_MAX_PORTS; port++) in mlx4_multi_func_cleanup() 2783 bitmap_zero(actv_ports.ports, MLX4_MAX_PORTS); in mlx4_get_active_ports() 3388 port < 1 || port > MLX4_MAX_PORTS) in mlx4_vf_smi_enabled() 3404 port < 1 || port > MLX4_MAX_PORTS) in mlx4_vf_get_enable_smi_admin() 3427 port < 1 || port > MLX4_MAX_PORTS || in mlx4_vf_set_enable_smi_admin()
|
A D | en_main.c | 165 for (i = 1; i <= MLX4_MAX_PORTS; i++) { in mlx4_en_get_profile()
|
A D | qp.c | 864 8 * mlx4_master_func_num(dev) + MLX4_MAX_PORTS + k; in mlx4_init_qp_table()
|
A D | en_netdev.c | 1533 if (mdev->mac_removed[MLX4_MAX_PORTS + 1 - priv->port]) { in mlx4_en_do_get_stats() 1535 mdev->mac_removed[MLX4_MAX_PORTS + 1 - priv->port] = 0; in mlx4_en_do_get_stats()
|
A D | resource_tracker.c | 536 kcalloc(MLX4_MAX_PORTS * in mlx4_init_resource_tracker() 602 for (j = 0; j < MLX4_MAX_PORTS; j++) in mlx4_init_resource_tracker() 614 for (j = 0; j < MLX4_MAX_PORTS; j++) in mlx4_init_resource_tracker()
|
Completed in 66 milliseconds