Lines Matching defs:err
29 int tx_queues, qos_txqs, err;
36 err = netif_set_real_num_tx_queues(pfvf->netdev, tx_queues);
37 if (err) {
505 int err;
529 err = otx2_qos_add_child_node(parent, node);
530 if (err) {
532 return ERR_PTR(err);
539 err = otx2_qos_alloc_txschq_node(pfvf, node);
540 if (err) {
1031 int err;
1039 err = PTR_ERR(root);
1040 return err;
1047 err = -ENOMEM;
1052 err = otx2_qos_txschq_alloc(pfvf, new_cfg);
1053 if (err) {
1072 err = otx2_qos_txschq_update_root_cfg(pfvf, root, new_cfg);
1073 if (err) {
1091 return err;
1114 int err = 0;
1120 err = (rr_weight > OTX2_MAX_RR_QUANTUM) ? -EINVAL : 0;
1122 err = -EINVAL;
1124 return err;
1132 int err;
1134 err = otx2_qos_validate_quantum(pfvf, quantum);
1135 if (err) {
1137 return err;
1225 int qid, ret, err;
1319 err = otx2_qos_txschq_update_config(pfvf, parent, old_cfg);
1320 if (err) {
1364 int ret, err;
1454 err = otx2_qos_alloc_txschq_node(pfvf, node);
1455 if (err) {
1460 err = otx2_qos_txschq_update_config(pfvf, node, old_cfg);
1461 if (err) {
1608 int err;
1653 err = otx2_qos_alloc_txschq_node(pfvf, parent);
1654 if (err) {
1656 return err;
1669 err = otx2_qos_push_txschq_cfg(pfvf, parent, new_cfg);
1670 if (err) {
1673 return err;
1697 int err;
1704 err = otx2_qos_txschq_config(pfvf, root);
1705 if (err) {
1711 err = otx2_qos_txschq_push_cfg_tl(pfvf, root, NULL);
1712 if (err) {