summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c
diff options
context:
space:
mode:
authorMugunthan V N2015-08-12 12:01:43 +0200
committerDavid S. Miller2015-08-13 01:40:22 +0200
commit76550786c6780d95db1b2de56a115a84347b242d (patch)
tree63d37ba6bb8d0b1ff8c58a81d5ec27c1720bbc15 /drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c
parentbpf: fix build warnings and add function read_trace_pipe() (diff)
downloadkernel-qcow2-linux-76550786c6780d95db1b2de56a115a84347b242d.tar.gz
kernel-qcow2-linux-76550786c6780d95db1b2de56a115a84347b242d.tar.xz
kernel-qcow2-linux-76550786c6780d95db1b2de56a115a84347b242d.zip
net: ipv4: increase dhcp inter device timeout
When a system has multiple ethernet devices and during DHCP request (for using NFS), the system waits only for HZ/2 which is 500mS before switching to another interface for DHCP. There are some routers (Ex: Trendnet routers) which responds to DHCP request at about 560mS. When the system has only one ethernet interface there is no issue as the timeout is 2S and the dev xid doesn't changes and only retries. But when the system has multiple Ethernet like DRA74x with CPSW in dual EMAC mode, the DHCP response is dropped as the dev xid changes while shifting to the next device. So changing inter device timeout to HZ (which is 1S). Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c')
0 files changed, 0 insertions, 0 deletions