Thread (22 messages) 22 messages, 5 authors, 2022-05-10

Re: [PATCH net-next v8 02/14] net: skb: introduce skb_data_area_size()

flat view

From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date: 2022-05-10 10:01:36
Also in: linux-wireless

On Mon, May 09, 2022 at 02:37:26PM -0700, Martinez, Ricardo wrote:
On 5/9/2022 12:50 PM, Jakub Kicinski wrote:
quoted
On Mon, 9 May 2022 21:34:58 +0300 Sergey Ryazanov wrote:
...
quoted
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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help