On 2019/06/25 18:32, Manish Chopra wrote: [...] > > > > What I inferred from the presence of that expression though is that in the > > places where it is used, the device interprets a value of 0 as 65536. > > Manish, > > can you confirm that? As David points out, the expression is useless. A > > comment might not be however. > > Yes, I think it could be simplified to simple cast just. >
I checked and it seems like the device treats cqicq->lbq_buf_size = 0 more like 65536 than like 0. That is, I saw it write up to 9596B (running at 9000 mtu...) in a single lbq buffer.