Lines Matching refs:vlan_id
79 cm_info->vlan_id = cm_node->vlan_id; in irdma_get_addr_info()
447 if (cm_node->vlan_id < VLAN_N_VID) in irdma_form_uda_cm_frame()
479 if (cm_node->vlan_id < VLAN_N_VID) { in irdma_form_uda_cm_frame()
483 cm_node->vlan_id; in irdma_form_uda_cm_frame()
512 if (cm_node->vlan_id < VLAN_N_VID) { in irdma_form_uda_cm_frame()
516 cm_node->vlan_id; in irdma_form_uda_cm_frame()
1467 u16 vlan_id, enum irdma_cm_listener_state listener_state) in irdma_find_listener() argument
1486 vlan_id == listen_node->vlan_id)) { in irdma_find_listener()
1524 child_listen_node->vlan_id); in irdma_del_multiple_qhash()
1530 child_listen_node->vlan_id); in irdma_del_multiple_qhash()
1535 cm_info->vlan_id = child_listen_node->vlan_id; in irdma_del_multiple_qhash()
1565 struct net_device *irdma_netdev_vlan_ipv6(u32 *addr, u16 *vlan_id, u8 *mac) in irdma_netdev_vlan_ipv6() argument
1574 if (vlan_id) in irdma_netdev_vlan_ipv6()
1575 *vlan_id = 0xFFFF; /* Match rdma_vlan_dev_vlan_id() */ in irdma_netdev_vlan_ipv6()
1582 if (vlan_id) in irdma_netdev_vlan_ipv6()
1583 *vlan_id = rdma_vlan_dev_vlan_id(ip_dev); in irdma_netdev_vlan_ipv6()
1601 u16 vlan_id = 0xFFFF; in irdma_get_vlan_ipv4() local
1605 vlan_id = rdma_vlan_dev_vlan_id(netdev); in irdma_get_vlan_ipv4()
1609 return vlan_id; in irdma_get_vlan_ipv4()
1660 cm_info->vlan_id = rdma_vlan_dev_vlan_id(ip_dev); in irdma_add_mqh_6()
1661 cm_parent_listen_node->vlan_id = cm_info->vlan_id; in irdma_add_mqh_6()
1741 cm_info->vlan_id = rdma_vlan_dev_vlan_id(ip_dev); in irdma_add_mqh_4()
1742 cm_parent_listen_node->vlan_id = cm_info->vlan_id; in irdma_add_mqh_4()
1877 nfo.vlan_id = listener->vlan_id; in irdma_dec_refcnt_listen()
1899 listener->vlan_id, apbvt_del); in irdma_dec_refcnt_listen()
2049 u32 *loc_addr, u16 vlan_id) in irdma_find_node() argument
2056 if (cm_node->vlan_id == vlan_id && in irdma_find_node()
2146 ah_info.vlan_tag = cm_node->vlan_id; in irdma_cm_create_ah()
2147 if (cm_node->vlan_id < VLAN_N_VID) { in irdma_cm_create_ah()
2202 cm_node->vlan_id = cm_info->vlan_id; in irdma_make_cm_node()
2203 if (cm_node->vlan_id >= VLAN_N_VID && iwdev->dcb_vlan_mode) in irdma_make_cm_node()
2204 cm_node->vlan_id = 0; in irdma_make_cm_node()
2903 cm_info->loc_port, cm_info->vlan_id, in irdma_make_listen_node()
2932 listener->vlan_id = cm_info->vlan_id; in irdma_make_listen_node()
3102 vtag = rbuf->vlan_id; in irdma_receive_ilq()
3105 cm_info.vlan_id = vtag & VLAN_VID_MASK; in irdma_receive_ilq()
3107 cm_info.vlan_id = 0xFFFF; in irdma_receive_ilq()
3116 cm_info.vlan_id = vtag & VLAN_VID_MASK; in irdma_receive_ilq()
3118 "CM: vlan_id=%d\n", cm_info.vlan_id); in irdma_receive_ilq()
3120 cm_info.vlan_id = 0xFFFF; in irdma_receive_ilq()
3142 cm_info.loc_port, cm_info.loc_addr, cm_info.vlan_id); in irdma_receive_ilq()
3154 cm_info.vlan_id, in irdma_receive_ilq()
3299 if (cm_node->vlan_id < VLAN_N_VID) { in irdma_init_tcp_ctx()
3301 tcp_info->vlan_tag = cm_node->vlan_id; in irdma_init_tcp_ctx()
3610 cm_node->vlan_id = irdma_get_vlan_ipv4(cm_node->loc_addr); in irdma_accept()
3613 irdma_netdev_vlan_ipv6(cm_node->loc_addr, &cm_node->vlan_id, in irdma_accept()
3617 cm_node->vlan_id); in irdma_accept()
3810 cm_info.vlan_id = irdma_get_vlan_ipv4(cm_info.loc_addr); in irdma_connect()
3822 irdma_netdev_vlan_ipv6(cm_info.loc_addr, &cm_info.vlan_id, in irdma_connect()
3934 cm_info.vlan_id = irdma_get_vlan_ipv4(cm_info.loc_addr); in irdma_create_listen()
3936 cm_info.vlan_id = 0xFFFF; in irdma_create_listen()
3949 &cm_info.vlan_id, NULL); in irdma_create_listen()
3951 cm_info.vlan_id = 0xFFFF; in irdma_create_listen()
3956 if (cm_info.vlan_id >= VLAN_N_VID && iwdev->dcb_vlan_mode) in irdma_create_listen()
3957 cm_info.vlan_id = 0; in irdma_create_listen()
4007 cm_listen_node->qhash_set, cm_listen_node->vlan_id); in irdma_create_listen()
4058 (nfo->vlan_id == cm_node->vlan_id && in irdma_teardown_list_prep()
4303 nfo->vlan_id = child_listen_node->vlan_id; in irdma_qhash_ctrl()
4332 u16 vlan_id = rdma_vlan_dev_vlan_id(netdev); in irdma_if_notify() local
4337 nfo.vlan_id = vlan_id; in irdma_if_notify()
4344 if (vlan_id != listen_node->vlan_id || in irdma_if_notify()