Lines Matching refs:vlan_id
648 static int bond_add_vlan(struct bonding *bond, unsigned short vlan_id) in bond_add_vlan() argument
653 (bond ? bond->dev->name: "None"), vlan_id); in bond_add_vlan()
661 vlan->vlan_id = vlan_id; in bond_add_vlan()
669 dprintk("added VLAN ID %d on bond %s\n", vlan_id, bond->dev->name); in bond_add_vlan()
681 static int bond_del_vlan(struct bonding *bond, unsigned short vlan_id) in bond_del_vlan() argument
686 dprintk("bond: %s, vlan id %d\n", bond->dev->name, vlan_id); in bond_del_vlan()
691 if (vlan->vlan_id == vlan_id) { in bond_del_vlan()
696 bond_alb_clear_vlan(bond, vlan_id); in bond_del_vlan()
699 dprintk("removed VLAN ID %d from bond %s\n", vlan_id, in bond_del_vlan()
719 dprintk("couldn't find VLAN ID %d in bond %s\n", vlan_id, in bond_del_vlan()
809 unsigned short vlan_id; in bond_dev_queue_xmit() local
814 res = vlan_get_tag(skb, &vlan_id); in bond_dev_queue_xmit()
820 skb = vlan_put_tag(skb, vlan_id); in bond_dev_queue_xmit()
962 slave_dev->vlan_rx_add_vid(slave_dev, vlan->vlan_id); in bond_add_vlans_on_slave()
989 vlan_dev = bond->vlgrp->vlan_devices[vlan->vlan_id]; in bond_del_vlans_from_slave()
990 slave_dev->vlan_rx_kill_vid(slave_dev, vlan->vlan_id); in bond_del_vlans_from_slave()
991 bond->vlgrp->vlan_devices[vlan->vlan_id] = vlan_dev; in bond_del_vlans_from_slave()