04 Nov, 2013
1 commit
-
Joby Poriyath provided a xen-netback patch to reduce the size of
xenvif structure as some netdev allocation could fail under
memory pressure/fragmentation.This patch is handling the problem at the core level, allowing
any netdev structures to use vmalloc() if kmalloc() failed.As vmalloc() adds overhead on a critical network path, add __GFP_REPEAT
to kzalloc() flags to do this fallback only when really needed.Signed-off-by: Eric Dumazet
Reported-by: Joby Poriyath
Cc: Ben Hutchings
Signed-off-by: David S. Miller
06 Apr, 2012
3 commits
-
Commits d314774cf2cd5dfeb39a00d37deee65d4c627927 ('netdev: network
device operations infrastructure') and
008298231abbeb91bc7be9e8b078607b816d1a4a ('netdev: add more functions
to netdevice ops') moved and renamed net device operation pointers.Signed-off-by: Ben Hutchings
Signed-off-by: David S. Miller -
Commits e308a5d806c852f56590ffdd3834d0df0cbed8d7 ('netdev: Add
netdev->addr_list_lock protection.') and
e8a0464cc950972824e2e128028ae3db666ec1ed ('netdev: Allocate multiple
queues for TX.') introduced more fine-grained locks.Signed-off-by: Ben Hutchings
Signed-off-by: David S. Miller -
Commit bea3348eef27e6044b6161fd04c3152215f96411 ('[NET]: Make NAPI
polling independent of struct net_device objects.') removed the
automatic disabling of NAPI polling by dev_close(), and drivers
must now do this themselves.Signed-off-by: Ben Hutchings
Signed-off-by: David S. Miller
18 Aug, 2011
1 commit
-
Remove no longer used operation.
Signed-off-by: Jiri Pirko
Signed-off-by: David S. Miller