aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/benet/be_cmds.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/benet/be_cmds.c b/drivers/net/benet/be_cmds.c
index da8793026bb1..e79bf8b9af3b 100644
--- a/drivers/net/benet/be_cmds.c
+++ b/drivers/net/benet/be_cmds.c
@@ -1113,6 +1113,10 @@ int be_cmd_promiscuous_config(struct be_adapter *adapter, u8 port_num, bool en)
1113 be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_ETH, 1113 be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_ETH,
1114 OPCODE_ETH_PROMISCUOUS, sizeof(*req)); 1114 OPCODE_ETH_PROMISCUOUS, sizeof(*req));
1115 1115
1116 /* In FW versions X.102.149/X.101.487 and later,
1117 * the port setting associated only with the
1118 * issuing pci function will take effect
1119 */
1116 if (port_num) 1120 if (port_num)
1117 req->port1_promiscuous = en; 1121 req->port1_promiscuous = en;
1118 else 1122 else