You can configure the local and remote devices to work in non-auto-negotiation mode, and set their duplex mode to full-duplex to avoid packet loss.
<HUAWEI> system-view [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] undo negotiation auto [HUAWEI-GigabitEthernet0/0/1] duplex full