Lines Matching refs:vid
12882 static int __bnx2x_vlan_configure_vid(struct bnx2x *bp, u16 vid, bool add)
12890 rc = bnx2x_set_vlan_one(bp, vid, &bp->sp_objs->vlan_obj,
12893 rc = bnx2x_vfpf_update_vlan(bp, vid, bp->fp->index, add);
12912 rc = __bnx2x_vlan_configure_vid(bp, vlan->vid, true);
12914 BNX2X_ERR("Unable to config VLAN %d\n", vlan->vid);
12918 DP(NETIF_MSG_IFUP, "HW configured for VLAN %d\n", vlan->vid);
12953 static int bnx2x_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid)
12958 DP(NETIF_MSG_IFUP, "Adding VLAN %d\n", vid);
12964 vlan->vid = vid;
12974 static int bnx2x_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid)
12981 DP(NETIF_MSG_IFUP, "Removing VLAN %d\n", vid);
12984 if (vlan->vid == vid) {
12990 BNX2X_ERR("Unable to kill VLAN %d - not found\n", vid);
12995 rc = __bnx2x_vlan_configure_vid(bp, vid, false);
12996 DP(NETIF_MSG_IFUP, "HW deconfigured for VLAN %d\n", vid);