Skip to content

Commit

Permalink
net: ethernet: reduce buffer-induced latency
Browse files Browse the repository at this point in the history
This is the default on FreeBSD as well.

Signed-off-by: kdrag0n <[email protected]>
Signed-off-by: GhostMaster69-dev <[email protected]>
Signed-off-by: Ahmad Nauval Syahputra <[email protected]>
  • Loading branch information
kdrag0n authored and naups committed Aug 19, 2023
1 parent 79adf95 commit be6e831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ethernet/eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ void ether_setup(struct net_device *dev)
dev->min_header_len = ETH_HLEN;
dev->mtu = ETH_DATA_LEN;
dev->addr_len = ETH_ALEN;
dev->tx_queue_len = 1000; /* Ethernet wants good queues */
dev->tx_queue_len = 50; /* Ethernet wants good latency */
dev->flags = IFF_BROADCAST|IFF_MULTICAST;
dev->priv_flags |= IFF_TX_SKB_SHARING;

Expand Down

0 comments on commit be6e831

Please sign in to comment.