On Mon, May 09, 2022 at 02:37:26PM -0700, Martinez, Ricardo wrote: > On 5/9/2022 12:50 PM, Jakub Kicinski wrote: > > On Mon, 9 May 2022 21:34:58 +0300 Sergey Ryazanov wrote: ... > > We have two cases: > > - for Tx - drivers should use skb_headlen(); > > - for Rx - I presume we are either dealing with fresh or correctly > > reset skbs, so we can use skb_tailroom(). > Thanks for the information, looks like indeed we can avoid the helper in > t7xx driver by following those guidelines. I think this can be done as a follow up patch. -- With Best Regards, Andy Shevchenko