Hi Clove,
There is no block size as such, in networking. A basic unit of data
transfer in networking is called a packet. There is no fixed size as
such for a packet, unlike a sector or block size in storage. However
the packet size is generally determined by the MTU (Maximum
Transmission Unit),
kmalloc allocates physically contiguous memory, while vmalloc
allocates memory which is only virtually contiguous and not
necessarily physically contiguous.
Usually physically contiguous memory is required for hardware devices
(dma etc) , thus kmalloc is useful for allocating such memory. And