Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266477
b: refs/heads/master
c: 999bb4b
h: refs/heads/master
i:
  266475: 56628e0
v: v3
  • Loading branch information
Alexander Guller authored and David S. Miller committed Oct 10, 2011
1 parent 42fc30f commit da309b5
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 7398af403f621418fa05c6936cac34aa06b5a758
refs/heads/master: 999bb4b3831abd6ad53023a0b8e5d304875927dd
2 changes: 1 addition & 1 deletion trunk/drivers/net/ethernet/mellanox/mlx4/en_port.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ int mlx4_SET_PORT_qpn_calc(struct mlx4_dev *dev, u8 port, u32 base_qpn,
memset(context, 0, sizeof *context);

context->base_qpn = cpu_to_be32(base_qpn);
context->n_mac = 0x2;
context->n_mac = dev->caps.log_num_macs;
context->promisc = cpu_to_be32(promisc << SET_PORT_PROMISC_SHIFT |
base_qpn);
context->mcast = cpu_to_be32(m_promisc << SET_PORT_MC_PROMISC_SHIFT |
Expand Down

0 comments on commit da309b5

Please sign in to comment.