Lines Matching refs:vlan_id

115 	cm_info->vlan_id = cm_node->vlan_id;
490 if (cm_node->vlan_id < VLAN_N_VID)
522 if (cm_node->vlan_id < VLAN_N_VID) {
526 cm_node->vlan_id;
555 if (cm_node->vlan_id < VLAN_N_VID) {
559 cm_node->vlan_id;
1520 * @vlan_id: virtual LAN ID
1525 u16 vlan_id, enum irdma_cm_listener_state listener_state)
1544 vlan_id == listen_node->vlan_id)) {
1582 child_listen_node->vlan_id);
1588 child_listen_node->vlan_id);
1592 cm_info->vlan_id = child_listen_node->vlan_id;
1622 * @vlan_id: vlan id for the given IPv6 address
1629 irdma_get_vlan_mac_ipv6(struct iw_cm_id *cm_id, u32 *addr, u16 *vlan_id, u8 *mac)
1638 if (vlan_id)
1639 *vlan_id = 0xFFFF; /* Match rdma_vlan_dev_vlan_id() */
1652 if (vlan_id)
1653 *vlan_id = rdma_vlan_dev_vlan_id(ip_dev);
1661 * irdma_get_vlan_ipv4 - Returns the vlan_id for IPv4 address
1667 u16 vlan_id = 0xFFFF;
1678 vlan_id = rdma_vlan_dev_vlan_id(netdev);
1683 return vlan_id;
1744 cm_info->vlan_id = rdma_vlan_dev_vlan_id(ip_dev);
1745 child_listen_node->vlan_id = cm_info->vlan_id;
1748 "Allocating child CM Listener forIP=%x, vlan_id=%d, MAC=%x:%x:%x:%x:%x:%x\n",
1758 "IP=%x:%x:%x:%x, vlan_id=%d, MAC=%x:%x:%x:%x:%x:%x\n",
1935 nfo.vlan_id = listener->vlan_id;
1954 "loc_port=0x%04x loc_addr=%x cm_listen_node=%p cm_id=%p qhash_set=%d vlan_id=%d apbvt_del=%d\n",
1957 listener->vlan_id, apbvt_del);
1990 * @vlan_id: local VLAN ID
1995 u32 *loc_addr, u16 vlan_id)
2002 if (cm_node->vlan_id == vlan_id &&
2100 ah_info.vlan_tag = cm_node->vlan_id;
2101 if (cm_node->vlan_id < VLAN_N_VID) {
2154 cm_node->vlan_id = cm_info->vlan_id;
2155 if (cm_node->vlan_id >= VLAN_N_VID && iwdev->dcb_vlan_mode)
2156 cm_node->vlan_id = 0;
2821 cm_info->loc_port, cm_info->vlan_id,
2850 listener->vlan_id = cm_info->vlan_id;
3024 vtag = rbuf->vlan_id;
3027 cm_info.vlan_id = vtag & EVL_VLID_MASK;
3029 cm_info.vlan_id = 0xFFFF;
3038 cm_info.vlan_id = vtag & EVL_VLID_MASK;
3040 "vlan_id=%d\n", cm_info.vlan_id);
3042 cm_info.vlan_id = 0xFFFF;
3064 cm_info.loc_port, cm_info.loc_addr, cm_info.vlan_id);
3077 cm_info.vlan_id,
3227 if (cm_node->vlan_id < VLAN_N_VID) {
3229 tcp_info->vlan_tag = cm_node->vlan_id;
3534 cm_node->vlan_id = irdma_get_vlan_ipv4(cm_id, cm_node->loc_addr);
3537 irdma_get_vlan_mac_ipv6(cm_id, cm_node->loc_addr, &cm_node->vlan_id,
3540 irdma_debug(&iwdev->rf->sc_dev, IRDMA_DEBUG_CM, "Accept vlan_id=%d\n",
3541 cm_node->vlan_id);
3733 cm_info.vlan_id = irdma_get_vlan_ipv4(cm_id, cm_info.loc_addr);
3745 irdma_get_vlan_mac_ipv6(cm_id, cm_info.loc_addr, &cm_info.vlan_id, NULL);
3860 cm_info.vlan_id = irdma_get_vlan_ipv4(cm_id, cm_info.loc_addr);
3862 cm_info.vlan_id = 0xFFFF;
3875 &cm_info.vlan_id, NULL);
3877 cm_info.vlan_id = 0xFFFF;
3882 if (cm_info.vlan_id >= VLAN_N_VID && iwdev->dcb_vlan_mode)
3883 cm_info.vlan_id = 0;
3933 "loc_port=0x%04x loc_addr=%x cm_listen_node=%p cm_id=%p qhash_set=%d vlan_id=%d\n",
3936 cm_listen_node->qhash_set, cm_listen_node->vlan_id);
3990 (nfo->vlan_id == cm_node->vlan_id &&
4053 ipaddr, nfo->vlan_id, nfo->ipv4)) {