Home
last modified time | relevance | path

Searched refs:vesw (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/ulp/opa_vnic/
H A Dopa_vnic_encap.c345 dlid = info->vesw.u_mcast_dlid; in opa_vnic_get_dlid()
355 dlid = info->vesw.u_ucast_dlid[def_port]; in opa_vnic_get_dlid()
420 rout_ctrl = OPA_VNIC_ENCAP_RC_EXT(info->vesw.rc, in opa_vnic_get_rc()
423 rout_ctrl = OPA_VNIC_ENCAP_RC_EXT(info->vesw.rc, in opa_vnic_get_rc()
426 rout_ctrl = OPA_VNIC_ENCAP_RC_EXT(info->vesw.rc, IPV6); in opa_vnic_get_rc()
431 rout_ctrl = OPA_VNIC_ENCAP_RC_EXT(info->vesw.rc, in opa_vnic_get_rc()
434 rout_ctrl = OPA_VNIC_ENCAP_RC_EXT(info->vesw.rc, in opa_vnic_get_rc()
437 rout_ctrl = OPA_VNIC_ENCAP_RC_EXT(info->vesw.rc, IPV4); in opa_vnic_get_rc()
440 rout_ctrl = OPA_VNIC_ENCAP_RC_EXT(info->vesw.rc, DEFAULT); in opa_vnic_get_rc()
499 l4_hdr = info->vesw in opa_vnic_encap_skb()
[all...]
H A Dopa_vnic_vema_iface.c66 trap_data.fabric_id = info->vesw.fabric_id; in opa_vnic_vema_report_event()
67 trap_data.veswid = info->vesw.vesw_id; in opa_vnic_vema_report_event()
97 cntrs->vesw_id = cpu_to_be16(adapter->info.vesw.vesw_id); in opa_vnic_get_summary_counters()
136 cntrs->vesw_id = cpu_to_be16(adapter->info.vesw.vesw_id); in opa_vnic_get_error_counters()
154 * opa_vnic_get_vesw_info -- Get the vesw information
156 * @info: pointer to destination vesw info structure
158 * This function copies the vesw info that is maintained by the
164 struct __opa_vesw_info *src = &adapter->info.vesw; in opa_vnic_get_vesw_info()
187 * opa_vnic_set_vesw_info -- Set the vesw information
189 * @info: pointer to vesw inf
[all...]
H A Dopa_vnic_netdev.c158 rn->set_id(netdev, info->vesw.vesw_id); in opa_vnic_process_vema_config()
162 netdev->max_mtu = max_t(unsigned int, info->vesw.eth_mtu, in opa_vnic_process_vema_config()
169 port_mask = info->vesw.def_port_mask; in opa_vnic_process_vema_config()
199 adapter->info.vesw.eth_mtu = ETH_DATA_LEN; in opa_vnic_set_pod_values()
H A Dopa_vnic_vema.c188 port_info->vesw.eth_mtu = cpu_to_be16(ETH_DATA_LEN); in vema_get_pod_values()
290 opa_vnic_get_vesw_info(adapter, &port_info->vesw); in vema_get_veswport_info()
328 opa_vnic_set_vesw_info(adapter, &port_info->vesw); in vema_set_veswport_info()
416 * This function clears all the fields of veswport info for the requested vesw
418 * vesw.
435 opa_vnic_set_vesw_info(adapter, &port_info->vesw); in vema_set_delete_vesw()
H A Dopa_vnic_encap.h217 * @vesw: OPA vnic switch information
224 struct opa_vesw_info vesw; member
370 * @rx_bad_veswid: received packet with invalid vesw id
H A Dopa_vnic_internal.h145 struct __opa_vesw_info vesw; member
183 * @vport_num: vesw port number
/kernel/linux/linux-6.6/drivers/infiniband/ulp/opa_vnic/
H A Dopa_vnic_encap.c345 dlid = info->vesw.u_mcast_dlid; in opa_vnic_get_dlid()
355 dlid = info->vesw.u_ucast_dlid[def_port]; in opa_vnic_get_dlid()
420 rout_ctrl = OPA_VNIC_ENCAP_RC_EXT(info->vesw.rc, in opa_vnic_get_rc()
423 rout_ctrl = OPA_VNIC_ENCAP_RC_EXT(info->vesw.rc, in opa_vnic_get_rc()
426 rout_ctrl = OPA_VNIC_ENCAP_RC_EXT(info->vesw.rc, IPV6); in opa_vnic_get_rc()
431 rout_ctrl = OPA_VNIC_ENCAP_RC_EXT(info->vesw.rc, in opa_vnic_get_rc()
434 rout_ctrl = OPA_VNIC_ENCAP_RC_EXT(info->vesw.rc, in opa_vnic_get_rc()
437 rout_ctrl = OPA_VNIC_ENCAP_RC_EXT(info->vesw.rc, IPV4); in opa_vnic_get_rc()
440 rout_ctrl = OPA_VNIC_ENCAP_RC_EXT(info->vesw.rc, DEFAULT); in opa_vnic_get_rc()
499 l4_hdr = info->vesw in opa_vnic_encap_skb()
[all...]
H A Dopa_vnic_vema_iface.c66 trap_data.fabric_id = info->vesw.fabric_id; in opa_vnic_vema_report_event()
67 trap_data.veswid = info->vesw.vesw_id; in opa_vnic_vema_report_event()
97 cntrs->vesw_id = cpu_to_be16(adapter->info.vesw.vesw_id); in opa_vnic_get_summary_counters()
136 cntrs->vesw_id = cpu_to_be16(adapter->info.vesw.vesw_id); in opa_vnic_get_error_counters()
154 * opa_vnic_get_vesw_info -- Get the vesw information
156 * @info: pointer to destination vesw info structure
158 * This function copies the vesw info that is maintained by the
164 struct __opa_vesw_info *src = &adapter->info.vesw; in opa_vnic_get_vesw_info()
187 * opa_vnic_set_vesw_info -- Set the vesw information
189 * @info: pointer to vesw inf
[all...]
H A Dopa_vnic_netdev.c157 rn->set_id(netdev, info->vesw.vesw_id); in opa_vnic_process_vema_config()
161 netdev->max_mtu = max_t(unsigned int, info->vesw.eth_mtu, in opa_vnic_process_vema_config()
168 port_mask = info->vesw.def_port_mask; in opa_vnic_process_vema_config()
198 adapter->info.vesw.eth_mtu = ETH_DATA_LEN; in opa_vnic_set_pod_values()
H A Dopa_vnic_vema.c189 port_info->vesw.eth_mtu = cpu_to_be16(ETH_DATA_LEN); in vema_get_pod_values()
291 opa_vnic_get_vesw_info(adapter, &port_info->vesw); in vema_get_veswport_info()
329 opa_vnic_set_vesw_info(adapter, &port_info->vesw); in vema_set_veswport_info()
417 * This function clears all the fields of veswport info for the requested vesw
419 * vesw.
436 opa_vnic_set_vesw_info(adapter, &port_info->vesw); in vema_set_delete_vesw()
H A Dopa_vnic_encap.h217 * @vesw: OPA vnic switch information
224 struct opa_vesw_info vesw; member
370 * @rx_bad_veswid: received packet with invalid vesw id
H A Dopa_vnic_internal.h145 struct __opa_vesw_info vesw; member
183 * @vport_num: vesw port number

Completed in 10 milliseconds