Searched refs:vesw_id (Results 1 - 14 of 14) sorted by relevance
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | vnic_main.c | 354 int vesw_id) in get_vnic_port() 356 int vnic_id = VNIC_ID(vesw_id); in get_vnic_port() 380 int l4_type, vesw_id = -1, rc; in hfi1_vnic_bypass_rcv() local 386 vesw_id = HFI1_VNIC_GET_VESWID(packet->ebuf); in hfi1_vnic_bypass_rcv() 387 vinfo = get_vnic_port(dd, vesw_id); in hfi1_vnic_bypass_rcv() 407 l4_type, vesw_id, packet->rcd->ctxt); in hfi1_vnic_bypass_rcv() 453 if (!vinfo->vesw_id) in hfi1_vnic_up() 456 rc = hfi1_netdev_add_data(dd, VNIC_ID(vinfo->vesw_id), vinfo); in hfi1_vnic_up() 471 hfi1_netdev_remove_data(dd, VNIC_ID(vinfo->vesw_id)); in hfi1_vnic_up() 482 hfi1_netdev_remove_data(dd, VNIC_ID(vinfo->vesw_id)); in hfi1_vnic_down() 353 get_vnic_port(struct hfi1_devdata *dd, int vesw_id) get_vnic_port() argument [all...] |
H A D | vnic.h | 118 * @vesw_id: virtual switch id 133 u16 vesw_id; member
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
H A D | vnic_main.c | 312 int vesw_id) in get_vnic_port() 314 int vnic_id = VNIC_ID(vesw_id); in get_vnic_port() 338 int l4_type, vesw_id = -1, rc; in hfi1_vnic_bypass_rcv() local 344 vesw_id = HFI1_VNIC_GET_VESWID(packet->ebuf); in hfi1_vnic_bypass_rcv() 345 vinfo = get_vnic_port(dd, vesw_id); in hfi1_vnic_bypass_rcv() 365 l4_type, vesw_id, packet->rcd->ctxt); in hfi1_vnic_bypass_rcv() 411 if (!vinfo->vesw_id) in hfi1_vnic_up() 414 rc = hfi1_netdev_add_data(dd, VNIC_ID(vinfo->vesw_id), vinfo); in hfi1_vnic_up() 429 hfi1_netdev_remove_data(dd, VNIC_ID(vinfo->vesw_id)); in hfi1_vnic_up() 440 hfi1_netdev_remove_data(dd, VNIC_ID(vinfo->vesw_id)); in hfi1_vnic_down() 311 get_vnic_port(struct hfi1_devdata *dd, int vesw_id) get_vnic_port() argument [all...] |
H A D | vnic.h | 76 * @vesw_id: virtual switch id 91 u16 vesw_id; member
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/opa_vnic/ |
H A D | opa_vnic_vema_iface.c | 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() 168 info->vesw_id = cpu_to_be16(src->vesw_id); in opa_vnic_get_vesw_info() 202 dst->vesw_id = be16_to_cpu(info->vesw_id); in opa_vnic_set_vesw_info()
|
H A D | opa_vnic_encap.h | 120 * @vesw_id: 12-bit virtual ethernet switch id 135 __be16 vesw_id; member 276 * @vesw_id: virtual ethernet switch id 312 __be16 vesw_id; member 356 * @vesw_id: virtual ethernet switch id 385 __be16 vesw_id; member
|
H A D | opa_vnic_internal.h | 80 u16 vesw_id; member
|
H A D | opa_vnic_netdev.c | 158 rn->set_id(netdev, info->vesw.vesw_id); in opa_vnic_process_vema_config()
|
H A D | opa_vnic_encap.c | 499 l4_hdr = info->vesw.vesw_id; in opa_vnic_encap_skb()
|
/kernel/linux/linux-6.6/drivers/infiniband/ulp/opa_vnic/ |
H A D | opa_vnic_vema_iface.c | 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() 168 info->vesw_id = cpu_to_be16(src->vesw_id); in opa_vnic_get_vesw_info() 202 dst->vesw_id = be16_to_cpu(info->vesw_id); in opa_vnic_set_vesw_info()
|
H A D | opa_vnic_encap.h | 120 * @vesw_id: 12-bit virtual ethernet switch id 135 __be16 vesw_id; member 276 * @vesw_id: virtual ethernet switch id 312 __be16 vesw_id; member 356 * @vesw_id: virtual ethernet switch id 385 __be16 vesw_id; member
|
H A D | opa_vnic_internal.h | 80 u16 vesw_id; member
|
H A D | opa_vnic_netdev.c | 157 rn->set_id(netdev, info->vesw.vesw_id); in opa_vnic_process_vema_config()
|
H A D | opa_vnic_encap.c | 499 l4_hdr = info->vesw.vesw_id; in opa_vnic_encap_skb()
|
Completed in 10 milliseconds