Changes to make vrouter code compile against linux kernel v4.15. Timer_list
structure has changed in 4.15 releases. Also some changes introduced to
vr_host_interface.c, removing NETIF_F_UFO reference for v4.15.
closes-bug: #1765229
Fix vrouter build for kernels from 4.11 to 4.13
- linux/vhost_dev.c:
Rename netdev destructor to priv_destructor due to API change.
New signature of rtnl_link_ops.validate due to API change.
- linux/vr_mem.c
Remove vma from mem_fault function since VMA pointer now accessable
via VMF structure.
Partial-Bug: #1633387
(cherry picked from commit 60c903128ddee5737e0fd8bb34fc6f03cc043426)
Modify generic netlink family registration for kernel 4.10 support
Closes-bug: #1696745
Fix netlink family registration for kernel 4.10
When we call genl_register_family with "ops" field provided,
we need to provide "n_ops" field as well.
Closes-bug: #1696745
Register information about multicast group
Pass to vrouter module information about multicast group. Withouth that
user space client (vif) was unable to join vrouter netlink broadcast group
when kernel 4.10 or higher was used.
Reviewed: https:/ /review. opencontrail. org/48847 github. com/Juniper/ contrail- vrouter/ commit/ 436c78db6872aa9 c4d682004ef445f 73cbd15129
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: R3.1
commit 436c78db6872aa9 c4d682004ef445f 73cbd15129
Author: Kiran KN <email address hidden>
Date: Wed Nov 9 11:38:22 2016 -0800
Changes to support Ubuntu 16.04 v4.15 kernel.
DPDK: Ubuntu 16.04 compilation fix
Partial-Bug: 1638643
Changes to make vrouter code compile against linux kernel v4.15. Timer_list interface. c, removing NETIF_F_UFO reference for v4.15.
structure has changed in 4.15 releases. Also some changes introduced to
vr_host_
closes-bug: #1765229
Fix vrouter build for kernels from 4.11 to 4.13
- linux/vhost_dev.c: ops.validate due to API change.
Rename netdev destructor to priv_destructor due to API change.
New signature of rtnl_link_
- linux/vr_mem.c
Remove vma from mem_fault function since VMA pointer now accessable
via VMF structure.
Partial-Bug: #1633387 37e0fd8bb34fc6f 03cc043426)
(cherry picked from commit 60c903128ddee57
Modify generic netlink family registration for kernel 4.10 support
Closes-bug: #1696745
Fix netlink family registration for kernel 4.10
When we call genl_register_ family with "ops" field provided,
we need to provide "n_ops" field as well.
Closes-bug: #1696745
Register information about multicast group
Pass to vrouter module information about multicast group. Withouth that
user space client (vif) was unable to join vrouter netlink broadcast group
when kernel 4.10 or higher was used.
Closes-Bug: #1771999
Change-Id: I7d01633fca50a3 c76ce1ea9d92336 23e4a2abd45
Closes Jira Bug:JCB-218796