linux-stable/drivers/net/ethernet/qlogic/qed
Yuval Mintz 1cf2b1a971 qed: PF-VF resource negotiation
One of the goals of the vf's first message to the PF [acquire]
is to learn about the number of resources available to it [macs, vlans,
etc.]. This is done via negotiation - the VF requires a set of resources,
which the PF either approves or disaproves and sends a smaller set of
resources as alternative. In this later case, the VF is then expected to
either abort the probe or re-send the acquire message with less
required resources.

While this infrastructure exists since the initial submision of qed
SRIOV support, it's in fact completely inoperational - PF isn't really
looking into the resources the VF has asked for and is never going to
reply to the VF that it lacks resources.

This patch addresses this flow, fixing it and allowing the PF and VF
to actually agree on a set of resources.

Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-06-07 15:40:11 -07:00
..
Makefile qed: add support for dcbx. 2016-05-17 12:29:34 -04:00
qed.h qed: Initialize hardware for new protocols 2016-06-03 20:08:40 -04:00
qed_cxt.c qed: Initialize hardware for new protocols 2016-06-03 20:08:40 -04:00
qed_cxt.h qed: Initialize hardware for new protocols 2016-06-03 20:08:40 -04:00
qed_dcbx.c qed: Reset the enable flag for eth protocol. 2016-05-25 12:32:41 -07:00
qed_dcbx.h qed: add support for dcbx. 2016-05-17 12:29:34 -04:00
qed_dev.c qed: Initialize hardware for new protocols 2016-06-03 20:08:40 -04:00
qed_dev_api.h qed: Revisit chain implementation 2016-06-03 20:08:39 -04:00
qed_hsi.h qed: Add iscsi/rdma personalities 2016-06-03 20:08:39 -04:00
qed_hw.c qed: Initialize hardware for new protocols 2016-06-03 20:08:40 -04:00
qed_hw.h qed: Initialize hardware for new protocols 2016-06-03 20:08:40 -04:00
qed_init_fw_funcs.c qed: Utilize FW 8.10.3.0 2016-06-02 21:30:03 -07:00
qed_init_ops.c qed: Utilize FW 8.10.3.0 2016-06-02 21:30:03 -07:00
qed_init_ops.h
qed_int.c qed: Improve VF interrupt reset 2016-05-16 13:59:18 -04:00
qed_int.h qed: Improve VF interrupt reset 2016-05-16 13:59:18 -04:00
qed_l2.c qed: Utilize FW 8.10.3.0 2016-06-02 21:30:03 -07:00
qed_l2.h qed*: Tx-switching configuration 2016-05-12 00:04:08 -04:00
qed_main.c qed: Add iscsi/rdma personalities 2016-06-03 20:08:39 -04:00
qed_mcp.c qed: Add iscsi/rdma personalities 2016-06-03 20:08:39 -04:00
qed_mcp.h qed: Utilize FW 8.10.3.0 2016-06-02 21:30:03 -07:00
qed_reg_addr.h qed: Initialize hardware for new protocols 2016-06-03 20:08:40 -04:00
qed_selftest.c qed: add infrastructure for device self tests. 2016-05-02 00:16:39 -04:00
qed_selftest.h qed: add infrastructure for device self tests. 2016-05-02 00:16:39 -04:00
qed_sp.h qed: Add common HSI for new protocols 2016-06-03 20:08:39 -04:00
qed_sp_commands.c qed: Add iscsi/rdma personalities 2016-06-03 20:08:39 -04:00
qed_spq.c qed: Revisit chain implementation 2016-06-03 20:08:39 -04:00
qed_sriov.c qed: PF-VF resource negotiation 2016-06-07 15:40:11 -07:00
qed_sriov.h qed: PF-VF resource negotiation 2016-06-07 15:40:11 -07:00
qed_vf.c qed: PF-VF resource negotiation 2016-06-07 15:40:11 -07:00
qed_vf.h qed: Relax VF firmware requirements 2016-06-07 15:40:11 -07:00