mirror of
https://github.com/torvalds/linux.git
synced 2026-03-14 02:06:15 +01:00
virtio-net: a tiny comment update
Update a comment because virtio-net now supports both VIRTIO_NET_F_NOTF_COAL and VIRTIO_NET_F_VQ_NOTF_COAL. Signed-off-by: Heng Qi <hengqi@linux.alibaba.com> Acked-by: Jason Wang <jasowang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
f61fe5f081
commit
c4e33cf261
1 changed files with 1 additions and 1 deletions
|
|
@ -3347,7 +3347,7 @@ static int virtnet_send_notf_coal_vq_cmds(struct virtnet_info *vi,
|
|||
static int virtnet_coal_params_supported(struct ethtool_coalesce *ec)
|
||||
{
|
||||
/* usecs coalescing is supported only if VIRTIO_NET_F_NOTF_COAL
|
||||
* feature is negotiated.
|
||||
* or VIRTIO_NET_F_VQ_NOTF_COAL feature is negotiated.
|
||||
*/
|
||||
if (ec->rx_coalesce_usecs || ec->tx_coalesce_usecs)
|
||||
return -EOPNOTSUPP;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue