lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 2 Oct 2017 20:50:49 +0000
From:   Yuval Mintz <yuvalm@...lanox.com>
To:     Jeff Kirsher <jeffrey.t.kirsher@...el.com>,
        "davem@...emloft.net" <davem@...emloft.net>
CC:     Alan Brady <alan.brady@...el.com>,
        "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
        "nhorman@...hat.com" <nhorman@...hat.com>,
        "sassmann@...hat.com" <sassmann@...hat.com>,
        "jogreene@...hat.com" <jogreene@...hat.com>
Subject: RE: [net-next 11/15] i40evf: Enable VF to request an alternate queue
 allocation

> +	case VIRTCHNL_OP_REQUEST_QUEUES: {
> +		struct virtchnl_vf_res_request *vfres =
> +			(struct virtchnl_vf_res_request *)msg;
> +		if (vfres->num_queue_pairs == adapter->num_req_queues)
> {
> +			adapter->flags |=
> I40EVF_FLAG_REINIT_ITR_NEEDED;
> +			i40evf_schedule_reset(adapter);
> +		} else {
> +			dev_info(&adapter->pdev->dev,
> +				 "Requested %d queues, PF can support
> %d\n",
> +				 adapter->num_req_queues,
> +				 vfres->num_queue_pairs);
> +			adapter->num_req_queues = 0;
> +		}
> +		}
> +		break;

Something is odd about your parenthesis.

>  	default:
>  		if (adapter->current_op && (v_opcode != adapter-
> >current_op))
>  			dev_warn(&adapter->pdev->dev, "Expected
> response %d from PF, received %d\n",
> --
> 2.14.2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ