Home
last modified time | relevance | path

Searched hist:"1648 a23fa159e5c433aac06dc5e0d9db36146016" (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/net/ethernet/sfc/
H A Defx.hdiff 1648a23fa159e5c433aac06dc5e0d9db36146016 Wed Feb 13 04:54:41 CST 2013 Daniel Pieczko <dpieczko@solarflare.com> sfc: allocate more RX buffers per page

Allocating 2 buffers per page is insanely inefficient when MTU is 1500
and PAGE_SIZE is 64K (as it usually is on POWER). Allocate as many as
we can fit, and choose the refill batch size at run-time so that we
still always use a whole page at once.

[bwh: Fix loop condition to allow for compound pages; rebase]
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
H A Drx.cdiff 1648a23fa159e5c433aac06dc5e0d9db36146016 Wed Feb 13 04:54:41 CST 2013 Daniel Pieczko <dpieczko@solarflare.com> sfc: allocate more RX buffers per page

Allocating 2 buffers per page is insanely inefficient when MTU is 1500
and PAGE_SIZE is 64K (as it usually is on POWER). Allocate as many as
we can fit, and choose the refill batch size at run-time so that we
still always use a whole page at once.

[bwh: Fix loop condition to allow for compound pages; rebase]
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
H A Dnet_driver.hdiff 1648a23fa159e5c433aac06dc5e0d9db36146016 Wed Feb 13 04:54:41 CST 2013 Daniel Pieczko <dpieczko@solarflare.com> sfc: allocate more RX buffers per page

Allocating 2 buffers per page is insanely inefficient when MTU is 1500
and PAGE_SIZE is 64K (as it usually is on POWER). Allocate as many as
we can fit, and choose the refill batch size at run-time so that we
still always use a whole page at once.

[bwh: Fix loop condition to allow for compound pages; rebase]
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
H A Defx.cdiff 1648a23fa159e5c433aac06dc5e0d9db36146016 Wed Feb 13 04:54:41 CST 2013 Daniel Pieczko <dpieczko@solarflare.com> sfc: allocate more RX buffers per page

Allocating 2 buffers per page is insanely inefficient when MTU is 1500
and PAGE_SIZE is 64K (as it usually is on POWER). Allocate as many as
we can fit, and choose the refill batch size at run-time so that we
still always use a whole page at once.

[bwh: Fix loop condition to allow for compound pages; rebase]
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>