summaryrefslogtreecommitdiff
path: root/backport/backport-include/linux/netdevice.h
AgeCommit message (Collapse)Author
2019-02-22backports: support 3.1 and 3.10 tegra kernelsDominik Sliwa
Changes specific to vendor kernels Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com>
2019-01-26backports: Add extra parameter to dev_open()Hauke Mehrtens
dev_open() got the extra parameter extack in Linux commit 00f54e68924e ("net: core: dev: Add extack argument to dev_open()"), just ignore it on older kernel versions. This is used by the hostap driver. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2018-09-24backport: update u64_stats_init() to a new version in kernels < 4.2Luca Coelho
The u64_stats_init() macro was turned into a static inline function in v4.2 to prevent warnings that happen when its argument is not used elsewhere. Since we started hitting these warnings, undefine the macro and define the static inline to prevent them. Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2018-03-21header: netdevice.h: Fix netdev_upper_dev_link on 4.14Hauke Mehrtens
Commit 42ab19ee90292 ("net: Add extack to upper device linking") which added an extra parameter to netdev_upper_dev_link() was added with kernel 4.15 and was not backported to kernel 4.14, activate this backport already for kernel 4.14. Fixes: 8cdd85766293 ("backports: add netdev_upper_dev_link() extack argument") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2017-10-13backports: add netdev_upper_dev_link() extack argumentJohannes Berg
But make it optional (using magic.h) to let this still work on kernels that didn't change the argument. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2017-09-11patches: brcmfmac: Fix netdev_set_priv_destructorHauke Mehrtens
On kernel > 4.11.9 the new member priv_destructor should be set in netdev_set_priv_destructor() and not the old destructor member any more, it was removed. This fixes the build on >= 4.11.9. Fixes: 7c827d5ac9c1 ("patches: brcmfmac: fix netdev destructor") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2017-09-06backport: fix netdev destructor backport for v4.11.9Luca Coelho
The patch that changed the netdev destructor code was backported to v4.11.9, so handle that in the backport. Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2017-07-28backport: fix netdev destructor backportLuca Coelho
The commit that changed the netdev destructor was also applied in v4.12-rc6, so we need to update the backport. Another issue was that when the default free_netdev() destructor was supposed to be used, we would get compilation errors, such as this one in hwsim: In file included from ./include/net/dst.h:12:0, from /home/luca/iwlwifi/stack-dev/drivers/net/wireless/mac80211_hwsim.c:22: /home/luca/iwlwifi/stack-dev/drivers/net/wireless/mac80211_hwsim.c: In function hwsim_mon_setup': /home/luca/iwlwifi/stack-dev/backport-include/linux/netdevice.h:325:23: error: '__free_netdev' undeclared (first use in this function) (_dev)->destructor = __ ## _destructor ^ /home/luca/iwlwifi/stack-dev/drivers/net/wireless/mac80211_hwsim.c:2977:2: note: in expansion of macro 'netdev_set_priv_destructor' netdev_set_priv_destructor(dev, free_netdev); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/luca/iwlwifi/stack-dev/backport-include/linux/netdevice.h:325:23: note: each undeclared identifier is reported only once for each function it appears in (_dev)->destructor = __ ## _destructor ^ /home/luca/iwlwifi/stack-dev/drivers/net/wireless/mac80211_hwsim.c:2977:2: note: in expansion of macro 'netdev_set_priv_destructor' netdev_set_priv_destructor(dev, free_netdev); ^~~~~~~~~~~~~~~~~~~~~~~~~~ scripts/Makefile.build:300: recipe for target '/home/luca/iwlwifi/stack-dev/drivers/net/wireless/mac80211_hwsim.o' failed To fix this, add a new macro, netdev_set_def_destructor(), that handles this special case. Change-Id: Ifcf1f19690487aee67e776b5700ff496c779e86c Fixes: 721ae78f9355 ("backport: handle change in netdevice destructor usage") Reviewed-by: Arend van Spriel <arend.vanspriel@broadcom.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
2017-06-30backport: handle change in netdevice destructor usageArend Van Spriel
This patch deals with changes made in struct net_device by commit cf124db566e6 ("net: Fix inconsistent teardown and release of private netdev state."). Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2017-02-09backports: always use new version compare macrosJohannes Berg
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2017-02-07backports: always add netdev_rss_key_fill()Johannes Berg
In case we can't do the _once thing, just always get new randomness... it's likely going to happen anyway, and if it's not exposed to userspace we don't have much value in sharing it to start with. While at it, clean it up a bit. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2017-02-07backports: add netif_trans_update()Johannes Berg
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2016-02-15backports: add napi_alloc_frag()Felix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org> [add parameter to define] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2016-02-15backports: define NETIF_F_CSUM_MASKEmmanuel Grumbach
This backports: commit a188222b6ed29404ac2d4232d35d1fe0e77af370 Author: Tom Herbert <tom@herbertland.com> Date: Mon Dec 14 11:19:43 2015 -0800 net: Rename NETIF_F_ALL_CSUM to NETIF_F_CSUM_MASK Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> [use NETIF_F_ALL_CSUM instead of (NETIF_F_V4_CSUM | NETIF_F_V6_CSUM)] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-12-06header: fix netif_tx_napi_add() for 4.4Hauke Mehrtens
The netif_tx_napi_add() backport is also needed for kernel 4.4. This was missing in commit 50ad56a5154 "header: add netif_tx_napi_add()". Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-11-24header: add netif_tx_napi_add()Hauke Mehrtens
Older kernel versions do not support to only set NAPI for TX queues, so call the normal NAPI function and do it also for the used RX part. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-11-15haeder: add napi_complete_done()Hauke Mehrtens
Upstream commit 3b47d30396 "net: gro: add a per device gro flush timer" added napi_complete_done(). On older kernel versions we will just use the old napi_complete() function, this should work without any problems, we only do not get the new improvements which need a more recent net subsystem. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-05-25backport: allow compilation with Ubuntu's 3.13Emmanuel Grumbach
Canonical backported: Author: Or Gerlitz <ogerlitz@mellanox.com> Date: Mon Jan 20 13:59:19 2014 +0200 net: Add GRO support for UDP encapsulating protocols This is commit 2da204a8f67fbe25816cbce8cc8551f03d5b951a in their tree. Cope with that. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> [changed bool, it should be build when the kernel version is != 3.13.11] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-05-11backports: handle netdev->tstatsJohannes Berg
This adds the necessary backporting to handle netdev->tstats which was introduced in 3.14 (and some helper macros in 3.15). For some reason my spatch isn't reliably patching the occurrence in net/mac80211/tx.c, so for now I'm including a manual patch. Change-Id: Ib22e307a9bd31f6c31372ef8cc2828ca6e14fce4 Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-04-25backports: add passthru_features_check()Stefan Assmann
This is required by igb and possibly other network drivers. Signed-off-by: Stefan Assmann <sassmann@kpanic.de> [change to EXPORT_SYMBOL_GPL] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-04-03backports: backport NET_NAME_* definitionsJohannes Berg
These were added upstream a long time ago in commit 685343fc3ba61, but not needed until implemented in the wireless stack recently. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-02-22backports: add IFF_TX_SKB_SHARINGJohannes Berg
This was introduced on kernel version 3.1, so a kernel (3.0) without it is still just within the support window. Define this constant if it isn't defined. Signed-off-by: Johannes Berg <johannes.berg@intel.com> [Move the code to backport/backport-include/linux/netdevice.h, it is placed there in recent kernel version] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-12-21header: add napi_alloc_skb()Hauke Mehrtens
napi_alloc_skb() is now used by some Ethernet drivers instead of netdev_alloc_skb_ip_align(). It can not be placed into backport- include/linux/skbuff.h because it accesses a member of struct napi_struct which is not possible in skbuff.h, placing it into netdevice.h worked in my tests. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-11-20backports: backport netdev_rss_key_fill()Luis R. Rodriguez
netdev_rss_key_fill() uses net_get_random_once() and since this depends on static keys and we've decided to only backport that only down to 3.5 as that is when static key stuff settled we only backport netdev_rss_key_fill() down to 3.5 as well. For details on the net_get_random_once() / static key stuff refer to backports commit 8cb8816d. Backporting netdev_rss_key_fill requires us to throw in the netdev_rss_key within our own backports module. We don't backport the ability to query this *yet though*, but if we really wanted to we can provide an interface for that: For *packaging* [0] we have no other option but to currently provide our own querying interface, that's silly though, in the future if we extend sysctl interfaces to allow dynamic extensions we could just peg what we need also within the backports module to allow seemless integration. With shiny new *kernel integration* support [1] though we can enable cherry picking the sysctl components, and apply it to the older kernel -- however this would pose a change in compartamentalized backporting strategy as currently used. It would seem a allowing dynamic extensions to an existing sysctl interface would be more efficient and would allow packaging to also take advantage of this effort. [0] https://backports.wiki.kernel.org/index.php/Documentation/packaging [1] https://backports.wiki.kernel.org/index.php/Documentation/integration commit 960fb622f85180f36d3aff82af53e2be3db2f888 Author: Eric Dumazet <edumazet@google.com> Date: Sun Nov 16 06:23:05 2014 -0800 net: provide a per host RSS key generic infrastructure RSS (Receive Side Scaling) typically uses Toeplitz hash and a 40 or 52 bytes RSS key. Some drivers use a constant (and well known key), some drivers use a random key per port, making bonding setups hard to tune. Well known keys increase attack surface, considering that number of queues is usually a power of two. This patch provides infrastructure to help drivers doing the right thing. netdev_rss_key_fill() should be used by drivers to initialize their RSS key, even if they provide ethtool -X support to let user redefine the key later. A new /proc/sys/net/core/netdev_rss_key file can be used to get the host RSS key even for drivers not providing ethtool -x support, in case some applications want to precisely setup flows to match some RX queues. Tested: myhost:~# cat /proc/sys/net/core/netdev_rss_key 11:63:99:bb:79:fb:a5:a7:07:45:b2:20:bf:02:42:2d:08:1a:dd:19:2b:6b:23:ac:56:28:9d:70:c3:ac:e8:16:4b:b7:c1:10:53:a4:78:41:36:40:74:b6:15:ca:27:44:aa:b3:4d:72 myhost:~# ethtool -x eth0 RX flow hash indirection table for eth0 with 8 RX ring(s): 0: 0 1 2 3 4 5 6 7 RSS hash key: 11:63:99:bb:79:fb:a5:a7:07:45:b2:20:bf:02:42:2d:08:1a:dd:19:2b:6b:23:ac:56:28:9d:70:c3:ac:e8:16:4b:b7:c1:10:53:a4:78:41 Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net> mcgrof@drvbp1 ~/backports (git::master)$ time ./gentree.py \ /home/mcgrof/linux-next /home/mcgrof/build/backports-20141117 Copy original source files ... Applying patches from patches to /home/mcgrof/build/backports-20141117 ... Modify Kconfig tree ... Rewrite Makefiles and Kconfig files ... Done! real 1m28.499s user 13m25.112s sys 0m47.804s mcgrof@drvbp1 ~/build/backports-20141117 $ time \ /home/mcgrof/backports/devel/ckmake --allyesconfig 1 3.0.101 [ OK ] 2 3.1.10 [ OK ] 3 3.2.62 [ OK ] 4 3.3.8 [ OK ] 5 3.4.104 [ OK ] 6 3.5.7 [ OK ] 7 3.6.11 [ OK ] 8 3.7.10 [ OK ] 9 3.8.13 [ OK ] 10 3.9.11 [ OK ] 11 3.10.58 [ OK ] 12 3.11.10 [ OK ] 13 3.12.31 [ OK ] 14 3.13.11 [ OK ] 15 3.14.22 [ OK ] 16 3.15.10 [ OK ] 17 3.16.6 [ OK ] 18 3.17.1 [ OK ] 19 3.18-rc1 [ OK ] real 42m18.874s user 1179m40.500s sys 138m54.452s Cc: Eric Dumazet <edumazet@google.com> Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>
2014-11-16headers: fix problem when unloading mac80211 on Ubuntu 14.04Hauke Mehrtens
When unloading mac80211 on the default kernel which is currently shipped in Ubuntu 14.04 this commit causes a kernel error message. Now we check if the list was deleted before and only do so if it was not done before. Ubuntu probably backported this patch in their kernel. commit 97666f936e0656a1b28c40cc33981a8db65e1a11 Author: Hauke Mehrtens <hauke@hauke-m.de> Date: Sun Nov 16 14:23:24 2014 +0100 headers: delete the list in unregister_netdevice_many() Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-11-16headers: delete the list in unregister_netdevice_many()Hauke Mehrtens
unregister_netdevice_many() now deletes the list after running, in the earlier days mac80211 and so on, did this on their own. We extended the old unregister_netdevice_many() function for all kernel versions that do not have a fixed unregister_netdevice_many(). Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-07-27backports: backport argument change in alloc_netdev_mqs()Hauke Mehrtens
alloc_netdev_mqs() got a new parameter in kernel 3.17, this patch removed it from the calls if an older kernel is used. This is safe, because older kernel versions do not need it. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-07-23backports: backport __QUEUE_STATE_{DRV,STACK}_XOFFHauke Mehrtens
The old __QUEUE_STATE_XOFF was divided into __QUEUE_STATE_DRV_XOFF and __QUEUE_STATE_STACK_XOFF, in this patch we map both to the old version on old kernel vesions. This backports this upstream commit: commit 7346649826382b769cfadf4a2fe8a84d060c55e9 Author: Tom Herbert <therbert@google.com> Date: Mon Nov 28 16:32:44 2011 +0000 net: Add queue state xoff flag for stack Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-06-02backports: move net_device_priv_flagsHauke Mehrtens
These flags are now defined in linux/netdevice.h and not in linux/if.h any more. This patch also removed some defined in all kernel versions since 3.0. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2014-05-01backports: remove more old ifdef/compat codeJohannes Berg
Since support for kernels < 3.0 was removed, there's now a bunch of dead code that can be removed - do it. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2014-04-17backports: nuke support for kernels < 3.0Luis R. Rodriguez
mcgrof@drvbp1 ~/backports (git::master)$ time ./gentree.py --clean /home/mcgrof/linux-next /home/mcgrof/build/next-20140409 Copy original source files ... Apply patches ... Modify Kconfig tree ... Rewrite Makefiles and Kconfig files ... Done! real 1m30.186s user 9m25.180s sys 0m24.428s mcgrof@drvbp1 ~/build/next-20140409 $ time ckmake --allyesconfig 1 3.0.101 [ OK ] 2 3.1.10 [ OK ] 3 3.2.54 [ OK ] 4 3.3.8 [ OK ] 5 3.4.79 [ OK ] 6 3.5.7 [ OK ] 7 3.6.11 [ OK ] 8 3.7.10 [ OK ] 9 3.8.13 [ OK ] 10 3.9.11 [ OK ] 11 3.10.29 [ OK ] 12 3.11.10 [ OK ] 13 3.12.10 [ OK ] 14 3.13.2 [ OK ] 15 3.14-rc1 [ OK ] real 26m54.859s user 744m15.764s sys 83m47.440s Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2014-04-17backports: backport dev_consume_skb_any()Luis R. Rodriguez
dev_consume_skb_any() was added by Eric via commit e6247027e added as of v3.14 to help do analysis on the different reasons why an skbs are free'd in particular to let us know how many get dropped or consumed. The new dev_consume_skb_any() spawned the inception of an optimization for dev_kfree_skb_irq() which was implemented through __dev_kfree_skb_irq() which dev_kfree_skb_irq() now uses. We could have taken advantage of both if kernels had exported raise_softirq_irqoff() but they don't and as such we can't reimplement that on backports as it stands right now. If we'd be building backports in-kernel we could just take the new implementation of __dev_kfree_skb_irq() as raise_softirq_irqoff() would be available and we could reap the benefits of the change. That implemention can be seen as a reference - for now - here: http://drvbp1.linux-foundation.org/~mcgrof/patches/2014/04/11/pend-2014-04-07.patch For older kernels for now we just use the singular old version of dev_kfree_skb_irq() and dev_kfree_skb_any(). mcgrof@ergon ~/linux (git::master)$ git describe --contains e6247027e v3.14-rc1~94^2~585 commit e6247027e5173c00efb2084d688d06ff835bc3b0 Author: Eric Dumazet <edumazet@google.com> Date: Thu Dec 5 04:45:08 2013 -0800 net: introduce dev_consume_skb_any() Some network drivers use dev_kfree_skb_any() and dev_kfree_skb_irq() helpers to free skbs, both for dropped packets and TX completed ones. We need to separate the two causes to get better diagnostics given by dropwatch or "perf record -e skb:kfree_skb" This patch provides two new helpers, dev_consume_skb_any() and dev_consume_skb_irq() to be used for consumed skbs. __dev_kfree_skb_irq() is slightly optimized to remove one atomic_dec_and_test() in fast path, and use this_cpu_{r|w} accessors. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net> Cc: Eric Dumazet <edumazet@google.com> Cc: Felix Fietkau <nbd@openwrt.org> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2014-04-17backports: add napi_gro_flush()Johannes Berg
napi_gro_flush() got a second argument in kernel 3.7, but it can be ignored for prior kernel versions. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2014-04-08backports: add GRO_* enums, and its new gro_result_t typedefLuis R. Rodriguez
This backports commit d1c76af9e added by Herbert which added the first enums and then commit 5b252f0c2 added by Ben which gave the enums a label and then pegged a typedef onto these. This backports these commits in a forward compatible way upkeeping the introduction and then the typedef. In order to make this work we use make backported code use enums with the BACKPORT_prefix but upkeep the same values, this lets us declare the typedef and peg it to a similar set. Cc: Herbert Xu <herbert@gondor.apana.org.au> Cc: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2014-01-18backports: add netdev_notify_peers()Hauke Mehrtens
netif_notify_peers() was renamed to netdev_notify_peers() in kernel 3.7. Replace the calls to netdev_notify_peers() with netif_notify_peers(). Some older kernel versions do not even have netif_notify_peers(), there we just remove the call, currently it is only used in the 6lowpan code and I assume it will still work, but not so good. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-12-02backports: add backport_ prefix in front of BQL functionsHauke Mehrtens
Sometimes these functions are backported in the kernel, add the backports_ prefix to prevent the names from colliding. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-11-21backports: move part of multicast handling into an spatchJohannes Berg
The netdev_for_each_mc_addr() handling can be done with a semantic patch and a simple macro encapsulating the addr dereferencing for the two cases. In fact, this already fixed a bug in dvb_net.c, although I think that depends on a newer kernel anyway. Thanks Julia for the help with iterator name! Signed-off-by: Johannes Berg <johannes.berg@intel.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2013-08-27remove support for kernel 2.6.24Johannes Berg
By requiring 2.6.25 we can get rid of quite a lot of backport work. 2.6.25 was released more than five years ago (April 2011) and wasn't a long-term kernel either, so there's little point in supporting it now. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-06-05backports: do not backport netif_set_real_num_rx_queues() on RHEL 6.4Hauke Mehrtens
The in kernel version of netif_set_real_num_rx_queues() on RHEL 6.4 accesses some other struct members than our backported version. We should use that version instead. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-06-05backports: add backport for netdev_notifier_info_to_dev()Hauke Mehrtens
This adds a backport for the following commit in mainline: commit 351638e7deeed2ec8ce451b53d33921b3da68f83 Author: Jiri Pirko <jiri@resnulli.us> Date: Tue May 28 01:30:21 2013 +0000 net: pass info struct via netdevice notifier Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-04-15backports: declare struct inet6_dev in netdevice.hJohannes Berg
This allows us to get rid of the mac80211.h patch to include net/if_inet6.h to get that declaration. Newer kernels implicitly declare the struct by using it for a pointer in struct net_device. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-04-15backports: remove SET_NETDEV_DEVTYPE patchesJohannes Berg
There's no need to have those patches as struct device_type, with its name field, has been available since kernel 2.6.22. We can thus make the macro SET_NETDEV_DEVTYPE() an inline instead (to avoid "unused variable" warnings) and thus get rid of the patches for it. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-04-15Revert "backports: fix netdev_set_default_ethtool_ops code"Johannes Berg
This reverts commit 91bf647c3a157688ce8e94c0df512cde1b3f5a87. Also fix the #ifdef for netdev_set_default_ethtool_ops() as it was backported into kernel 3.7.8. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-04-15backports: include hardirq into netdevice.hJohannes Berg
On newer kernels this is included (indirectly) and unfortunately some drivers rely on it. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-04-15backports: dissolve compat-2.6.26.hJohannes Berg
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-04-15backports: dissolve compat-2.6.27.hJohannes Berg
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-04-15backports: dissolve compat-2.6.29.hJohannes Berg
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-04-15backports: dissolve compat-2.6.31.hJohannes Berg
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-04-15backports: dissolve compat-2.6.32.hJohannes Berg
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-04-15backports: dissolve compat-2.6.33.hJohannes Berg
Signed-off-by: Johannes Berg <johannes.berg@intel.com>