qed: Multiple qzone queues for VFs
This adds the infrastructure for supporting VFs that want to open multiple transmission queues on the same queue-zone. At this point, there are no VFs that actually request this functionality, but later patches would remedy that. a. VF and PF would communicate the capability during ACQUIRE; Legacy VFs would continue on behaving as they do today b. PF would communicate number of supported CIDs to the VF and would enforce said limitation c. Whenever VF passes a request for a given queue configuration it would also pass an associated index within said queue-zone Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
007bc37179
commit
08bc8f15e6
@@ -185,6 +185,10 @@ struct qed_eth_pf_params {
|
||||
*/
|
||||
u16 num_cons;
|
||||
|
||||
/* per-VF number of CIDs */
|
||||
u8 num_vf_cons;
|
||||
#define ETH_PF_PARAMS_VF_CONS_DEFAULT (32)
|
||||
|
||||
/* To enable arfs, previous to HW-init a positive number needs to be
|
||||
* set [as filters require allocated searcher ILT memory].
|
||||
* This will set the maximal number of configured steering-filters.
|
||||
|
Reference in New Issue
Block a user