Lines Matching defs:vlan

395 		ramrod.user_req.u.vlan.vlan = filter->vid;
400 ramrod.user_req.u.vlan.vlan = filter->vid;
484 /* Schedule the configuration of any pending vlan filters */
1431 /* sp indication is set only when vlan/mac/etc. are initialized */
1808 DP(BNX2X_MSG_IOV, "got VF [%d:%d] set mac/vlan ramrod\n",
2540 DP(BNX2X_MSG_IOV, "configuring vlan for VFs from sp-task\n");
2544 bnx2x_set_vf_vlan(bp->dev, vfidx, bulletin->vlan, 0,
2634 /* mac and vlan are in vlan_mac objects */
2639 (u8 *)&ivi->vlan, 0,
2652 /* vlan */
2654 /* vlan configured by ndo so its in bulletin board */
2655 memcpy(&ivi->vlan, &bulletin->vlan, VLAN_HLEN);
2658 memset(&ivi->vlan, 0, VLAN_HLEN);
2783 u16 vlan, bool add)
2789 /* configure the new vlan to device */
2794 ramrod_param.user_req.u.vlan.vlan = vlan;
2799 BNX2X_ERR("failed to configure vlan\n");
2806 int bnx2x_set_vf_vlan(struct net_device *dev, int vfidx, u16 vlan, u8 qos,
2817 if (vlan > 4095) {
2818 BNX2X_ERR("illegal vlan value %d\n", vlan);
2826 vfidx, vlan, 0);
2833 /* update PF's copy of the VF's bulletin. No point in posting the vlan
2836 * configure the vlan later when it does. Treat vlan id 0 as remove the
2841 if (vlan > 0)
2845 bulletin->vlan = vlan;
2877 /* clear accept_any_vlan when HV forces vlan, otherwise
2880 if (vlan || !(vf->cfg_flags & VF_CFG_VLAN_FILTER))
2881 bnx2x_set_vf_vlan_acceptance(bp, vf, !vlan);
2883 rc = bnx2x_set_vf_vlan_filter(bp, vf, vlan, true);
2887 /* send queue update ramrods to configure default vlan and
2888 * silent vlan removal
2908 if (vlan == 0) {
2909 /* if vlan is 0 then we want to leave the VF traffic
2911 * (i.e. do not remove any vlan tags).
2918 /* configure default vlan to vf queue and set silent
2919 * vlan removal (the vf remains unaware of this vlan).
2925 update_params->def_vlan = vlan;
2927 vlan & VLAN_VID_MASK;
2944 "updated VF[%d] vlan configuration (vlan = %d)\n",
2945 vfidx, vlan);