]> www.infradead.org Git - users/jedix/linux-maple.git/commit
vmxnet3: must split too big fragments
authorEric Dumazet <edumazet@google.com>
Mon, 29 Oct 2012 07:30:49 +0000 (07:30 +0000)
committerGuangyu Sun <guangyu.sun@oracle.com>
Fri, 16 Nov 2012 18:27:03 +0000 (10:27 -0800)
commita6c58a1dbf5283a46107ef834d0a5fa719a76e71
tree293bb61121d09f77f5c7ee3fa55865d1c50da251
parentd63930b2012aaee65888481358d676cb5fb1e212
vmxnet3: must split too big fragments

commit a4d7e485bca65bd516fced77b03f92419308df72 upstream

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>
Conflicts:

drivers/net/vmxnet3/vmxnet3_drv.c

Signed-off-by: Guangyu Sun <guangyu.sun@oracle.com>
drivers/net/vmxnet3/vmxnet3_drv.c