summaryrefslogtreecommitdiff
path: root/lib/librte_pmd_e1000
diff options
context:
space:
mode:
authorIntel <intel.com>2013-11-08 03:00:00 +0100
committerThomas Monjalon <thomas.monjalon@6wind.com>2013-11-24 01:31:34 +0100
commitdffbaf7880a8d753a4971971256d6c8b90e7ece1 (patch)
tree024fccefa6cc6fa3c40b787695e0bb9ef16f3da6 /lib/librte_pmd_e1000
parent1558bea6e3723d9c1e52b5aee56e1c1030fb6f5f (diff)
downloaddpdk-dffbaf7880a8d753a4971971256d6c8b90e7ece1.zip
dpdk-dffbaf7880a8d753a4971971256d6c8b90e7ece1.tar.gz
dpdk-dffbaf7880a8d753a4971971256d6c8b90e7ece1.tar.xz
e1000: revert fix for multicast in VF
Revert fix from commit 06cf9be95ce16b363c4267d2d17e27c2706629ae. Signed-off-by: Intel
Diffstat (limited to 'lib/librte_pmd_e1000')
-rw-r--r--lib/librte_pmd_e1000/e1000/e1000_vf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/librte_pmd_e1000/e1000/e1000_vf.c b/lib/librte_pmd_e1000/e1000/e1000_vf.c
index 6f19f19..a4a96fd 100644
--- a/lib/librte_pmd_e1000/e1000/e1000_vf.c
+++ b/lib/librte_pmd_e1000/e1000/e1000_vf.c
@@ -419,13 +419,12 @@ void e1000_update_mc_addr_list_vf(struct e1000_hw *hw,
DEBUGOUT1("MC Addr Count = %d\n", mc_addr_count);
- msgbuf[0] = E1000_VF_SET_MULTICAST;
-
if (mc_addr_count > 30) {
msgbuf[0] |= E1000_VF_SET_MULTICAST_OVERFLOW;
mc_addr_count = 30;
}
+ msgbuf[0] = E1000_VF_SET_MULTICAST;
msgbuf[0] |= mc_addr_count << E1000_VT_MSGINFO_SHIFT;
for (i = 0; i < mc_addr_count; i++) {