how to switch off cheaksum & tso by ndis miniport driver and insted of Hardware for checksum & tso ?

Hello Everyone, I wanna ask a question of how to switch off cheaksum & tso by ndis miniport driver? Because of I found it will lower Speed performance base on iperf.exe, my plan is first to switch off it built from protocol stack, then through Hardware to implement of checksum & tso for improve the testing speed performance .
Thanks.