Lines Matching refs:weight
466 if (napi->weight) in skb_xmit_done()
810 bool use_napi = sq->napi.weight; in check_sq_full_and_disable()
2057 if (!napi->weight) in virtnet_napi_tx_enable()
2064 napi->weight = 0; in virtnet_napi_tx_enable()
2073 if (napi->weight) in virtnet_napi_tx_disable()
2156 if (!sq->napi.weight || is_xdp_raw_buffer_queue(vi, index)) in virtnet_poll_cleantx()
2372 bool use_napi = sq->napi.weight; in start_xmit()
3405 static int virtnet_should_update_vq_weight(int dev_flags, int weight, in virtnet_should_update_vq_weight() argument
3408 if (weight ^ vq_weight) { in virtnet_should_update_vq_weight()
3430 vi->sq[queue_number].napi.weight, in virtnet_set_coalesce()
3453 vi->sq[queue_number].napi.weight = napi_weight; in virtnet_set_coalesce()
3474 if (vi->sq[0].napi.weight) in virtnet_get_coalesce()
3495 vi->sq[queue].napi.weight, in virtnet_set_per_queue_coalesce()
3509 vi->sq[queue].napi.weight = napi_weight; in virtnet_set_per_queue_coalesce()
3531 if (vi->sq[queue].napi.weight) in virtnet_get_per_queue_coalesce()