[Intel-wired-lan] [PATCH intel-next v6 5/8] i40e: use frame_sz instead of recalculating truesize for building skb

Rout, ChandanX chandanx.rout at intel.com
Fri Mar 3 17:17:42 UTC 2023



>-----Original Message-----
>From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
>Sarkar, Tirthendu
>Sent: 18 February 2023 00:45
>To: intel-wired-lan at lists.osuosl.org
>Cc: Sarkar, Tirthendu <tirthendu.sarkar at intel.com>; netdev at vger.kernel.org;
>Brandeburg, Jesse <jesse.brandeburg at intel.com>; Nguyen, Anthony L
><anthony.l.nguyen at intel.com>; bpf at vger.kernel.org; Karlsson, Magnus
><magnus.karlsson at intel.com>
>Subject: [Intel-wired-lan] [PATCH intel-next v6 5/8] i40e: use frame_sz instead
>of recalculating truesize for building skb
>
>In skb path truesize is calculated while building skb. This is now avoided and
>xdp->frame_is used instead for both i40e_build_skb() and
>i40e_construct_skb().
>
>Signed-off-by: Tirthendu Sarkar <tirthendu.sarkar at intel.com>
>---
> drivers/net/ethernet/intel/i40e/i40e_txrx.c | 20 ++++----------------
> 1 file changed, 4 insertions(+), 16 deletions(-)
>

Tested-by: Chandan Kumar Rout <chandanx.rout at intel.com> (A Contingent Worker at Intel)


More information about the Intel-wired-lan mailing list