Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 183243
b: refs/heads/master
c: bd24962
h: refs/heads/master
i:
  183241: 2a0b8f1
  183239: 0177349
v: v3
  • Loading branch information
Scott Feldman authored and David S. Miller committed Dec 24, 2009
1 parent 7220220 commit c98c287
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 9959a18556c73ebf2936b8df183ea7b41f38d933
refs/heads/master: bd2496229e702b2eb50eab5589858a3cdb7847b2
4 changes: 2 additions & 2 deletions trunk/drivers/net/enic/enic_res.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,13 @@ int enic_get_vnic_config(struct enic *enic)
min_t(u32, ENIC_MAX_WQ_DESCS,
max_t(u32, ENIC_MIN_WQ_DESCS,
c->wq_desc_count));
c->wq_desc_count &= 0xfffffff0; /* must be aligned to groups of 16 */
c->wq_desc_count &= 0xffffffe0; /* must be aligned to groups of 32 */

c->rq_desc_count =
min_t(u32, ENIC_MAX_RQ_DESCS,
max_t(u32, ENIC_MIN_RQ_DESCS,
c->rq_desc_count));
c->rq_desc_count &= 0xfffffff0; /* must be aligned to groups of 16 */
c->rq_desc_count &= 0xffffffe0; /* must be aligned to groups of 32 */

if (c->mtu == 0)
c->mtu = 1500;
Expand Down

0 comments on commit c98c287

Please sign in to comment.