Lines Matching refs:lso
369 static void otx2_setup_udp_segmentation(struct nix_lso_format_cfg *lso, bool v4) in otx2_setup_udp_segmentation() argument
373 field = (struct nix_lso_format *)&lso->fields[0]; in otx2_setup_udp_segmentation()
374 lso->field_mask = GENMASK(18, 0); in otx2_setup_udp_segmentation()
405 struct nix_lso_format_cfg *lso; in otx2_setup_segmentation() local
412 lso = otx2_mbox_alloc_msg_nix_lso_format_cfg(&pfvf->mbox); in otx2_setup_segmentation()
413 if (!lso) in otx2_setup_segmentation()
417 otx2_setup_udp_segmentation(lso, true); in otx2_setup_segmentation()
424 otx2_mbox_get_rsp(&pfvf->mbox.mbox, 0, &lso->hdr); in otx2_setup_segmentation()
431 lso = otx2_mbox_alloc_msg_nix_lso_format_cfg(&pfvf->mbox); in otx2_setup_segmentation()
432 if (!lso) in otx2_setup_segmentation()
436 otx2_setup_udp_segmentation(lso, false); in otx2_setup_segmentation()
443 otx2_mbox_get_rsp(&pfvf->mbox.mbox, 0, &lso->hdr); in otx2_setup_segmentation()