Messages in this thread | | | From | David Laight <> | Subject | RE: [PATCH] net: ti: netcp: restore get/set_pad_info() functionality | Date | Tue, 9 Feb 2016 16:10:13 +0000 |
| |
From: Karicheri, Muralidharan > Sent: 09 February 2016 16:10 ... > >In reality the 'pad' fields ought to be renamed - since they aren't pads. > >Perhaps they should be a union?
> No. At the end of the descriptor, host software can add scratchpad which is > not modified by the hardware, but is used by the driver. So please don't > rename.
So comment in the definition that the hardware doesn't modify them. The driver is defining these fields and they are definitely NOT padding.
David
| |