From: Wang Xiao W Date: Thu, 10 Sep 2015 04:38:12 +0000 (+0800) Subject: fm10k/base: set unlimited bandwidth for PF queues X-Git-Tag: spdx-start~8413 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=76cf5b44b901de27502c1daaebcd0ee2f5756858;p=dpdk.git fm10k/base: set unlimited bandwidth for PF queues Set PF queues used for VMDq to unlimited bandwidth when virtualization resources are assigned. Signed-off-by: Wang Xiao W --- diff --git a/drivers/net/fm10k/base/fm10k_pf.c b/drivers/net/fm10k/base/fm10k_pf.c index cc4923503a..663a28c819 100644 --- a/drivers/net/fm10k/base/fm10k_pf.c +++ b/drivers/net/fm10k/base/fm10k_pf.c @@ -716,7 +716,8 @@ STATIC s32 fm10k_iov_assign_resources_pf(struct fm10k_hw *hw, u16 num_vfs, /* loop through unallocated rings assigning them back to PF */ for (i = FM10K_MAX_QUEUES_PF; i < vf_q_idx; i++) { FM10K_WRITE_REG(hw, FM10K_TXDCTL(i), 0); - FM10K_WRITE_REG(hw, FM10K_TXQCTL(i), FM10K_TXQCTL_PF | vid); + FM10K_WRITE_REG(hw, FM10K_TXQCTL(i), FM10K_TXQCTL_PF | + FM10K_TXQCTL_UNLIMITED_BW | vid); FM10K_WRITE_REG(hw, FM10K_RXQCTL(i), FM10K_RXQCTL_PF); }