Searched refs:sg_buf_size (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ |
H A D | virtio_net.c | 2982 unsigned int sg_buf_size; in virtnet_commit_rss_command() local 2987 sg_buf_size = offsetof(struct virtio_net_ctrl_rss, indirection_table); in virtnet_commit_rss_command() 2988 sg_set_buf(&sgs[0], &vi->ctrl->rss, sg_buf_size); in virtnet_commit_rss_command() 2990 sg_buf_size = sizeof(uint16_t) * (vi->ctrl->rss.indirection_table_mask + 1); in virtnet_commit_rss_command() 2991 sg_set_buf(&sgs[1], vi->ctrl->rss.indirection_table, sg_buf_size); in virtnet_commit_rss_command() 2993 sg_buf_size = offsetof(struct virtio_net_ctrl_rss, key) in virtnet_commit_rss_command() 2995 sg_set_buf(&sgs[2], &vi->ctrl->rss.max_tx_vq, sg_buf_size); in virtnet_commit_rss_command() 2997 sg_buf_size = vi->rss_key_size; in virtnet_commit_rss_command() 2998 sg_set_buf(&sgs[3], vi->ctrl->rss.key, sg_buf_size); in virtnet_commit_rss_command()
|