|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PULL 6/9] rocker: add new rocker switch device |
Date: | Sat, 20 Jun 2015 23:07:30 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 |
On 11/05/2015 17:26, Stefan Hajnoczi wrote: > + switch (tx_offload) { > + case ROCKER_TX_OFFLOAD_L3_CSUM: > + if (!tlvs[ROCKER_TLV_TX_L3_CSUM_OFF]) { > + return -ROCKER_EINVAL; > + } Is the fallthrough intentional here? Paolo > + case ROCKER_TX_OFFLOAD_TSO: > + if (!tlvs[ROCKER_TLV_TX_TSO_MSS] || > + !tlvs[ROCKER_TLV_TX_TSO_HDR_LEN]) { > + return -ROCKER_EINVAL; > + } > + } > +
[Prev in Thread] | Current Thread | [Next in Thread] |