aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hv
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-06-12 17:27:40 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-12 17:27:40 -0400
commitf9da455b93f6ba076935b4ef4589f61e529ae046 (patch)
tree3c4e69ce1ba1d6bf65915b97a76ca2172105b278 /drivers/hv
parent0e04c641b199435f3779454055f6a7de258ecdfc (diff)
parente5eca6d41f53db48edd8cf88a3f59d2c30227f8e (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
Pull networking updates from David Miller: 1) Seccomp BPF filters can now be JIT'd, from Alexei Starovoitov. 2) Multiqueue support in xen-netback and xen-netfront, from Andrew J Benniston. 3) Allow tweaking of aggregation settings in cdc_ncm driver, from Bjørn Mork. 4) BPF now has a "random" opcode, from Chema Gonzalez. 5) Add more BPF documentation and improve test framework, from Daniel Borkmann. 6) Support TCP fastopen over ipv6, from Daniel Lee. 7) Add software TSO helper functions and use them to support software TSO in mvneta and mv643xx_eth drivers. From Ezequiel Garcia. 8) Support software TSO in fec driver too, from Nimrod Andy. 9) Add Broadcom SYSTEMPORT driver, from Florian Fainelli. 10) Handle broadcasts more gracefully over macvlan when there are large numbers of interfaces configured, from Herbert Xu. 11) Allow more control over fwmark used for non-socket based responses, from Lorenzo Colitti. 12) Do TCP congestion window limiting based upon measurements, from Neal Cardwell. 13) Support busy polling in SCTP, from Neal Horman. 14) Allow RSS key to be configured via ethtool, from Venkata Duvvuru. 15) Bridge promisc mode handling improvements from Vlad Yasevich. 16) Don't use inetpeer entries to implement ID generation any more, it performs poorly, from Eric Dumazet. * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (1522 commits) rtnetlink: fix userspace API breakage for iproute2 < v3.9.0 tcp: fixing TLP's FIN recovery net: fec: Add software TSO support net: fec: Add Scatter/gather support net: fec: Increase buffer descriptor entry number net: fec: Factorize feature setting net: fec: Enable IP header hardware checksum net: fec: Factorize the .xmit transmit function bridge: fix compile error when compiling without IPv6 support bridge: fix smatch warning / potential null pointer dereference via-rhine: fix full-duplex with autoneg disable bnx2x: Enlarge the dorq threshold for VFs bnx2x: Check for UNDI in uncommon branch bnx2x: Fix 1G-baseT link bnx2x: Fix link for KR with swapped polarity lane sctp: Fix sk_ack_backlog wrap-around problem net/core: Add VF link state control policy net/fsl: xgmac_mdio is dependent on OF_MDIO net/fsl: Make xgmac_mdio read error message useful net_sched: drr: warn when qdisc is not work conserving ...
Diffstat (limited to 'drivers/hv')
-rw-r--r--drivers/hv/channel_mgmt.c2
-rw-r--r--drivers/hv/hyperv_vmbus.h6
-rw-r--r--drivers/hv/vmbus_drv.c10
3 files changed, 9 insertions, 9 deletions
diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c
index 6c8b032cacba..ed9350d42764 100644
--- a/drivers/hv/channel_mgmt.c
+++ b/drivers/hv/channel_mgmt.c
@@ -404,7 +404,7 @@ static u32 next_vp;
404 * performance critical channels (IDE, SCSI and Network) will be uniformly 404 * performance critical channels (IDE, SCSI and Network) will be uniformly
405 * distributed across all available CPUs. 405 * distributed across all available CPUs.
406 */ 406 */
407static void init_vp_index(struct vmbus_channel *channel, uuid_le *type_guid) 407static void init_vp_index(struct vmbus_channel *channel, const uuid_le *type_guid)
408{ 408{
409 u32 cur_cpu; 409 u32 cur_cpu;
410 int i; 410 int i;
diff --git a/drivers/hv/hyperv_vmbus.h b/drivers/hv/hyperv_vmbus.h
index 18d1a8404cbc..22b750749a39 100644
--- a/drivers/hv/hyperv_vmbus.h
+++ b/drivers/hv/hyperv_vmbus.h
@@ -649,9 +649,9 @@ extern struct vmbus_connection vmbus_connection;
649 649
650/* General vmbus interface */ 650/* General vmbus interface */
651 651
652struct hv_device *vmbus_device_create(uuid_le *type, 652struct hv_device *vmbus_device_create(const uuid_le *type,
653 uuid_le *instance, 653 const uuid_le *instance,
654 struct vmbus_channel *channel); 654 struct vmbus_channel *channel);
655 655
656int vmbus_device_register(struct hv_device *child_device_obj); 656int vmbus_device_register(struct hv_device *child_device_obj);
657void vmbus_device_unregister(struct hv_device *device_obj); 657void vmbus_device_unregister(struct hv_device *device_obj);
diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c
index 8e53a3c2607e..4d6b26979fbd 100644
--- a/drivers/hv/vmbus_drv.c
+++ b/drivers/hv/vmbus_drv.c
@@ -435,7 +435,7 @@ static int vmbus_uevent(struct device *device, struct kobj_uevent_env *env)
435 return ret; 435 return ret;
436} 436}
437 437
438static uuid_le null_guid; 438static const uuid_le null_guid;
439 439
440static inline bool is_null_guid(const __u8 *guid) 440static inline bool is_null_guid(const __u8 *guid)
441{ 441{
@@ -450,7 +450,7 @@ static inline bool is_null_guid(const __u8 *guid)
450 */ 450 */
451static const struct hv_vmbus_device_id *hv_vmbus_get_id( 451static const struct hv_vmbus_device_id *hv_vmbus_get_id(
452 const struct hv_vmbus_device_id *id, 452 const struct hv_vmbus_device_id *id,
453 __u8 *guid) 453 const __u8 *guid)
454{ 454{
455 for (; !is_null_guid(id->guid); id++) 455 for (; !is_null_guid(id->guid); id++)
456 if (!memcmp(&id->guid, guid, sizeof(uuid_le))) 456 if (!memcmp(&id->guid, guid, sizeof(uuid_le)))
@@ -779,9 +779,9 @@ EXPORT_SYMBOL_GPL(vmbus_driver_unregister);
779 * vmbus_device_create - Creates and registers a new child device 779 * vmbus_device_create - Creates and registers a new child device
780 * on the vmbus. 780 * on the vmbus.
781 */ 781 */
782struct hv_device *vmbus_device_create(uuid_le *type, 782struct hv_device *vmbus_device_create(const uuid_le *type,
783 uuid_le *instance, 783 const uuid_le *instance,
784 struct vmbus_channel *channel) 784 struct vmbus_channel *channel)
785{ 785{
786 struct hv_device *child_device_obj; 786 struct hv_device *child_device_obj;
787 787