netstack: remove GRO from ingress flow

GRO is getting moved and updated. This removes it in preparation for a
follow-up CL.

PiperOrigin-RevId: 621984030
This commit is contained in:
Kevin Krakauer
2024-04-04 15:17:08 -07:00
committed by gVisor bot
parent 3e952d1e30
commit c9964aa985
18 changed files with 31 additions and 194 deletions
-12
View File
@@ -16,7 +16,6 @@ package netstack
import (
"fmt"
"time"
"gvisor.dev/gvisor/pkg/abi/linux"
"gvisor.dev/gvisor/pkg/errors/linuxerr"
@@ -516,14 +515,3 @@ func (s *Stack) PortRange() (uint16, uint16) {
func (s *Stack) SetPortRange(start uint16, end uint16) error {
return syserr.TranslateNetstackError(s.Stack.SetPortRange(start, end)).ToError()
}
// GROTimeout implements inet.Stack.GROTimeout.
func (s *Stack) GROTimeout(nicID int32) (time.Duration, error) {
timeout, err := s.Stack.GROTimeout(tcpip.NICID(nicID))
return timeout, syserr.TranslateNetstackError(err).ToError()
}
// SetGROTimeout implements inet.Stack.SetGROTimeout.
func (s *Stack) SetGROTimeout(nicID int32, timeout time.Duration) error {
return syserr.TranslateNetstackError(s.Stack.SetGROTimeout(tcpip.NICID(nicID), timeout)).ToError()
}