diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-15 12:00:47 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-15 12:00:47 -0400 |
| commit | 6c373ca89399c5a3f7ef210ad8f63dc3437da345 (patch) | |
| tree | 74d1ec65087df1da1021b43ac51acc1ee8601809 /include/linux | |
| parent | bb0fd7ab0986105765d11baa82e619c618a235aa (diff) | |
| parent | 9f9151412dd7aae0e3f51a89ae4a1f8755fdb4d0 (diff) | |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
Pull networking updates from David Miller:
1) Add BQL support to via-rhine, from Tino Reichardt.
2) Integrate SWITCHDEV layer support into the DSA layer, so DSA drivers
can support hw switch offloading. From Floria Fainelli.
3) Allow 'ip address' commands to initiate multicast group join/leave,
from Madhu Challa.
4) Many ipv4 FIB lookup optimizations from Alexander Duyck.
5) Support EBPF in cls_bpf classifier and act_bpf action, from Daniel
Borkmann.
6) Remove the ugly compat support in ARP for ugly layers like ax25,
rose, etc. And use this to clean up the neigh layer, then use it to
implement MPLS support. All from Eric Biederman.
7) Support L3 forwarding offloading in switches, from Scott Feldman.
8) Collapse the LOCAL and MAIN ipv4 FIB tables when possible, to speed
up route lookups even further. From Alexander Duyck.
9) Many improvements and bug fixes to the rhashtable implementation,
from Herbert Xu and Thomas Graf. In particular, in the case where
an rhashtable user bulk adds a large number of items into an empty
table, we expand the table much more sanely.
10) Don't make the tcp_metrics hash table per-namespace, from Eric
Biederman.
11) Extend EBPF to access SKB fields, from Alexei Starovoitov.
12) Split out new connection request sockets so that they can be
established in the main hash table. Much less false sharing since
hash lookups go direct to the request sockets instead of having to
go first to the listener then to the request socks hashed
underneath. From Eric Dumazet.
13) Add async I/O support for crytpo AF_ALG sockets, from Tadeusz Struk.
14) Support stable privacy address generation for RFC7217 in IPV6. From
Hannes Frederic Sowa.
15) Hash network namespace into IP frag IDs, also from Hannes Frederic
Sowa.
16) Convert PTP get/set methods to use 64-bit time, from Richard
Cochran.
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (1816 commits)
fm10k: Bump driver version to 0.15.2
fm10k: corrected VF multicast update
fm10k: mbx_update_max_size does not drop all oversized messages
fm10k: reset head instead of calling update_max_size
fm10k: renamed mbx_tx_dropped to mbx_tx_oversized
fm10k: update xcast mode before synchronizing multicast addresses
fm10k: start service timer on probe
fm10k: fix function header comment
fm10k: comment next_vf_mbx flow
fm10k: don't handle mailbox events in iov_event path and always process mailbox
fm10k: use separate workqueue for fm10k driver
fm10k: Set PF queues to unlimited bandwidth during virtualization
fm10k: expose tx_timeout_count as an ethtool stat
fm10k: only increment tx_timeout_count in Tx hang path
fm10k: remove extraneous "Reset interface" message
fm10k: separate PF only stats so that VF does not display them
fm10k: use hw->mac.max_queues for stats
fm10k: only show actual queues, not the maximum in hardware
fm10k: allow creation of VLAN on default vid
fm10k: fix unused warnings
...
Diffstat (limited to 'include/linux')
59 files changed, 1046 insertions, 390 deletions
diff --git a/include/linux/bcma/bcma.h b/include/linux/bcma/bcma.h index 994739da827f..e34f906647d3 100644 --- a/include/linux/bcma/bcma.h +++ b/include/linux/bcma/bcma.h | |||
| @@ -434,6 +434,27 @@ static inline struct bcma_device *bcma_find_core(struct bcma_bus *bus, | |||
| 434 | return bcma_find_core_unit(bus, coreid, 0); | 434 | return bcma_find_core_unit(bus, coreid, 0); |
| 435 | } | 435 | } |
| 436 | 436 | ||
| 437 | #ifdef CONFIG_BCMA_HOST_PCI | ||
| 438 | extern void bcma_host_pci_up(struct bcma_bus *bus); | ||
| 439 | extern void bcma_host_pci_down(struct bcma_bus *bus); | ||
| 440 | extern int bcma_host_pci_irq_ctl(struct bcma_bus *bus, | ||
| 441 | struct bcma_device *core, bool enable); | ||
| 442 | #else | ||
| 443 | static inline void bcma_host_pci_up(struct bcma_bus *bus) | ||
| 444 | { | ||
| 445 | } | ||
| 446 | static inline void bcma_host_pci_down(struct bcma_bus *bus) | ||
| 447 | { | ||
| 448 | } | ||
| 449 | static inline int bcma_host_pci_irq_ctl(struct bcma_bus *bus, | ||
| 450 | struct bcma_device *core, bool enable) | ||
| 451 | { | ||
| 452 | if (bus->hosttype == BCMA_HOSTTYPE_PCI) | ||
| 453 | return -ENOTSUPP; | ||
| 454 | return 0; | ||
| 455 | } | ||
| 456 | #endif | ||
| 457 | |||
| 437 | extern bool bcma_core_is_enabled(struct bcma_device *core); | 458 | extern bool bcma_core_is_enabled(struct bcma_device *core); |
| 438 | extern void bcma_core_disable(struct bcma_device *core, u32 flags); | 459 | extern void bcma_core_disable(struct bcma_device *core, u32 flags); |
| 439 | extern int bcma_core_enable(struct bcma_device *core, u32 flags); | 460 | extern int bcma_core_enable(struct bcma_device *core, u32 flags); |
diff --git a/include/linux/bcma/bcma_driver_chipcommon.h b/include/linux/bcma/bcma_driver_chipcommon.h index db6fa217f98b..6cceedf65ca2 100644 --- a/include/linux/bcma/bcma_driver_chipcommon.h +++ b/include/linux/bcma/bcma_driver_chipcommon.h | |||
| @@ -663,14 +663,6 @@ struct bcma_drv_cc_b { | |||
| 663 | #define bcma_cc_maskset32(cc, offset, mask, set) \ | 663 | #define bcma_cc_maskset32(cc, offset, mask, set) \ |
| 664 | bcma_cc_write32(cc, offset, (bcma_cc_read32(cc, offset) & (mask)) | (set)) | 664 | bcma_cc_write32(cc, offset, (bcma_cc_read32(cc, offset) & (mask)) | (set)) |
| 665 | 665 | ||
| 666 | extern void bcma_core_chipcommon_init(struct bcma_drv_cc *cc); | ||
| 667 | extern void bcma_core_chipcommon_early_init(struct bcma_drv_cc *cc); | ||
| 668 | |||
| 669 | extern void bcma_chipco_suspend(struct bcma_drv_cc *cc); | ||
| 670 | extern void bcma_chipco_resume(struct bcma_drv_cc *cc); | ||
| 671 | |||
| 672 | void bcma_chipco_bcm4331_ext_pa_lines_ctl(struct bcma_drv_cc *cc, bool enable); | ||
| 673 | |||
| 674 | extern u32 bcma_chipco_watchdog_timer_set(struct bcma_drv_cc *cc, u32 ticks); | 666 | extern u32 bcma_chipco_watchdog_timer_set(struct bcma_drv_cc *cc, u32 ticks); |
| 675 | 667 | ||
| 676 | extern u32 bcma_chipco_get_alp_clock(struct bcma_drv_cc *cc); | 668 | extern u32 bcma_chipco_get_alp_clock(struct bcma_drv_cc *cc); |
| @@ -690,9 +682,6 @@ u32 bcma_chipco_gpio_pullup(struct bcma_drv_cc *cc, u32 mask, u32 value); | |||
| 690 | u32 bcma_chipco_gpio_pulldown(struct bcma_drv_cc *cc, u32 mask, u32 value); | 682 | u32 bcma_chipco_gpio_pulldown(struct bcma_drv_cc *cc, u32 mask, u32 value); |
| 691 | 683 | ||
| 692 | /* PMU support */ | 684 | /* PMU support */ |
| 693 | extern void bcma_pmu_init(struct bcma_drv_cc *cc); | ||
| 694 | extern void bcma_pmu_early_init(struct bcma_drv_cc *cc); | ||
| 695 | |||
| 696 | extern void bcma_chipco_pll_write(struct bcma_drv_cc *cc, u32 offset, | 685 | extern void bcma_chipco_pll_write(struct bcma_drv_cc *cc, u32 offset, |
| 697 | u32 value); | 686 | u32 value); |
| 698 | extern void bcma_chipco_pll_maskset(struct bcma_drv_cc *cc, u32 offset, | 687 | extern void bcma_chipco_pll_maskset(struct bcma_drv_cc *cc, u32 offset, |
diff --git a/include/linux/bcma/bcma_driver_gmac_cmn.h b/include/linux/bcma/bcma_driver_gmac_cmn.h index 4dd1f33e36a2..4354d4ea6713 100644 --- a/include/linux/bcma/bcma_driver_gmac_cmn.h +++ b/include/linux/bcma/bcma_driver_gmac_cmn.h | |||
| @@ -91,10 +91,4 @@ struct bcma_drv_gmac_cmn { | |||
| 91 | #define gmac_cmn_write16(gc, offset, val) bcma_write16((gc)->core, offset, val) | 91 | #define gmac_cmn_write16(gc, offset, val) bcma_write16((gc)->core, offset, val) |
| 92 | #define gmac_cmn_write32(gc, offset, val) bcma_write32((gc)->core, offset, val) | 92 | #define gmac_cmn_write32(gc, offset, val) bcma_write32((gc)->core, offset, val) |
| 93 | 93 | ||
| 94 | #ifdef CONFIG_BCMA_DRIVER_GMAC_CMN | ||
| 95 | extern void bcma_core_gmac_cmn_init(struct bcma_drv_gmac_cmn *gc); | ||
| 96 | #else | ||
| 97 | static inline void bcma_core_gmac_cmn_init(struct bcma_drv_gmac_cmn *gc) { } | ||
| 98 | #endif | ||
| 99 | |||
| 100 | #endif /* LINUX_BCMA_DRIVER_GMAC_CMN_H_ */ | 94 | #endif /* LINUX_BCMA_DRIVER_GMAC_CMN_H_ */ |
diff --git a/include/linux/bcma/bcma_driver_mips.h b/include/linux/bcma/bcma_driver_mips.h index 0b3b32aeeb8a..8eea7f9e33b4 100644 --- a/include/linux/bcma/bcma_driver_mips.h +++ b/include/linux/bcma/bcma_driver_mips.h | |||
| @@ -39,21 +39,6 @@ struct bcma_drv_mips { | |||
| 39 | u8 early_setup_done:1; | 39 | u8 early_setup_done:1; |
| 40 | }; | 40 | }; |
| 41 | 41 | ||
| 42 | #ifdef CONFIG_BCMA_DRIVER_MIPS | ||
| 43 | extern void bcma_core_mips_init(struct bcma_drv_mips *mcore); | ||
| 44 | extern void bcma_core_mips_early_init(struct bcma_drv_mips *mcore); | ||
| 45 | |||
| 46 | extern unsigned int bcma_core_mips_irq(struct bcma_device *dev); | ||
| 47 | #else | ||
| 48 | static inline void bcma_core_mips_init(struct bcma_drv_mips *mcore) { } | ||
| 49 | static inline void bcma_core_mips_early_init(struct bcma_drv_mips *mcore) { } | ||
| 50 | |||
| 51 | static inline unsigned int bcma_core_mips_irq(struct bcma_device *dev) | ||
| 52 | { | ||
| 53 | return 0; | ||
| 54 | } | ||
