mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 22:23:14 -04:00
fou: Add GRO support
Implement fou_gro_receive and fou_gro_complete, and populate these in the correponsing udp_offloads for the socket. Added ipproto to udp_offloads and pass this from UDP to the fou GRO routine in proto field of napi_gro_cb structure. Signed-off-by: Tom Herbert <therbert@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
23461551c0
commit
afe93325bc
3 changed files with 95 additions and 2 deletions
|
|
@ -1874,7 +1874,7 @@ struct napi_gro_cb {
|
|||
/* jiffies when first packet was created/queued */
|
||||
unsigned long age;
|
||||
|
||||
/* Used in ipv6_gro_receive() */
|
||||
/* Used in ipv6_gro_receive() and foo-over-udp */
|
||||
u16 proto;
|
||||
|
||||
/* Used in udp_gro_receive */
|
||||
|
|
@ -1925,6 +1925,7 @@ struct packet_offload {
|
|||
|
||||
struct udp_offload {
|
||||
__be16 port;
|
||||
u8 ipproto;
|
||||
struct offload_callbacks callbacks;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue