diff options
author | Tirthendu Sarkar <tirthendu.sarkar@intel.com> | 2023-03-09 21:56:11 +0300 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2023-03-10 00:11:09 +0300 |
commit | 03e88c8a791c0655ddea07fd4c7cd6cb16087c8f (patch) | |
tree | 2ae0f3515f4baa7d0564bc55d9873003472cafb1 /drivers/staging | |
parent | e2843f037127c3a9db26718aaa293d2a8e5881e4 (diff) | |
download | linux-03e88c8a791c0655ddea07fd4c7cd6cb16087c8f.tar.xz |
i40e: Change size to truesize when using i40e_rx_buffer_flip()
Truesize is now passed directly to i40e_rx_buffer_flip() instead of size
so that it does not need to recalculate truesize from size using
i40e_rx_frame_truesize() before adjusting page offset.
With these change the function can now be used during skb building and
adding frags. In later patches it will also be easier for adjusting
page offsets for multi-buffers.
Signed-off-by: Tirthendu Sarkar <tirthendu.sarkar@intel.com>
Tested-by: Chandan Kumar Rout <chandanx.rout@intel.com> (A Contingent Worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/staging')
0 files changed, 0 insertions, 0 deletions