ibmvnic: Keep track of supplementary TX descriptors
Supplementary TX descriptors were not being accounted for, which was resulting in an overflow of the hardware device's transmit queue. Keep track of those descriptors now when determining how many entries remain on the TX queue. Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
f5c0c6f429
commit
ffc385b95a
@@ -909,6 +909,7 @@ struct ibmvnic_tx_buff {
|
||||
union sub_crq indir_arr[6];
|
||||
u8 hdr_data[140];
|
||||
dma_addr_t indir_dma;
|
||||
int num_entries;
|
||||
};
|
||||
|
||||
struct ibmvnic_tx_pool {
|
||||
|
Reference in New Issue
Block a user