Home
last modified time | relevance | path

Searched refs:MLX4_MAX_PORTS (Results 1 – 9 of 9) sorted by relevance

/linux/include/linux/mlx4/
H A Ddevice.h84 MLX4_MAX_PORTS = 2, enumerator
518 u32 gid_phys_table_len[MLX4_MAX_PORTS + 1];
519 u32 pkey_phys_table_len[MLX4_MAX_PORTS + 1];
538 int vl_cap[MLX4_MAX_PORTS + 1];
539 int ib_mtu_cap[MLX4_MAX_PORTS + 1];
540 __be32 ib_port_def_cap[MLX4_MAX_PORTS + 1];
541 u64 def_mac[MLX4_MAX_PORTS + 1];
542 int eth_mtu_cap[MLX4_MAX_PORTS + 1];
543 int gid_table_len[MLX4_MAX_PORTS + 1];
544 int pkey_table_len[MLX4_MAX_PORTS + 1];
[all …]
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dmlx4.h489 u16 user_mtu[MLX4_MAX_PORTS + 1];
490 u16 mtu[MLX4_MAX_PORTS + 1];
491 __be32 ib_cap_mask[MLX4_MAX_PORTS + 1];
493 struct list_head mcast_filters[MLX4_MAX_PORTS + 1];
494 struct mlx4_vlan_fltr *vlan_filter[MLX4_MAX_PORTS + 1];
503 enum slave_port_state port_state[MLX4_MAX_PORTS + 1];
522 struct mlx4_vport_state vport[MLX4_MAX_PORTS + 1];
523 u8 enable_smi[MLX4_MAX_PORTS + 1];
533 struct mlx4_vport_oper_state vport[MLX4_MAX_PORTS + 1];
534 u8 smi_enabled[MLX4_MAX_PORTS + 1];
[all …]
H A Dfw.h132 struct mlx4_port_cap port_cap[MLX4_MAX_PORTS + 1];
133 bool wol_port[MLX4_MAX_PORTS + 1];
H A Dsense.c98 enum mlx4_port_type stype[MLX4_MAX_PORTS]; in mlx4_sense_port()
H A Dmain.c473 if (dev_cap->num_ports > MLX4_MAX_PORTS) { in mlx4_dev_cap()
475 dev_cap->num_ports, MLX4_MAX_PORTS); in mlx4_dev_cap()
1013 if (dev->caps.num_ports > MLX4_MAX_PORTS) { in mlx4_slave_cap()
1015 dev->caps.num_ports, MLX4_MAX_PORTS); in mlx4_slave_cap()
1159 enum mlx4_port_type types[MLX4_MAX_PORTS]; in __set_port_type()
1160 enum mlx4_port_type new_types[MLX4_MAX_PORTS]; in __set_port_type()
1486 if ((port1 < 1) || (port1 > MLX4_MAX_PORTS) || in mlx4_port_map_set()
1487 (port2 < 1) || (port2 > MLX4_MAX_PORTS) || in mlx4_port_map_set()
3786 int nvfs[MLX4_MAX_PORTS + 1] = {0, 0, 0}; in __mlx4_init_one()
3787 int prb_vf[MLX4_MAX_PORTS + 1] = {0, 0, 0}; in __mlx4_init_one()
[all …]
H A Den_main.c165 for (i = 1; i <= MLX4_MAX_PORTS; i++) { in mlx4_en_get_profile()
H A Dqp.c868 8 * mlx4_master_func_num(dev) + MLX4_MAX_PORTS + k; in mlx4_init_qp_table()
H A Den_netdev.c1537 if (mdev->mac_removed[MLX4_MAX_PORTS + 1 - priv->port]) { in mlx4_en_do_get_stats()
1539 mdev->mac_removed[MLX4_MAX_PORTS + 1 - priv->port] = 0; in mlx4_en_do_get_stats()
H A Dresource_tracker.c533 MLX4_MAX_PORTS * (dev->persist->num_vfs + 1)); in mlx4_init_resource_tracker()
596 for (j = 0; j < MLX4_MAX_PORTS; j++) in mlx4_init_resource_tracker()
608 for (j = 0; j < MLX4_MAX_PORTS; j++) in mlx4_init_resource_tracker()