Lines Matching refs:offloads
198 __virtio64 offloads; member
2840 static int virtnet_set_guest_offloads(struct virtnet_info *vi, u64 offloads) in virtnet_set_guest_offloads() argument
2843 vi->ctrl->offloads = cpu_to_virtio64(vi->vdev, offloads); in virtnet_set_guest_offloads()
2845 sg_init_one(&sg, &vi->ctrl->offloads, sizeof(vi->ctrl->offloads)); in virtnet_set_guest_offloads()
2858 u64 offloads = 0; in virtnet_clear_guest_offloads() local
2863 return virtnet_set_guest_offloads(vi, offloads); in virtnet_clear_guest_offloads()
2868 u64 offloads = vi->guest_offloads; in virtnet_restore_guest_offloads() local
2873 return virtnet_set_guest_offloads(vi, offloads); in virtnet_restore_guest_offloads()
3019 u64 offloads; in virtnet_set_features() local
3027 offloads = vi->guest_offloads_capable; in virtnet_set_features()
3029 offloads = vi->guest_offloads_capable & in virtnet_set_features()
3032 err = virtnet_set_guest_offloads(vi, offloads); in virtnet_set_features()
3035 vi->guest_offloads = offloads; in virtnet_set_features()