Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 315461
b: refs/heads/master
c: 0b13fb4
h: refs/heads/master
i:
  315459: 71d44c6
v: v3
  • Loading branch information
Padmanabh Ratnakar authored and David S. Miller committed Jul 18, 2012
1 parent c6c9b6a commit 3dc6c51
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c3fe065cea56f1fcd4f8e4ae1fb15fa785d2bb79
refs/heads/master: 0b13fb458fe6d244baaa701049c9a51105224820
3 changes: 2 additions & 1 deletion trunk/drivers/net/ethernet/emulex/benet/be_cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -1631,7 +1631,8 @@ int be_cmd_rx_filter(struct be_adapter *adapter, u32 flags, u32 value)
/* Reset mcast promisc mode if already set by setting mask
* and not setting flags field
*/
req->if_flags_mask |=
if (!lancer_chip(adapter) || be_physfn(adapter))
req->if_flags_mask |=
cpu_to_le32(BE_IF_FLAGS_MCAST_PROMISCUOUS);

req->mcast_num = cpu_to_le32(netdev_mc_count(adapter->netdev));
Expand Down
7 changes: 7 additions & 0 deletions trunk/drivers/net/ethernet/emulex/benet/be_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2772,6 +2772,13 @@ static int be_setup(struct be_adapter *adapter)
en_flags |= BE_IF_FLAGS_RSS;
}

if (lancer_chip(adapter) && !be_physfn(adapter)) {
en_flags = BE_IF_FLAGS_UNTAGGED |
BE_IF_FLAGS_BROADCAST |
BE_IF_FLAGS_MULTICAST;
cap_flags = en_flags;
}

status = be_cmd_if_create(adapter, cap_flags, en_flags,
&adapter->if_handle, 0);
if (status != 0)
Expand Down

0 comments on commit 3dc6c51

Please sign in to comment.