Lines Matching full:dscp
89 /* in DSCP mode up->tc mapping cannot change */ in ice_dcbnl_setets()
185 /* DSCP configuration is not DCBx negotiated */ in ice_dcbnl_setdcbx()
741 /* ONLY DSCP APP TLVs have operational significance */ in ice_dcbnl_setapp()
747 netdev_err(netdev, "can't do DSCP QoS when FW DCB agent active\n"); in ice_dcbnl_setapp()
758 netdev_err(netdev, "DSCP value 0x%04X out of range\n", in ice_dcbnl_setapp()
786 netdev_err(netdev, "DSCP value 0x%04X already user mapped\n", in ice_dcbnl_setapp()
799 /* If port is not in DSCP mode, need to set */ in ice_dcbnl_setapp()
803 /* set DSCP mode */ in ice_dcbnl_setapp()
807 netdev_err(netdev, "Failed to set DSCP PFC mode %d\n", in ice_dcbnl_setapp()
811 netdev_info(netdev, "Switched QoS to L3 DSCP mode\n"); in ice_dcbnl_setapp()
815 /* set default DSCP QoS values */ in ice_dcbnl_setapp()
822 int dscp, offset; in ice_dcbnl_setapp() local
824 dscp = (i * max_tc) + j; in ice_dcbnl_setapp()
827 new_cfg->dscp_map[dscp] = i; in ice_dcbnl_setapp()
830 new_cfg->dscp_map[dscp + offset] = i; in ice_dcbnl_setapp()
842 } /* end of switching to DSCP mode */ in ice_dcbnl_setapp()
844 /* apply new mapping for this DSCP value */ in ice_dcbnl_setapp()
875 netdev_err(netdev, "can't delete DSCP netlink app when FW DCB agent is active\n"); in ice_dcbnl_delapp()
918 /* if not a DSCP APP TLV or DSCP is not supported, we are done */ in ice_dcbnl_delapp()
925 /* if DSCP TLV, then need to address change in mapping */ in ice_dcbnl_delapp()
927 /* remap this DSCP value to default value */ in ice_dcbnl_delapp()
931 /* if the last DSCP mapping just got deleted, need to switch in ice_dcbnl_delapp()