>-----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 1/8] i40e: consolidate >maximum frame size calculation for vsi > >Introduce new helper function to calculate max frame size for validating and >setting of vsi frame size. This is used while configuring vsi, changing the MTU >and attaching an XDP program to the vsi. > >This is in preparation of the legacy rx and multi-buffer changes to be >introduced in later patches. > >Signed-off-by: Tirthendu Sarkar <tirthendu.sarkar@xxxxxxxxx> >--- > drivers/net/ethernet/intel/i40e/i40e_main.c | 71 +++++++++++---------- > 1 file changed, 38 insertions(+), 33 deletions(-) > Tested-by: Chandan Kumar Rout <chandanx.rout@xxxxxxxxx> (A Contingent Worker at Intel)