git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/qede/base: revise tunnel APIs/structs
[dpdk.git]
/
drivers
/
net
/
ixgbe
/
base
/
ixgbe_vf.c
diff --git
a/drivers/net/ixgbe/base/ixgbe_vf.c
b/drivers/net/ixgbe/base/ixgbe_vf.c
index
8775ee5
..
b513190
100644
(file)
--- a/
drivers/net/ixgbe/base/ixgbe_vf.c
+++ b/
drivers/net/ixgbe/base/ixgbe_vf.c
@@
-432,6
+432,10
@@
s32 ixgbevf_update_xcast_mode(struct ixgbe_hw *hw, int xcast_mode)
switch (hw->api_version) {
case ixgbe_mbox_api_12:
switch (hw->api_version) {
case ixgbe_mbox_api_12:
+ /* New modes were introduced in 1.3 version */
+ if (xcast_mode > IXGBEVF_XCAST_MODE_ALLMULTI)
+ return IXGBE_ERR_FEATURE_NOT_SUPPORTED;
+ /* Fall through */
case ixgbe_mbox_api_13:
break;
default:
case ixgbe_mbox_api_13:
break;
default: