skbuff.h (deea84b0ae3d26b41502ae0a39fe7fe134e703d0) skbuff.h (4e3ab47a547616e583c7a5458beced6aa34c8ef3)
1/*
2 * Definitions for the 'struct sk_buff' memory handlers.
3 *
4 * Authors:
5 * Alan Cox, <gw4pts@gw4pts.ampr.org>
6 * Florian La Roche, <rzsfl@rz.uni-sb.de>
7 *
8 * This program is free software; you can redistribute it and/or

--- 1755 unchanged lines hidden (view full) ---

1764
1765static inline void skb_set_queue_mapping(struct sk_buff *skb, u16 queue_mapping)
1766{
1767#ifdef CONFIG_NETDEVICES_MULTIQUEUE
1768 skb->queue_mapping = queue_mapping;
1769#endif
1770}
1771
1/*
2 * Definitions for the 'struct sk_buff' memory handlers.
3 *
4 * Authors:
5 * Alan Cox, <gw4pts@gw4pts.ampr.org>
6 * Florian La Roche, <rzsfl@rz.uni-sb.de>
7 *
8 * This program is free software; you can redistribute it and/or

--- 1755 unchanged lines hidden (view full) ---

1764
1765static inline void skb_set_queue_mapping(struct sk_buff *skb, u16 queue_mapping)
1766{
1767#ifdef CONFIG_NETDEVICES_MULTIQUEUE
1768 skb->queue_mapping = queue_mapping;
1769#endif
1770}
1771
1772static inline u16 skb_get_queue_mapping(struct sk_buff *skb)
1773{
1774#ifdef CONFIG_NETDEVICES_MULTIQUEUE
1775 return skb->queue_mapping;
1776#else
1777 return 0;
1778#endif
1779}
1780
1772static inline void skb_copy_queue_mapping(struct sk_buff *to, const struct sk_buff *from)
1773{
1774#ifdef CONFIG_NETDEVICES_MULTIQUEUE
1775 to->queue_mapping = from->queue_mapping;
1776#endif
1777}
1778
1779static inline int skb_is_gso(const struct sk_buff *skb)

--- 18 unchanged lines hidden ---
1781static inline void skb_copy_queue_mapping(struct sk_buff *to, const struct sk_buff *from)
1782{
1783#ifdef CONFIG_NETDEVICES_MULTIQUEUE
1784 to->queue_mapping = from->queue_mapping;
1785#endif
1786}
1787
1788static inline int skb_is_gso(const struct sk_buff *skb)

--- 18 unchanged lines hidden ---