>-----Original Message----- >From: Intel-wired-lan <intel-wired-lan-bounces@xxxxxxxxxx> On Behalf Of >Sarkar, Tirthendu >Sent: 18 February 2023 00:45 >To: intel-wired-lan@xxxxxxxxxxxxxxxx >Cc: Sarkar, Tirthendu <tirthendu.sarkar@xxxxxxxxx>; netdev@xxxxxxxxxxxxxxx; >Brandeburg, Jesse <jesse.brandeburg@xxxxxxxxx>; Nguyen, Anthony L ><anthony.l.nguyen@xxxxxxxxx>; bpf@xxxxxxxxxxxxxxx; Karlsson, Magnus ><magnus.karlsson@xxxxxxxxx> >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@xxxxxxxxx> >--- > drivers/net/ethernet/intel/i40e/i40e_txrx.c | 20 ++++---------------- > 1 file changed, 4 insertions(+), 16 deletions(-) > Tested-by: Chandan Kumar Rout <chandanx.rout@xxxxxxxxx> (A Contingent Worker at Intel)