/freebsd-current/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_eswitch.c | 32 #include <dev/mlx5/vport.h> 61 u32 vport; member in struct:esw_uc_addr 75 u32 vport; member in struct:vport_addr 88 static int arm_vport_context_events_cmd(struct mlx5_core_dev *dev, u16 vport, argument 98 MLX5_SET(modify_nic_vport_context_in, in, vport_number, vport); 99 if (vport) 116 /* E-Switch vport context HW commands */ 117 static int query_esw_vport_context_cmd(struct mlx5_core_dev *mdev, u32 vport, argument 125 MLX5_SET(query_esw_vport_context_in, in, vport_number, vport); 126 if (vport) 132 query_esw_vport_cvlan(struct mlx5_core_dev *dev, u32 vport, u16 *vlan, u8 *qos) argument 170 modify_esw_vport_context_cmd(struct mlx5_core_dev *dev, u16 vport, void *in, int inlen) argument 185 modify_esw_vport_cvlan(struct mlx5_core_dev *dev, u32 vport, u16 vlan, u8 qos, bool set) argument 219 esw_fdb_set_vport_rule(struct mlx5_eswitch *esw, u8 mac[ETH_ALEN], u32 vport) argument 350 u32 vport = vaddr->vport; local 386 u32 vport = vaddr->vport; local 411 u32 vport = vaddr->vport; local 442 u32 vport = vaddr->vport; local 474 struct mlx5_vport *vport = &esw->vports[vport_num]; local 509 struct mlx5_vport *vport = &esw->vports[vport_num]; local 571 struct mlx5_vport *vport = local 601 esw_vport_enable_egress_acl(struct mlx5_eswitch *esw, struct mlx5_vport *vport) argument 678 esw_vport_cleanup_egress_rules(struct mlx5_eswitch *esw, struct mlx5_vport *vport) argument 685 esw_vport_disable_egress_acl(struct mlx5_eswitch *esw, struct mlx5_vport *vport) argument 702 esw_vport_enable_ingress_acl(struct mlx5_eswitch *esw, struct mlx5_vport *vport) argument 763 esw_vport_cleanup_ingress_rules(struct mlx5_eswitch *esw, struct mlx5_vport *vport) argument 769 esw_vport_disable_ingress_acl(struct mlx5_eswitch *esw, struct mlx5_vport *vport) argument 784 esw_vport_ingress_config(struct mlx5_eswitch *esw, struct mlx5_vport *vport) argument 841 esw_vport_egress_config(struct mlx5_eswitch *esw, struct mlx5_vport *vport) argument 921 struct mlx5_vport *vport = &esw->vports[vport_num]; local 958 struct mlx5_vport *vport = &esw->vports[vport_num]; local 979 struct mlx5_vport *vport = &esw->vports[vport_num]; local 1120 struct mlx5_vport *vport = &esw->vports[vport_num]; local 1166 struct mlx5_vport *vport; local 1197 mlx5_eswitch_set_vport_mac(struct mlx5_eswitch *esw, int vport, u8 mac[ETH_ALEN]) argument 1228 mlx5_eswitch_set_vport_state(struct mlx5_eswitch *esw, int vport, int link_state) argument 1241 mlx5_eswitch_get_vport_config(struct mlx5_eswitch *esw, int vport, struct mlx5_esw_vport_info *ivi) argument 1267 mlx5_eswitch_set_vport_vlan(struct mlx5_eswitch *esw, int vport, u16 vlan, u8 qos) argument [all...] |
H A D | mlx5_vport.c | 31 #include <dev/mlx5/vport.h> 38 u16 vport, u32 *out, int outlen) 46 MLX5_SET(query_vport_state_in, in, vport_number, vport); 47 if (vport) 57 u8 mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport) argument 61 _mlx5_query_vport_state(mdev, opmod, vport, out, sizeof(out)); 67 u8 mlx5_query_vport_admin_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport) argument 71 _mlx5_query_vport_state(mdev, opmod, vport, out, sizeof(out)); 78 u16 vport, u8 state) 87 MLX5_SET(modify_vport_state_in, in, vport_number, vport); 37 _mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport, u32 *out, int outlen) argument 77 mlx5_modify_vport_admin_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport, u8 state) argument 102 mlx5_query_nic_vport_context(struct mlx5_core_dev *mdev, u16 vport, u32 *out, int outlen) argument 212 mlx5_query_nic_vport_min_inline(struct mlx5_core_dev *mdev, u16 vport, u8 *min_inline) argument 251 mlx5_modify_nic_vport_min_inline(struct mlx5_core_dev *mdev, u16 vport, u8 min_inline) argument 272 mlx5_query_nic_vport_mac_address(struct mlx5_core_dev *mdev, u16 vport, u8 *addr) argument 299 mlx5_modify_nic_vport_mac_address(struct mlx5_core_dev *mdev, u16 vport, u8 *addr) argument 464 mlx5_set_nic_vport_current_mac(struct mlx5_core_dev *mdev, int vport, bool other_vport, u8 *addr) argument 508 mlx5_modify_nic_vport_node_guid(struct mlx5_core_dev *mdev, u32 vport, u64 node_guid) argument 547 mlx5_modify_nic_vport_port_guid(struct mlx5_core_dev *mdev, u32 vport, u64 port_guid) argument 586 mlx5_set_nic_vport_vlan_list(struct mlx5_core_dev *dev, u16 vport, u16 *vlan_list, int list_len) argument 634 mlx5_set_nic_vport_mc_list(struct mlx5_core_dev *mdev, int vport, u64 *addr_list, size_t addr_list_len) argument 685 mlx5_set_nic_vport_promisc(struct mlx5_core_dev *mdev, int vport, bool promisc_mc, bool promisc_uc, bool promisc_all) argument 711 mlx5_query_nic_vport_mac_list(struct mlx5_core_dev *dev, u16 vport, enum mlx5_list_type list_type, u8 addr_list[][ETH_ALEN], int *list_size) argument 828 mlx5_query_nic_vport_vlans(struct mlx5_core_dev *dev, u16 vport, u16 vlans[], int *size) argument 961 mlx5_set_nic_vport_permanent_mac(struct mlx5_core_dev *mdev, int vport, u8 *addr) argument 1294 mlx5_modify_eswitch_vport_context(struct mlx5_core_dev *mdev, u16 vport, void *in, int inlen) argument 1314 mlx5_set_eswitch_cvlan_info(struct mlx5_core_dev *mdev, u8 vport, u8 insert_mode, u8 strip_mode, u16 vlan, u8 cfi, u8 pcp) argument 1411 mlx5_set_vport_min_wqe_header(struct mlx5_core_dev *mdev, u8 vport, int min_header) argument 1451 mlx5_query_nic_vport_promisc(struct mlx5_core_dev *mdev, u16 vport, int *promisc_uc, int *promisc_mc, int *promisc_all) argument [all...] |
H A D | eswitch.h | 99 int vport; member in struct:mlx5_vport 110 /* This spinlock protects access to vport data, between 112 * once vport marked as disabled new interrupts are discarded. 114 spinlock_t lock; /* vport events sync */ 159 int vport, u8 mac[ETH_ALEN]); 161 int vport, int link_state); 163 int vport, u16 vlan, u8 qos); 165 int vport, struct mlx5_esw_vport_info *evi);
|
H A D | mlx5_fs_cmd.c | 57 u16 vport, enum fs_ft_type type, unsigned int level, 77 if (vport) { 78 MLX5_SET(create_flow_table_in, in, vport_number, vport); 90 u16 vport, 103 if (vport) { 104 MLX5_SET(destroy_flow_table_in, in, vport_number, vport); 113 u16 vport, 127 if (vport) { 128 MLX5_SET(create_flow_group_in, in, vport_number, vport); 140 u16 vport, 56 mlx5_cmd_fs_create_ft(struct mlx5_core_dev *dev, u16 vport, enum fs_ft_type type, unsigned int level, unsigned int log_size, const char *name, unsigned int *table_id) argument 89 mlx5_cmd_fs_destroy_ft(struct mlx5_core_dev *dev, u16 vport, enum fs_ft_type type, unsigned int table_id) argument 111 mlx5_cmd_fs_create_fg(struct mlx5_core_dev *dev, u32 *in, u16 vport, enum fs_ft_type type, unsigned int table_id, unsigned int *group_id) argument 139 mlx5_cmd_fs_destroy_fg(struct mlx5_core_dev *dev, u16 vport, enum fs_ft_type type, unsigned int table_id, unsigned int group_id) argument 163 mlx5_cmd_fs_set_fte(struct mlx5_core_dev *dev, u16 vport, enum fs_fte_status *fte_status, u32 *match_val, enum fs_ft_type type, unsigned int table_id, unsigned int index, unsigned int group_id, struct mlx5_flow_act *flow_act, u32 sw_action, int dest_size, struct list_head *dests) argument 293 mlx5_cmd_fs_delete_fte(struct mlx5_core_dev *dev, u16 vport, enum fs_fte_status *fte_status, enum fs_ft_type type, unsigned int table_id, unsigned int index) argument [all...] |
H A D | fs_core.h | 107 u16 vport; member in struct:mlx5_flow_table 269 u16 vport, enum fs_ft_type type, unsigned int level, 273 u16 vport, 278 u16 vport, 283 u16 vport, 289 u16 vport, 299 u16 vport,
|
H A D | flow_table.h | 41 u16 vport,
|
H A D | mlx5_fs_tree.c | 449 src_ft->vport, 464 src_ft->vport, 554 fg_in, ft->vport, ft->type, 604 mlx5_cmd_fs_destroy_fg(fs_get_dev(&ft->base), ft->vport, 656 err = mlx5_cmd_fs_destroy_fg(dev, ft->vport, ft->type, ft->id, 779 u16 vport, 817 ft->vport = vport; 830 err = mlx5_cmd_fs_create_ft(root->dev, ft->vport, ft->type, 856 mlx5_cmd_fs_destroy_ft(root->dev, ft->vport, f 778 _create_ft_common(struct mlx5_flow_namespace *ns, u16 vport, struct fs_prio *fs_prio, int max_fte, const char *name) argument 862 create_ft_common(struct mlx5_flow_namespace *ns, u16 vport, unsigned int prio, int max_fte, const char *name) argument 946 mlx5_create_vport_flow_table(struct mlx5_flow_namespace *ns, u16 vport, int prio, const char *name, int num_flow_table_entries) argument [all...] |
/freebsd-current/sys/dev/mlx5/ |
H A D | vport.h | 61 u8 mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport); 63 u16 vport); 65 u16 vport, u8 state); 70 int mlx5_set_vport_min_wqe_header(struct mlx5_core_dev *mdev, u8 vport, 73 u16 vport, 83 u16 vport, u8 *addr); 85 u16 vport, u8 *addr); 86 int mlx5_set_nic_vport_current_mac(struct mlx5_core_dev *mdev, int vport, 89 u16 vport, u8 *min_inline); 92 u16 vport, u [all...] |
H A D | fs.h | 156 u16 vport,
|
/freebsd-current/sys/dev/mlx4/mlx4_core/ |
H A D | fw_qos.h | 47 /* Derived from FW feature definition, 0 is the default vport fo all QPs */ 122 * @vport: Vport id. 127 int mlx4_SET_VPORT_QOS_get(struct mlx4_dev *dev, u8 port, u8 vport, 137 * @vport: Vport id. 142 int mlx4_SET_VPORT_QOS_set(struct mlx4_dev *dev, u8 port, u8 vport,
|
H A D | mlx4_fw_qos.c | 46 /* set vport qos opcode modifiers */ 221 int mlx4_SET_VPORT_QOS_get(struct mlx4_dev *dev, u8 port, u8 vport, argument 235 err = mlx4_cmd_box(dev, 0, mailbox->dma, (vport << 8) | port, 258 int mlx4_SET_VPORT_QOS_set(struct mlx4_dev *dev, u8 port, u8 vport, argument 280 err = mlx4_cmd(dev, mailbox->dma, (vport << 8) | port,
|
H A D | mlx4_cmd.c | 1857 vp_oper = &priv->mfunc.master.vf_oper[slave].vport[port]; 1858 vp_admin = &priv->mfunc.master.vf_admin[slave].vport[port]; 2016 vp_oper = &priv->mfunc.master.vf_oper[slave].vport[port]; 2017 vp_admin = &priv->mfunc.master.vf_admin[slave].vport[port]; 2082 vp_oper = &priv->mfunc.master.vf_oper[slave].vport[port]; 2407 admin_vport = &vf_admin->vport[port]; 2408 oper_vport = &vf_oper->vport[port].state; 2417 vf_oper->vport[port].vlan_idx = NO_INDX; 2418 vf_oper->vport[port].mac_idx = NO_INDX; 2985 s_info = &priv->mfunc.master.vf_admin[slave].vport[por [all...] |
H A D | mlx4.h | 512 struct mlx4_vport_state vport[MLX4_MAX_PORTS + 1]; member in struct:mlx4_vf_admin_state 523 struct mlx4_vport_oper_state vport[MLX4_MAX_PORTS + 1]; member in struct:mlx4_vf_oper_state
|
/freebsd-current/sys/dev/ocs_fc/ |
H A D | ocs_sport.c | 518 * If this is a vport, logout of the fabric controller so that it 519 * deletes the vport on the switch. 526 ocs_log_debug(ocs,"[%s] sport shutdown vport,sending logo to node\n", 619 ocs_log_debug(ocs, "vport: letting f/w select WWN\n"); 623 ocs_log_debug(ocs, "vport: hard coding port id: %x\n", sport->fc_id); 794 /* Update the vport (if its not the physical sport) parameters */ 911 * Use the vport specification to find the associated vports and start them. 922 ocs_vport_spec_t *vport; local 928 ocs_list_foreach_safe(&xport->vport_list, vport, next) { 929 if (vport 970 ocs_vport_spec_t *vport; local 1049 ocs_sport_vport_alloc(ocs_domain_t *domain, ocs_vport_spec_t *vport) argument 1097 ocs_vport_spec_t *vport; local 1155 ocs_vport_spec_t *vport; local 1478 ocs_vport_spec_t *vport; local 1516 ocs_vport_spec_t *vport; local [all...] |
H A D | ocs_pci.c | 366 ocs_vport_spec_t *vport; local 384 ocs_list_foreach(&xport->vport_list, vport) { 386 vport->tgt_data = fcp; 387 fcp->vport = vport; 396 vport->wwpn = ocs_be64toh(sli_wwpn); 397 vport->wwnn = ocs_be64toh(sli_wwnn); 399 ocs_log_debug(ocs, "VPort wwpn: %lx wwnn: %lx \n", vport->wwpn, vport->wwnn);
|
H A D | ocs_sport.h | 92 extern int32_t ocs_sport_vport_alloc(ocs_domain_t *domain, ocs_vport_spec_t *vport);
|
H A D | ocs_ddump.c | 640 ocs_vport_spec_t *vport; local 726 ocs_list_foreach(&xport->vport_list, vport) { 728 ocs_ddump_value(textbuf, "domain_instance", "%d", vport->domain_instance); 729 ocs_ddump_value(textbuf, "wwnn", "%llx", (unsigned long long)vport->wwnn); 730 ocs_ddump_value(textbuf, "wwpn", "%llx", (unsigned long long)vport->wwpn); 731 ocs_ddump_value(textbuf, "fc_id", "0x%x", vport->fc_id); 732 ocs_ddump_value(textbuf, "enable_tgt", "%d", vport->enable_tgt); 733 ocs_ddump_value(textbuf, "enable_ini", "%d" PRIx64, vport->enable_ini);
|
H A D | ocs_cam.c | 965 if(fcp->vport->sport != NULL) { 970 ocs_sport_vport_alloc(ocs->domain, fcp->vport); 1986 ocs_vport_spec_t *vport = fcp->vport; local 1994 if ((was == 0) || (vport == NULL)) { 1996 if (vport == NULL) { 2000 vport->enable_ini = (new_role & KNOB_ROLE_INITIATOR)? 1:0; 2001 vport->enable_tgt = (new_role & KNOB_ROLE_TARGET)? 1:0; 2019 vport->enable_ini = (new_role & KNOB_ROLE_INITIATOR)? 1:0; 2020 vport [all...] |
H A D | ocs.h | 89 ocs_vport_spec_t *vport; member in struct:ocs_fcport_s
|
/freebsd-current/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_virt.c | 30 #include <dev/mlx5/vport.h>
|
H A D | mlx5_ib_mad.c | 29 #include <dev/mlx5/vport.h>
|
/freebsd-current/sys/dev/mana/ |
H A D | mana.h | 612 mana_handle_t vport; member in struct:mana_query_vport_cfg_resp 618 mana_handle_t vport; member in struct:mana_config_vport_req 633 mana_handle_t vport; member in struct:mana_create_wqobj_req 676 mana_handle_t vport; member in struct:mana_cfg_rx_steer_req 709 mana_handle_t vport,
|
H A D | mana_en.c | 1058 apc->port_handle = resp.vport; 1108 req.vport = apc->port_handle; 1165 req->vport = apc->port_handle; 1214 mana_handle_t vport, 1226 req.vport = vport; 1213 mana_create_wq_obj(struct mana_port_context *apc, mana_handle_t vport, uint32_t wq_type, struct mana_obj_spec *wq_spec, struct mana_obj_spec *cq_spec, mana_handle_t *wq_obj) argument
|
/freebsd-current/sys/dev/qlnx/qlnxe/ |
H A D | ecore_l2_api.h | 207 * 2. Adding a filter which already exists on that vport. 228 u8 vport, 523 /* Identifier can either be according to vport-id or vfid */
|
/freebsd-current/sys/dev/mlx5/mlx5_en/ |
H A D | mlx5_en_main.c | 796 priv->stats.vport.rx_steer_missed_packets = 811 struct mlx5e_vport_stats *s = &priv->stats.vport; 3198 /* Update vport context MTU */ 3202 "Failed updating vport context with MTU size, err=%d\n", 3348 retval = priv->stats.vport.rx_packets; 3358 retval = priv->stats.vport.rx_out_of_buffer; 3361 retval = priv->stats.vport.tx_packets; 3367 retval = priv->stats.vport.rx_bytes; 3370 retval = priv->stats.vport.tx_bytes; 3373 retval = priv->stats.vport [all...] |