Home
last modified time | relevance | path

Searched refs:recv_section_size (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/hyperv/
H A Dnetvsc.c347 buf_size = device_info->recv_sections * device_info->recv_section_size; in netvsc_init_buf()
426 net_device->recv_section_size = resp->sections[0].sub_alloc_size; in netvsc_init_buf()
430 if (net_device->recv_section_size < NETVSC_MTU_MIN || (u64)net_device->recv_section_size * in netvsc_init_buf()
432 netdev_err(ndev, "invalid recv_section_size %u\n", in netvsc_init_buf()
433 net_device->recv_section_size); in netvsc_init_buf()
441 nvchan->recv_buf = kzalloc(net_device->recv_section_size, GFP_KERNEL); in netvsc_init_buf()
1527 if (unlikely(buflen > net_device->recv_section_size)) { in netvsc_receive()
1531 "Packet too big: buflen=%u recv_section_size=%u\n", in netvsc_receive()
1532 buflen, net_device->recv_section_size); in netvsc_receive()
[all...]
H A Dhyperv_net.h180 u32 recv_section_size; member
1163 u32 recv_section_size; member
H A Dnetvsc_drv.c946 dev_info->recv_section_size = nvdev->recv_section_size; in netvsc_devinfo_get()
962 dev_info->recv_section_size = NETVSC_RECV_SECTION_SIZE; in netvsc_devinfo_get()
1790 ring->rx_max_pending = max_buf_size / nvdev->recv_section_size; in __netvsc_get_ringparam()