mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
udp: Remove udp_offloads
Now that the UDP encapsulation GRO functions have been moved to the UDP socket we not longer need the udp_offload insfrastructure so removing it. Signed-off-by: Tom Herbert <tom@herbertland.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4a0090a98e
commit
46aa2f30aa
3 changed files with 0 additions and 83 deletions
|
@ -2159,23 +2159,6 @@ struct packet_offload {
|
|||
struct list_head list;
|
||||
};
|
||||
|
||||
struct udp_offload;
|
||||
|
||||
struct udp_offload_callbacks {
|
||||
struct sk_buff **(*gro_receive)(struct sk_buff **head,
|
||||
struct sk_buff *skb,
|
||||
struct udp_offload *uoff);
|
||||
int (*gro_complete)(struct sk_buff *skb,
|
||||
int nhoff,
|
||||
struct udp_offload *uoff);
|
||||
};
|
||||
|
||||
struct udp_offload {
|
||||
__be16 port;
|
||||
u8 ipproto;
|
||||
struct udp_offload_callbacks callbacks;
|
||||
};
|
||||
|
||||
/* often modified stats are per-CPU, other are shared (netdev->stats) */
|
||||
struct pcpu_sw_netstats {
|
||||
u64 rx_packets;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue