diff options
| author | David S. Miller <davem@davemloft.net> | 2014-03-29 18:48:54 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2014-03-29 18:48:54 -0400 |
| commit | 64c27237a07129758e33f5f824ba5c33b7f57417 (patch) | |
| tree | 4c0c0a9b6d282d600f2226e1b3510096b9d789dd /include | |
| parent | 77a9939426f7a3f35f460afc9b11f1fe45955409 (diff) | |
| parent | 49d8137a4039c63c834827f4bfe875e27bb9c521 (diff) | |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts:
drivers/net/ethernet/marvell/mvneta.c
The mvneta.c conflict is a case of overlapping changes,
a conversion to devm_ioremap_resource() vs. a conversion
to netdev_alloc_pcpu_stats.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/netdev_features.h | 7 | ||||
| -rw-r--r-- | include/linux/netdevice.h | 2 | ||||
| -rw-r--r-- | include/linux/skbuff.h | 4 | ||||
| -rw-r--r-- | include/linux/usb/usbnet.h | 2 | ||||
| -rw-r--r-- | include/net/if_inet6.h | 4 |
5 files changed, 14 insertions, 5 deletions
diff --git a/include/linux/netdev_features.h b/include/linux/netdev_features.h index 1005ebf17575..5a09a48f2658 100644 --- a/include/linux/netdev_features.h +++ b/include/linux/netdev_features.h | |||
| @@ -163,4 +163,11 @@ enum { | |||
| 163 | /* changeable features with no special hardware requirements */ | 163 | /* changeable features with no special hardware requirements */ |
| 164 | #define NETIF_F_SOFT_FEATURES (NETIF_F_GSO | NETIF_F_GRO) | 164 | #define NETIF_F_SOFT_FEATURES (NETIF_F_GSO | NETIF_F_GRO) |
| 165 | 165 | ||
| 166 | #define NETIF_F_VLAN_FEATURES (NETIF_F_HW_VLAN_CTAG_FILTER | \ | ||
| 167 | NETIF_F_HW_VLAN_CTAG_RX | \ | ||
| 168 | NETIF_F_HW_VLAN_CTAG_TX | \ | ||
| 169 | NETIF_F_HW_VLAN_STAG_FILTER | \ | ||
| 170 | NETIF_F_HW_VLAN_STAG_RX | \ | ||
| 171 | NETIF_F_HW_VLAN_STAG_TX) | ||
| 172 | |||
| 166 | #endif /* _LINUX_NETDEV_FEATURES_H */ | 173 | #endif /* _LINUX_NETDEV_FEATURES_H */ |
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 4cd5e9e13c87..06287c110241 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
| @@ -3097,7 +3097,7 @@ struct sk_buff *skb_gso_segment(struct sk_buff *skb, netdev_features_t features) | |||
| 3097 | { | 3097 | { |
| 3098 | return __skb_gso_segment(skb, features, true); | 3098 | return __skb_gso_segment(skb, features, true); |
| 3099 | } | 3099 | } |
| 3100 | __be16 skb_network_protocol(struct sk_buff *skb); | 3100 | __be16 skb_network_protocol(struct sk_buff *skb, int *depth); |
| 3101 | 3101 | ||
| 3102 | static inline bool can_checksum_protocol(netdev_features_t features, | 3102 | static inline bool can_checksum_protocol(netdev_features_t features, |
| 3103 | __be16 protocol) | 3103 | __be16 protocol) |
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index aa2c22cb8158..18ef0224fb6a 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h | |||
| @@ -2508,8 +2508,8 @@ int skb_splice_bits(struct sk_buff *skb, unsigned int offset, | |||
| 2508 | unsigned int flags); | 2508 | unsigned int flags); |
| 2509 | void skb_copy_and_csum_dev(const struct sk_buff *skb, u8 *to); | 2509 | void skb_copy_and_csum_dev(const struct sk_buff *skb, u8 *to); |
| 2510 | unsigned int skb_zerocopy_headlen(const struct sk_buff *from); | 2510 | unsigned int skb_zerocopy_headlen(const struct sk_buff *from); |
| 2511 | void skb_zerocopy(struct sk_buff *to, const struct sk_buff *from, | 2511 | int skb_zerocopy(struct sk_buff *to, struct sk_buff *from, |
| 2512 | int len, int hlen); | 2512 | int len, int hlen); |
| 2513 | void skb_split(struct sk_buff *skb, struct sk_buff *skb1, const u32 len); | 2513 | void skb_split(struct sk_buff *skb, struct sk_buff *skb1, const u32 len); |
| 2514 | int skb_shift(struct sk_buff *tgt, struct sk_buff *skb, int shiftlen); | 2514 | int skb_shift(struct sk_buff *tgt, struct sk_buff *skb, int shiftlen); |
| 2515 | void skb_scrub_packet(struct sk_buff *skb, bool xnet); | 2515 | void skb_scrub_packet(struct sk_buff *skb, bool xnet); |
diff --git a/include/linux/usb/usbnet.h b/include/linux/usb/usbnet.h index e303eef94dd5..0662e98fef72 100644 --- a/include/linux/usb/usbnet.h +++ b/include/linux/usb/usbnet.h | |||
| @@ -30,7 +30,7 @@ struct usbnet { | |||
| 30 | struct driver_info *driver_info; | 30 | struct driver_info *driver_info; |
| 31 | const char *driver_name; | 31 | const char *driver_name; |
| 32 | void *driver_priv; | 32 | void *driver_priv; |
| 33 | wait_queue_head_t *wait; | 33 | wait_queue_head_t wait; |
| 34 | struct mutex phy_mutex; | 34 | struct mutex phy_mutex; |
| 35 | unsigned char suspend_count; | 35 | unsigned char suspend_count; |
| 36 | unsigned char pkt_cnt, pkt_err; | 36 | unsigned char pkt_cnt, pkt_err; |
diff --git a/include/net/if_inet6.h b/include/net/if_inet6.h index 9650a3ffd2d2..b4956a5fcc3f 100644 --- a/include/net/if_inet6.h +++ b/include/net/if_inet6.h | |||
| @@ -31,8 +31,10 @@ | |||
| 31 | #define IF_PREFIX_AUTOCONF 0x02 | 31 | #define IF_PREFIX_AUTOCONF 0x02 |
| 32 | 32 | ||
| 33 | enum { | 33 | enum { |
| 34 | INET6_IFADDR_STATE_PREDAD, | ||
| 34 | INET6_IFADDR_STATE_DAD, | 35 | INET6_IFADDR_STATE_DAD, |
| 35 | INET6_IFADDR_STATE_POSTDAD, | 36 | INET6_IFADDR_STATE_POSTDAD, |
| 37 | INET6_IFADDR_STATE_ERRDAD, | ||
| 36 | INET6_IFADDR_STATE_UP, | 38 | INET6_IFADDR_STATE_UP, |
| 37 | INET6_IFADDR_STATE_DEAD, | 39 | INET6_IFADDR_STATE_DEAD, |
| 38 | }; | 40 | }; |
| @@ -58,7 +60,7 @@ struct inet6_ifaddr { | |||
| 58 | unsigned long cstamp; /* created timestamp */ | 60 | unsigned long cstamp; /* created timestamp */ |
| 59 | unsigned long tstamp; /* updated timestamp */ | 61 | unsigned long tstamp; /* updated timestamp */ |
| 60 | 62 | ||
| 61 | struct timer_list dad_timer; | 63 | struct delayed_work dad_work; |
| 62 | 64 | ||
| 63 | struct inet6_dev *idev; | 65 | struct inet6_dev *idev; |
| 64 | struct rt6_info *rt; | 66 | struct rt6_info *rt; |
