07199cc622
- Create DPDK packages for 32 bit x86(bsc#977639). - Add upstream patch for the ixgbe driver * 0007-ixgbe-fix-VLAN-filter-missing-brackets.patch: Fix VLAN filtering logic by adding the missing brackets in the 'if' statement. - DPDK is most common vhost-user backend, Adding upstream patches to help qemu vm live migration with vhost-user (fate#320713). [+ 0004-54f9e32-vhost-handle-dirty-pages-logging-request.patch + 0005-d293dac-vhost-claim-support-of-guest-announce.patch + 0006-d639996-vhost-enable-log_shmfd-protocol-feature.patch] OBS-URL: https://build.opensuse.org/request/show/395036 OBS-URL: https://build.opensuse.org/package/show/network/dpdk?expand=0&rev=2
34 lines
1.1 KiB
Diff
34 lines
1.1 KiB
Diff
From c0de18e856d8c6b4e98ca198091ec7c3528c38e4 Mon Sep 17 00:00:00 2001
|
|
From: Aaron Conole <aconole@redhat.com>
|
|
Date: Tue, 22 Mar 2016 17:37:15 -0400
|
|
Subject: [PATCH] ixgbe: fix VLAN filter missing brackets
|
|
|
|
The ixgbe vlan filter code has an if check with an incorrect whitespace.
|
|
|
|
Fixes: fe3a45fd4104 ("ixgbe: add VMDq support")
|
|
|
|
Signed-off-by: Aaron Conole <aconole@redhat.com>
|
|
Acked-by: Panu Matilainen <pmatilai@redhat.com>
|
|
Acked-by: Helin Zhang <helin.zhang@intel.com>
|
|
---
|
|
drivers/net/ixgbe/ixgbe_ethdev.c | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
Index: dpdk/drivers/net/ixgbe/ixgbe_ethdev.c
|
|
===================================================================
|
|
--- dpdk.orig/drivers/net/ixgbe/ixgbe_ethdev.c
|
|
+++ dpdk/drivers/net/ixgbe/ixgbe_ethdev.c
|
|
@@ -4258,10 +4258,11 @@ ixgbe_set_pool_vlan_filter(struct rte_et
|
|
if (ixgbe_vmdq_mode_check(hw) < 0)
|
|
return (-ENOTSUP);
|
|
for (pool_idx = 0; pool_idx < ETH_64_POOLS; pool_idx++) {
|
|
- if (pool_mask & ((uint64_t)(1ULL << pool_idx)))
|
|
+ if (pool_mask & ((uint64_t)(1ULL << pool_idx))) {
|
|
ret = hw->mac.ops.set_vfta(hw,vlan,pool_idx,vlan_on);
|
|
if (ret < 0)
|
|
return ret;
|
|
+ }
|
|
}
|
|
|
|
return ret;
|