Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 225451
b: refs/heads/master
c: 3998029
h: refs/heads/master
i:
  225449: e6f49f4
  225447: 30fbe8c
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Jan 3, 2011
1 parent d52a9bd commit 1934f22
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0dfb33a0d7e2d9316eb4441a065ddd173f87223e
refs/heads/master: 39980292fda20b38baf95bfa577db8b678eecc86
7 changes: 7 additions & 0 deletions trunk/drivers/net/ifb.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ static const struct net_device_ops ifb_netdev_ops = {
.ndo_validate_addr = eth_validate_addr,
};

#define IFB_FEATURES (NETIF_F_NO_CSUM | NETIF_F_SG | NETIF_F_FRAGLIST | \
NETIF_F_TSO_ECN | NETIF_F_TSO | NETIF_F_TSO6 | \
NETIF_F_HIGHDMA | NETIF_F_HW_VLAN_TX)

static void ifb_setup(struct net_device *dev)
{
/* Initialize the device structure. */
Expand All @@ -136,6 +140,9 @@ static void ifb_setup(struct net_device *dev)
ether_setup(dev);
dev->tx_queue_len = TX_Q_LIMIT;

dev->features |= IFB_FEATURES;
dev->vlan_features |= IFB_FEATURES;

dev->flags |= IFF_NOARP;
dev->flags &= ~IFF_MULTICAST;
dev->priv_flags &= ~IFF_XMIT_DST_RELEASE;
Expand Down

0 comments on commit 1934f22

Please sign in to comment.