vmxnet3: must split too big fragments
authorEric Dumazet <edumazet@google.com>
Mon, 29 Oct 2012 07:30:49 +0000 (07:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Nov 2012 01:58:09 +0000 (21:58 -0400)
commita4d7e485bca65bd516fced77b03f92419308df72
treec4d53f5194944832b04d1724f2993ac65dede67f
parent789336360e0a2aeb9750c16ab704a02cbe035e9e
vmxnet3: must split too big fragments

vmxnet3 has a 16Kbytes limit per tx descriptor, that happened to work
as long as we provided PAGE_SIZE fragments.

Our stack can now build larger fragments, so we need to split them to
the 16kbytes boundary.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: jongman heo <jongman.heo@samsung.com>
Tested-by: jongman heo <jongman.heo@samsung.com>
Cc: Shreyas Bhatewara <sbhatewara@vmware.com>
Reviewed-by: Bhavesh Davda <bhavesh@vmware.com>
Signed-off-by: Shreyas Bhatewara <sbhatewara@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vmxnet3/vmxnet3_drv.c