Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 130192
b: refs/heads/master
c: e918085
h: refs/heads/master
v: v3
  • Loading branch information
Alex Williamson authored and David S. Miller committed Jan 26, 2009
1 parent ec46692 commit 979857a
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 801599b0cd4c026a18fb9fce436eae4459f799a6
refs/heads/master: e918085aaff34086e265f825dd469926b1aec4a4
3 changes: 2 additions & 1 deletion trunk/drivers/net/virtio_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <linux/virtio.h>
#include <linux/virtio_net.h>
#include <linux/scatterlist.h>
#include <linux/if_vlan.h>

static int napi_weight = 128;
module_param(napi_weight, int, 0444);
Expand All @@ -33,7 +34,7 @@ module_param(csum, bool, 0444);
module_param(gso, bool, 0444);

/* FIXME: MTU in config. */
#define MAX_PACKET_LEN (ETH_HLEN+ETH_DATA_LEN)
#define MAX_PACKET_LEN (ETH_HLEN + VLAN_HLEN + ETH_DATA_LEN)
#define GOOD_COPY_LEN 128

struct virtnet_info
Expand Down

0 comments on commit 979857a

Please sign in to comment.