Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Feb 2015 17:17:59 +0000
From:      "imp (Warner Losh)" <phabric-noreply@FreeBSD.org>
To:        freebsd-net@freebsd.org
Subject:   [Differential] [Updated] D1761: Extend LRO support to accumulate more than 65535 bytes
Message-ID:  <48873a786e27d1420fbb08e54c97a9f0@localhost.localdomain>
In-Reply-To: <differential-rev-PHID-DREV-wifan4aus5qtbwh2gnxc-req@FreeBSD.org>
References:  <differential-rev-PHID-DREV-wifan4aus5qtbwh2gnxc-req@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
imp added a comment.

Except for the signed / unsigned issue, I like this change. However, please get approval from some of the networking guys before committing.

INLINE COMMENTS
  sys/netinet/ip_input.c:1450 Shouldn't this be unsigned?
  sys/netinet/ip_output.c:129 shouldn't this be unsigned?
  
  sys/netinet/ip_output.c:709 unsigned?
  sys/netinet/tcp_lro.c:233 This really isn't a compile time constant (though I think FreeBSD has magic to kinda make it such). I don't see what's wrong with uint16_t p_len = htons(65535) honestly. The enum type is also signed, which may cause some grief with subtle assumptions in the code.

REVISION DETAIL
  https://reviews.freebsd.org/D1761

To: hselasky, rmacklem, rrs, glebius, gnn, emaste, bz, adrian, rwatson, imp
Cc: freebsd-net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48873a786e27d1420fbb08e54c97a9f0>