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:

committed by
David S. Miller

parent
4a0090a98e
commit
46aa2f30aa
@@ -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;
|
||||
|
Reference in New Issue
Block a user