/freebsd-11-stable/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_eswitch.c | 31 #include <dev/mlx5/vport.h> 60 u32 vport; member in struct:esw_uc_addr 74 u32 vport; member in struct:vport_addr 87 static int arm_vport_context_events_cmd(struct mlx5_core_dev *dev, u16 vport, argument 97 MLX5_SET(modify_nic_vport_context_in, in, vport_number, vport); 98 if (vport) 115 /* E-Switch vport context HW commands */ 116 static int query_esw_vport_context_cmd(struct mlx5_core_dev *mdev, u32 vport, argument 124 MLX5_SET(query_esw_vport_context_in, in, vport_number, vport); 125 if (vport) 131 query_esw_vport_cvlan(struct mlx5_core_dev *dev, u32 vport, u16 *vlan, u8 *qos) argument 169 modify_esw_vport_context_cmd(struct mlx5_core_dev *dev, u16 vport, void *in, int inlen) argument 184 modify_esw_vport_cvlan(struct mlx5_core_dev *dev, u32 vport, u16 vlan, u8 qos, bool set) argument 218 esw_fdb_set_vport_rule(struct mlx5_eswitch *esw, u8 mac[ETH_ALEN], u32 vport) argument 348 u32 vport = vaddr->vport; local 384 u32 vport = vaddr->vport; local 411 u32 vport = vaddr->vport; local 442 u32 vport = vaddr->vport; local 477 struct mlx5_vport *vport = &esw->vports[vport_num]; local 512 struct mlx5_vport *vport = &esw->vports[vport_num]; local 574 struct mlx5_vport *vport = local 604 esw_vport_enable_egress_acl(struct mlx5_eswitch *esw, struct mlx5_vport *vport) argument 681 esw_vport_cleanup_egress_rules(struct mlx5_eswitch *esw, struct mlx5_vport *vport) argument 694 esw_vport_disable_egress_acl(struct mlx5_eswitch *esw, struct mlx5_vport *vport) argument 711 esw_vport_enable_ingress_acl(struct mlx5_eswitch *esw, struct mlx5_vport *vport) argument 772 esw_vport_cleanup_ingress_rules(struct mlx5_eswitch *esw, struct mlx5_vport *vport) argument 780 esw_vport_disable_ingress_acl(struct mlx5_eswitch *esw, struct mlx5_vport *vport) argument 795 esw_vport_ingress_config(struct mlx5_eswitch *esw, struct mlx5_vport *vport) argument 851 esw_vport_egress_config(struct mlx5_eswitch *esw, struct mlx5_vport *vport) argument 930 struct mlx5_vport *vport = &esw->vports[vport_num]; local 967 struct mlx5_vport *vport = &esw->vports[vport_num]; local 988 struct mlx5_vport *vport = &esw->vports[vport_num]; local 1129 struct mlx5_vport *vport = &esw->vports[vport_num]; local 1175 struct mlx5_vport *vport; local 1206 mlx5_eswitch_set_vport_mac(struct mlx5_eswitch *esw, int vport, u8 mac[ETH_ALEN]) argument 1237 mlx5_eswitch_set_vport_state(struct mlx5_eswitch *esw, int vport, int link_state) argument 1250 mlx5_eswitch_get_vport_config(struct mlx5_eswitch *esw, int vport, struct mlx5_esw_vport_info *ivi) argument 1276 mlx5_eswitch_set_vport_vlan(struct mlx5_eswitch *esw, int vport, u16 vlan, u8 qos) argument [all...] |
H A D | mlx5_fs_cmd.c | 56 u16 vport, 74 if (vport) { 75 MLX5_SET(create_flow_table_in, in, vport_number, vport); 87 u16 vport, 100 if (vport) { 101 MLX5_SET(destroy_flow_table_in, in, vport_number, vport); 110 u16 vport, 124 if (vport) { 125 MLX5_SET(create_flow_group_in, in, vport_number, vport); 137 u16 vport, 55 mlx5_cmd_fs_create_ft(struct mlx5_core_dev *dev, u16 vport, enum fs_ft_type type, unsigned int level, unsigned int log_size, unsigned int *table_id) argument 86 mlx5_cmd_fs_destroy_ft(struct mlx5_core_dev *dev, u16 vport, enum fs_ft_type type, unsigned int table_id) argument 108 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 136 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 160 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, unsigned int flow_tag, unsigned short action, int dest_size, struct list_head *dests) argument 254 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 | mlx5_vport.c | 30 #include <dev/mlx5/vport.h> 37 u16 vport, u32 *out, int outlen) 45 MLX5_SET(query_vport_state_in, in, vport_number, vport); 46 if (vport) 56 u8 mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport) argument 60 _mlx5_query_vport_state(mdev, opmod, vport, out, sizeof(out)); 66 u8 mlx5_query_vport_admin_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport) argument 70 _mlx5_query_vport_state(mdev, opmod, vport, out, sizeof(out)); 77 u16 vport, u8 state) 86 MLX5_SET(modify_vport_state_in, in, vport_number, vport); 36 _mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport, u32 *out, int outlen) argument 76 mlx5_modify_vport_admin_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport, u8 state) argument 101 mlx5_query_nic_vport_context(struct mlx5_core_dev *mdev, u16 vport, u32 *out, int outlen) argument 211 mlx5_query_nic_vport_min_inline(struct mlx5_core_dev *mdev, u16 vport, u8 *min_inline) argument 250 mlx5_modify_nic_vport_min_inline(struct mlx5_core_dev *mdev, u16 vport, u8 min_inline) argument 271 mlx5_query_nic_vport_mac_address(struct mlx5_core_dev *mdev, u16 vport, u8 *addr) argument 298 mlx5_modify_nic_vport_mac_address(struct mlx5_core_dev *mdev, u16 vport, u8 *addr) argument 463 mlx5_set_nic_vport_current_mac(struct mlx5_core_dev *mdev, int vport, bool other_vport, u8 *addr) argument 507 mlx5_modify_nic_vport_node_guid(struct mlx5_core_dev *mdev, u32 vport, u64 node_guid) argument 546 mlx5_modify_nic_vport_port_guid(struct mlx5_core_dev *mdev, u32 vport, u64 port_guid) argument 585 mlx5_set_nic_vport_vlan_list(struct mlx5_core_dev *dev, u16 vport, u16 *vlan_list, int list_len) argument 633 mlx5_set_nic_vport_mc_list(struct mlx5_core_dev *mdev, int vport, u64 *addr_list, size_t addr_list_len) argument 684 mlx5_set_nic_vport_promisc(struct mlx5_core_dev *mdev, int vport, bool promisc_mc, bool promisc_uc, bool promisc_all) argument 710 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 827 mlx5_query_nic_vport_vlans(struct mlx5_core_dev *dev, u16 vport, u16 vlans[], int *size) argument 960 mlx5_set_nic_vport_permanent_mac(struct mlx5_core_dev *mdev, int vport, u8 *addr) argument 1293 mlx5_modify_eswitch_vport_context(struct mlx5_core_dev *mdev, u16 vport, void *in, int inlen) argument 1313 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 1410 mlx5_set_vport_min_wqe_header(struct mlx5_core_dev *mdev, u8 vport, int min_header) argument 1450 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 | 101 int vport; member in struct:mlx5_vport 112 /* This spinlock protects access to vport data, between 114 * once vport marked as disabled new interrupts are discarded. 116 spinlock_t lock; /* vport events sync */ 161 int vport, u8 mac[ETH_ALEN]); 163 int vport, int link_state); 165 int vport, u16 vlan, u8 qos); 167 int vport, struct mlx5_esw_vport_info *evi);
|
H A D | fs_core.h | 107 u16 vport; member in struct:mlx5_flow_table 258 u16 vport, 263 u16 vport, 268 u16 vport, 273 u16 vport, 279 u16 vport, 289 u16 vport,
|
H A D | flow_table.h | 43 u16 vport,
|
H A D | mlx5_fs_tree.c | 429 src_ft->vport, 444 src_ft->vport, 534 fg_in, ft->vport, ft->type, 584 mlx5_cmd_fs_destroy_fg(fs_get_dev(&ft->base), ft->vport, 636 err = mlx5_cmd_fs_destroy_fg(dev, ft->vport, ft->type, ft->id, 759 u16 vport, 797 ft->vport = vport; 804 err = mlx5_cmd_fs_create_ft(root->dev, ft->vport, ft->type, 834 mlx5_cmd_fs_destroy_ft(root->dev, ft->vport, f 758 _create_ft_common(struct mlx5_flow_namespace *ns, u16 vport, struct fs_prio *fs_prio, int max_fte, const char *name) argument 840 create_ft_common(struct mlx5_flow_namespace *ns, u16 vport, unsigned int prio, int max_fte, const char *name) argument 914 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-11-stable/sys/dev/mlx5/ |
H A D | vport.h | 25 * $FreeBSD: stable/11/sys/dev/mlx5/vport.h 341972 2018-12-12 13:00:56Z hselasky $ 62 u8 mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport); 64 u16 vport); 66 u16 vport, u8 state); 71 int mlx5_set_vport_min_wqe_header(struct mlx5_core_dev *mdev, u8 vport, 74 u16 vport, 84 u16 vport, u8 *addr); 86 u16 vport, u8 mac[ETH_ALEN]); 87 int mlx5_set_nic_vport_current_mac(struct mlx5_core_dev *mdev, int vport, 90 u16 vport, u [all...] |
H A D | fs.h | 127 u16 vport,
|
/freebsd-11-stable/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...] |
/freebsd-11-stable/sys/dev/ocs_fc/ |
H A D | ocs_sport.c | 522 * If this is a vport, logout of the fabric controller so that it 523 * deletes the vport on the switch. 530 ocs_log_debug(ocs,"[%s] sport shutdown vport,sending logo to node\n", 623 ocs_log_debug(ocs, "vport: letting f/w select WWN\n"); 627 ocs_log_debug(ocs, "vport: hard coding port id: %x\n", sport->fc_id); 799 /* Update the vport (if its not the physical sport) parameters */ 916 * Use the vport specification to find the associated vports and start them. 927 ocs_vport_spec_t *vport; local 933 ocs_list_foreach_safe(&xport->vport_list, vport, next) { 934 if (vport 975 ocs_vport_spec_t *vport; local 1054 ocs_sport_vport_alloc(ocs_domain_t *domain, ocs_vport_spec_t *vport) argument 1102 ocs_vport_spec_t *vport; local 1160 ocs_vport_spec_t *vport; local 1489 ocs_vport_spec_t *vport; local 1527 ocs_vport_spec_t *vport; local [all...] |
H A D | ocs_pci.c | 327 ocs_vport_spec_t *vport; local 345 ocs_list_foreach(&xport->vport_list, vport) { 347 vport->tgt_data = fcp; 348 fcp->vport = vport; 357 vport->wwpn = ocs_be64toh(sli_wwpn); 358 vport->wwnn = ocs_be64toh(sli_wwnn); 360 ocs_log_debug(ocs, "VPort wwpn: %lx wwnn: %lx \n", vport->wwpn, vport->wwnn);
|
H A D | ocs_sport.h | 94 extern int32_t ocs_sport_vport_alloc(ocs_domain_t *domain, ocs_vport_spec_t *vport);
|
H A D | ocs_ddump.c | 646 ocs_vport_spec_t *vport; local 732 ocs_list_foreach(&xport->vport_list, vport) { 734 ocs_ddump_value(textbuf, "domain_instance", "%d", vport->domain_instance); 735 ocs_ddump_value(textbuf, "wwnn", "%llx", (unsigned long long)vport->wwnn); 736 ocs_ddump_value(textbuf, "wwpn", "%llx", (unsigned long long)vport->wwpn); 737 ocs_ddump_value(textbuf, "fc_id", "0x%x", vport->fc_id); 738 ocs_ddump_value(textbuf, "enable_tgt", "%d", vport->enable_tgt); 739 ocs_ddump_value(textbuf, "enable_ini", "%d" PRIx64, vport->enable_ini);
|
H A D | ocs_cam.c | 946 if(fcp->vport->sport != NULL) { 951 ocs_sport_vport_alloc(ocs->domain, fcp->vport); 1885 ocs_vport_spec_t *vport = fcp->vport; local 1893 if ((was == 0) || (vport == NULL)) { 1895 if (vport == NULL) { 1899 vport->enable_ini = (new_role & KNOB_ROLE_INITIATOR)? 1:0; 1900 vport->enable_tgt = (new_role & KNOB_ROLE_TARGET)? 1:0; 1918 vport->enable_ini = (new_role & KNOB_ROLE_INITIATOR)? 1:0; 1919 vport [all...] |
H A D | ocs.h | 96 ocs_vport_spec_t *vport; member in struct:ocs_fcport_s
|
H A D | ocs_ioctl.c | 1051 snprintf(str_wwpn, sizeof(str_wwpn), "0x%llx", (unsigned long long)fcp->vport->wwpn); 1063 snprintf(str_wwnn, sizeof(str_wwnn), "0x%llx", (unsigned long long)fcp->vport->wwnn); 1183 snprintf(name, sizeof(name), "vport%d", i);
|
/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_virt.c | 29 #include <dev/mlx5/vport.h>
|
H A D | mlx5_ib_mad.c | 28 #include <dev/mlx5/vport.h>
|
/freebsd-11-stable/sys/dev/qlnx/qlnxe/ |
H A D | ecore_l2_api.h | 209 * 2. Adding a filter which already exists on that vport. 230 u8 vport, 525 /* Identifier can either be according to vport-id or vfid */
|
/freebsd-11-stable/sys/dev/mlx5/mlx5_en/ |
H A D | mlx5_en_main.c | 823 priv->stats.vport.rx_steer_missed_packets = 838 struct mlx5e_vport_stats *s = &priv->stats.vport; 2866 /* Update vport context MTU */ 2870 "Failed updating vport context with MTU size, err=%d\n", 3041 retval = priv->stats.vport.rx_packets; 3051 retval = priv->stats.vport.rx_out_of_buffer; 3054 retval = priv->stats.vport.tx_packets; 3060 retval = priv->stats.vport.rx_bytes; 3063 retval = priv->stats.vport.tx_bytes; 3066 retval = priv->stats.vport [all...] |
H A D | en.h | 68 #include <dev/mlx5/vport.h> 638 struct mlx5e_vport_stats vport; member in struct:mlx5e_stats
|
/freebsd-11-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-iob-defs.h | 1561 uint64_t vport : 6; /**< When IOB_INT_SUM[3:0] bit is set, this field member in struct:cvmx_iob_pkt_err::cvmx_iob_pkt_err_s 1562 latches the failing vport associate with the 1569 uint64_t vport : 6;
|