[Kernel-packages] [Bug 1452074] Re: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path
The patch requested in bug 1454892 has all the commits in this bug as pre-reqs. Is it okay to mark this bug as a duplicate of bug 1454892 so all these commits can be sent together as one SRU request? It looks like testing is good for both bugs in Vivid. I'll work on building test kernels for Utopic, Trusty and Precise. Thanks in advance! -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1452074 Title: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path Status in linux package in Ubuntu: In Progress Status in linux source package in Trusty: In Progress Status in linux source package in Utopic: In Progress Status in linux source package in Vivid: In Progress Status in linux source package in Wily: In Progress Bug description: K. Y. Srinivasan (2): hyperv: Cleanup the test for freeing skb when we use sendbuf mechanism hyperv: Eliminate memory allocation in the packet send path drivers/net/hyperv/hyperv_net.h | 3 +- drivers/net/hyperv/netvsc.c | 9 - drivers/net/hyperv/netvsc_drv.c | 70 ++-- drivers/net/hyperv/rndis_filter.c | 2 + 4 files changed, 61 insertions(+), 23 deletions(-) These have landed in net-next by David Miller https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=3271e4f18d9a4ec9ac5568f9dac08f29c5a0 https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=b08cc79155fc26d0d112b1470d1ece5034651a4b https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=cbacec76bcd03ff21b37ac331e652b5a8f3ea644 Patch to a patch - Commit b08cc79155fc26d0d112b1470d1ece5034651a4b eliminated memory allocation in the packet send path: hv_netvsc: Eliminate memory allocation in the packet send path The network protocol used to communicate with the host is the remote ndis (rndis) protocol. We need to decorate each outgoing packet with a rndis header and additional rndis state (rndis per-packet state). To manage this state, we currently allocate memory in the transmit path. Eliminate this allocation by requesting additional head room in the skb. This commit introduced a bug since it did not account for the case if the skb was cloned. Fix this bug. https://git.kernel.org/cgit/linux/kernel/git/davem/net- next.git/commit/?id=b56fc3c536541c8081cd5f1f1d101a16c002a365 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1452074/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1452074] Re: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path
*** This bug is a duplicate of bug 1454892 *** https://bugs.launchpad.net/bugs/1454892 ** This bug has been marked a duplicate of bug 1454892 [Hyper-V] hv_netvsc: Use the xmit_more skb flag to optimize signaling the host -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1452074 Title: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path Status in linux package in Ubuntu: In Progress Status in linux source package in Trusty: In Progress Status in linux source package in Utopic: In Progress Status in linux source package in Vivid: In Progress Status in linux source package in Wily: In Progress Bug description: K. Y. Srinivasan (2): hyperv: Cleanup the test for freeing skb when we use sendbuf mechanism hyperv: Eliminate memory allocation in the packet send path drivers/net/hyperv/hyperv_net.h | 3 +- drivers/net/hyperv/netvsc.c | 9 - drivers/net/hyperv/netvsc_drv.c | 70 ++-- drivers/net/hyperv/rndis_filter.c | 2 + 4 files changed, 61 insertions(+), 23 deletions(-) These have landed in net-next by David Miller https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=3271e4f18d9a4ec9ac5568f9dac08f29c5a0 https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=b08cc79155fc26d0d112b1470d1ece5034651a4b https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=cbacec76bcd03ff21b37ac331e652b5a8f3ea644 Patch to a patch - Commit b08cc79155fc26d0d112b1470d1ece5034651a4b eliminated memory allocation in the packet send path: hv_netvsc: Eliminate memory allocation in the packet send path The network protocol used to communicate with the host is the remote ndis (rndis) protocol. We need to decorate each outgoing packet with a rndis header and additional rndis state (rndis per-packet state). To manage this state, we currently allocate memory in the transmit path. Eliminate this allocation by requesting additional head room in the skb. This commit introduced a bug since it did not account for the case if the skb was cloned. Fix this bug. https://git.kernel.org/cgit/linux/kernel/git/davem/net- next.git/commit/?id=b56fc3c536541c8081cd5f1f1d101a16c002a365 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1452074/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1452074] Re: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path
Yes, It is okay to mark this as a duplicate since the other request encapsulates these commits. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1452074 Title: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path Status in linux package in Ubuntu: In Progress Status in linux source package in Trusty: In Progress Status in linux source package in Utopic: In Progress Status in linux source package in Vivid: In Progress Status in linux source package in Wily: In Progress Bug description: K. Y. Srinivasan (2): hyperv: Cleanup the test for freeing skb when we use sendbuf mechanism hyperv: Eliminate memory allocation in the packet send path drivers/net/hyperv/hyperv_net.h | 3 +- drivers/net/hyperv/netvsc.c | 9 - drivers/net/hyperv/netvsc_drv.c | 70 ++-- drivers/net/hyperv/rndis_filter.c | 2 + 4 files changed, 61 insertions(+), 23 deletions(-) These have landed in net-next by David Miller https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=3271e4f18d9a4ec9ac5568f9dac08f29c5a0 https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=b08cc79155fc26d0d112b1470d1ece5034651a4b https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=cbacec76bcd03ff21b37ac331e652b5a8f3ea644 Patch to a patch - Commit b08cc79155fc26d0d112b1470d1ece5034651a4b eliminated memory allocation in the packet send path: hv_netvsc: Eliminate memory allocation in the packet send path The network protocol used to communicate with the host is the remote ndis (rndis) protocol. We need to decorate each outgoing packet with a rndis header and additional rndis state (rndis per-packet state). To manage this state, we currently allocate memory in the transmit path. Eliminate this allocation by requesting additional head room in the skb. This commit introduced a bug since it did not account for the case if the skb was cloned. Fix this bug. https://git.kernel.org/cgit/linux/kernel/git/davem/net- next.git/commit/?id=b56fc3c536541c8081cd5f1f1d101a16c002a365 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1452074/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1452074] Re: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path
Are the issues caused by this bug the same reliability issues we were talking about in bug 1445195 and bug 1454758 ? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1452074 Title: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path Status in linux package in Ubuntu: In Progress Status in linux source package in Trusty: In Progress Status in linux source package in Utopic: In Progress Status in linux source package in Vivid: In Progress Status in linux source package in Wily: In Progress Bug description: K. Y. Srinivasan (2): hyperv: Cleanup the test for freeing skb when we use sendbuf mechanism hyperv: Eliminate memory allocation in the packet send path drivers/net/hyperv/hyperv_net.h | 3 +- drivers/net/hyperv/netvsc.c | 9 - drivers/net/hyperv/netvsc_drv.c | 70 ++-- drivers/net/hyperv/rndis_filter.c | 2 + 4 files changed, 61 insertions(+), 23 deletions(-) These have landed in net-next by David Miller https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=3271e4f18d9a4ec9ac5568f9dac08f29c5a0 https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=b08cc79155fc26d0d112b1470d1ece5034651a4b https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=cbacec76bcd03ff21b37ac331e652b5a8f3ea644 Patch to a patch - Commit b08cc79155fc26d0d112b1470d1ece5034651a4b eliminated memory allocation in the packet send path: hv_netvsc: Eliminate memory allocation in the packet send path The network protocol used to communicate with the host is the remote ndis (rndis) protocol. We need to decorate each outgoing packet with a rndis header and additional rndis state (rndis per-packet state). To manage this state, we currently allocate memory in the transmit path. Eliminate this allocation by requesting additional head room in the skb. This commit introduced a bug since it did not account for the case if the skb was cloned. Fix this bug. https://git.kernel.org/cgit/linux/kernel/git/davem/net- next.git/commit/?id=b56fc3c536541c8081cd5f1f1d101a16c002a365 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1452074/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1452074] Re: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path
This patch affects networking and not storage, so it should not have an effect on storage reliability. It may be more appropriate to open a new issue to investigate the remaining instability. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1452074 Title: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path Status in linux package in Ubuntu: In Progress Status in linux source package in Trusty: In Progress Status in linux source package in Utopic: In Progress Status in linux source package in Vivid: In Progress Status in linux source package in Wily: In Progress Bug description: K. Y. Srinivasan (2): hyperv: Cleanup the test for freeing skb when we use sendbuf mechanism hyperv: Eliminate memory allocation in the packet send path drivers/net/hyperv/hyperv_net.h | 3 +- drivers/net/hyperv/netvsc.c | 9 - drivers/net/hyperv/netvsc_drv.c | 70 ++-- drivers/net/hyperv/rndis_filter.c | 2 + 4 files changed, 61 insertions(+), 23 deletions(-) These have landed in net-next by David Miller https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=3271e4f18d9a4ec9ac5568f9dac08f29c5a0 https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=b08cc79155fc26d0d112b1470d1ece5034651a4b https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=cbacec76bcd03ff21b37ac331e652b5a8f3ea644 Patch to a patch - Commit b08cc79155fc26d0d112b1470d1ece5034651a4b eliminated memory allocation in the packet send path: hv_netvsc: Eliminate memory allocation in the packet send path The network protocol used to communicate with the host is the remote ndis (rndis) protocol. We need to decorate each outgoing packet with a rndis header and additional rndis state (rndis per-packet state). To manage this state, we currently allocate memory in the transmit path. Eliminate this allocation by requesting additional head room in the skb. This commit introduced a bug since it did not account for the case if the skb was cloned. Fix this bug. https://git.kernel.org/cgit/linux/kernel/git/davem/net- next.git/commit/?id=b56fc3c536541c8081cd5f1f1d101a16c002a365 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1452074/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1452074] Re: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path
The new bug is bug 1470250 . Let's now use that bug to focus on the VSS Backup issues. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1452074 Title: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path Status in linux package in Ubuntu: In Progress Status in linux source package in Trusty: In Progress Status in linux source package in Utopic: In Progress Status in linux source package in Vivid: In Progress Status in linux source package in Wily: In Progress Bug description: K. Y. Srinivasan (2): hyperv: Cleanup the test for freeing skb when we use sendbuf mechanism hyperv: Eliminate memory allocation in the packet send path drivers/net/hyperv/hyperv_net.h | 3 +- drivers/net/hyperv/netvsc.c | 9 - drivers/net/hyperv/netvsc_drv.c | 70 ++-- drivers/net/hyperv/rndis_filter.c | 2 + 4 files changed, 61 insertions(+), 23 deletions(-) These have landed in net-next by David Miller https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=3271e4f18d9a4ec9ac5568f9dac08f29c5a0 https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=b08cc79155fc26d0d112b1470d1ece5034651a4b https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=cbacec76bcd03ff21b37ac331e652b5a8f3ea644 Patch to a patch - Commit b08cc79155fc26d0d112b1470d1ece5034651a4b eliminated memory allocation in the packet send path: hv_netvsc: Eliminate memory allocation in the packet send path The network protocol used to communicate with the host is the remote ndis (rndis) protocol. We need to decorate each outgoing packet with a rndis header and additional rndis state (rndis per-packet state). To manage this state, we currently allocate memory in the transmit path. Eliminate this allocation by requesting additional head room in the skb. This commit introduced a bug since it did not account for the case if the skb was cloned. Fix this bug. https://git.kernel.org/cgit/linux/kernel/git/davem/net- next.git/commit/?id=b56fc3c536541c8081cd5f1f1d101a16c002a365 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1452074/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1452074] Re: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path
This kernel looks good. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1452074 Title: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path Status in linux package in Ubuntu: In Progress Status in linux source package in Trusty: In Progress Status in linux source package in Utopic: In Progress Status in linux source package in Vivid: In Progress Status in linux source package in Wily: In Progress Bug description: K. Y. Srinivasan (2): hyperv: Cleanup the test for freeing skb when we use sendbuf mechanism hyperv: Eliminate memory allocation in the packet send path drivers/net/hyperv/hyperv_net.h | 3 +- drivers/net/hyperv/netvsc.c | 9 - drivers/net/hyperv/netvsc_drv.c | 70 ++-- drivers/net/hyperv/rndis_filter.c | 2 + 4 files changed, 61 insertions(+), 23 deletions(-) These have landed in net-next by David Miller https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=3271e4f18d9a4ec9ac5568f9dac08f29c5a0 https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=b08cc79155fc26d0d112b1470d1ece5034651a4b https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=cbacec76bcd03ff21b37ac331e652b5a8f3ea644 Patch to a patch - Commit b08cc79155fc26d0d112b1470d1ece5034651a4b eliminated memory allocation in the packet send path: hv_netvsc: Eliminate memory allocation in the packet send path The network protocol used to communicate with the host is the remote ndis (rndis) protocol. We need to decorate each outgoing packet with a rndis header and additional rndis state (rndis per-packet state). To manage this state, we currently allocate memory in the transmit path. Eliminate this allocation by requesting additional head room in the skb. This commit introduced a bug since it did not account for the case if the skb was cloned. Fix this bug. https://git.kernel.org/cgit/linux/kernel/git/davem/net- next.git/commit/?id=b56fc3c536541c8081cd5f1f1d101a16c002a365 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1452074/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1452074] Re: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path
I built a new test kernel, which was rebased to 3.19.0-20. The test kernel can be downloaded from: http://kernel.ubuntu.com/~jsalisbury/lp1452074/ -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1452074 Title: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path Status in linux package in Ubuntu: In Progress Status in linux source package in Trusty: In Progress Status in linux source package in Utopic: In Progress Status in linux source package in Vivid: In Progress Status in linux source package in Wily: In Progress Bug description: K. Y. Srinivasan (2): hyperv: Cleanup the test for freeing skb when we use sendbuf mechanism hyperv: Eliminate memory allocation in the packet send path drivers/net/hyperv/hyperv_net.h | 3 +- drivers/net/hyperv/netvsc.c | 9 - drivers/net/hyperv/netvsc_drv.c | 70 ++-- drivers/net/hyperv/rndis_filter.c | 2 + 4 files changed, 61 insertions(+), 23 deletions(-) These have landed in net-next by David Miller https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=3271e4f18d9a4ec9ac5568f9dac08f29c5a0 https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=b08cc79155fc26d0d112b1470d1ece5034651a4b https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=cbacec76bcd03ff21b37ac331e652b5a8f3ea644 Patch to a patch - Commit b08cc79155fc26d0d112b1470d1ece5034651a4b eliminated memory allocation in the packet send path: hv_netvsc: Eliminate memory allocation in the packet send path The network protocol used to communicate with the host is the remote ndis (rndis) protocol. We need to decorate each outgoing packet with a rndis header and additional rndis state (rndis per-packet state). To manage this state, we currently allocate memory in the transmit path. Eliminate this allocation by requesting additional head room in the skb. This commit introduced a bug since it did not account for the case if the skb was cloned. Fix this bug. https://git.kernel.org/cgit/linux/kernel/git/davem/net- next.git/commit/?id=b56fc3c536541c8081cd5f1f1d101a16c002a365 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1452074/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1452074] Re: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path
@jsalisbury We encountered unexpected performance regressions which we were not able to diagnose (a 10% decrease in throughput). Is it possible to rebase on 3.19.0-20 and release a new test kernel? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1452074 Title: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path Status in linux package in Ubuntu: In Progress Status in linux source package in Trusty: In Progress Status in linux source package in Utopic: In Progress Status in linux source package in Vivid: In Progress Status in linux source package in Wily: In Progress Bug description: K. Y. Srinivasan (2): hyperv: Cleanup the test for freeing skb when we use sendbuf mechanism hyperv: Eliminate memory allocation in the packet send path drivers/net/hyperv/hyperv_net.h | 3 +- drivers/net/hyperv/netvsc.c | 9 - drivers/net/hyperv/netvsc_drv.c | 70 ++-- drivers/net/hyperv/rndis_filter.c | 2 + 4 files changed, 61 insertions(+), 23 deletions(-) These have landed in net-next by David Miller https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=3271e4f18d9a4ec9ac5568f9dac08f29c5a0 https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=b08cc79155fc26d0d112b1470d1ece5034651a4b https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=cbacec76bcd03ff21b37ac331e652b5a8f3ea644 Patch to a patch - Commit b08cc79155fc26d0d112b1470d1ece5034651a4b eliminated memory allocation in the packet send path: hv_netvsc: Eliminate memory allocation in the packet send path The network protocol used to communicate with the host is the remote ndis (rndis) protocol. We need to decorate each outgoing packet with a rndis header and additional rndis state (rndis per-packet state). To manage this state, we currently allocate memory in the transmit path. Eliminate this allocation by requesting additional head room in the skb. This commit introduced a bug since it did not account for the case if the skb was cloned. Fix this bug. https://git.kernel.org/cgit/linux/kernel/git/davem/net- next.git/commit/?id=b56fc3c536541c8081cd5f1f1d101a16c002a365 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1452074/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1452074] Re: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path
@Joshua, just curious if you had a chance to have the test kernel tested? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1452074 Title: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path Status in linux package in Ubuntu: In Progress Status in linux source package in Trusty: In Progress Status in linux source package in Utopic: In Progress Status in linux source package in Vivid: In Progress Status in linux source package in Wily: In Progress Bug description: K. Y. Srinivasan (2): hyperv: Cleanup the test for freeing skb when we use sendbuf mechanism hyperv: Eliminate memory allocation in the packet send path drivers/net/hyperv/hyperv_net.h | 3 +- drivers/net/hyperv/netvsc.c | 9 - drivers/net/hyperv/netvsc_drv.c | 70 ++-- drivers/net/hyperv/rndis_filter.c | 2 + 4 files changed, 61 insertions(+), 23 deletions(-) These have landed in net-next by David Miller https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=3271e4f18d9a4ec9ac5568f9dac08f29c5a0 https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=b08cc79155fc26d0d112b1470d1ece5034651a4b https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=cbacec76bcd03ff21b37ac331e652b5a8f3ea644 Patch to a patch - Commit b08cc79155fc26d0d112b1470d1ece5034651a4b eliminated memory allocation in the packet send path: hv_netvsc: Eliminate memory allocation in the packet send path The network protocol used to communicate with the host is the remote ndis (rndis) protocol. We need to decorate each outgoing packet with a rndis header and additional rndis state (rndis per-packet state). To manage this state, we currently allocate memory in the transmit path. Eliminate this allocation by requesting additional head room in the skb. This commit introduced a bug since it did not account for the case if the skb was cloned. Fix this bug. https://git.kernel.org/cgit/linux/kernel/git/davem/net- next.git/commit/?id=b56fc3c536541c8081cd5f1f1d101a16c002a365 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1452074/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1452074] Re: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path
** Changed in: linux (Ubuntu Trusty) Status: Triaged = In Progress ** Changed in: linux (Ubuntu Utopic) Status: Triaged = In Progress ** Changed in: linux (Ubuntu Vivid) Status: Triaged = In Progress ** Changed in: linux (Ubuntu Wily) Status: Triaged = In Progress ** Changed in: linux (Ubuntu Trusty) Assignee: (unassigned) = Joseph Salisbury (jsalisbury) ** Changed in: linux (Ubuntu Utopic) Assignee: (unassigned) = Joseph Salisbury (jsalisbury) ** Changed in: linux (Ubuntu Vivid) Assignee: (unassigned) = Joseph Salisbury (jsalisbury) ** Changed in: linux (Ubuntu Wily) Assignee: (unassigned) = Joseph Salisbury (jsalisbury) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1452074 Title: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path Status in linux package in Ubuntu: In Progress Status in linux source package in Trusty: In Progress Status in linux source package in Utopic: In Progress Status in linux source package in Vivid: In Progress Status in linux source package in Wily: In Progress Bug description: K. Y. Srinivasan (2): hyperv: Cleanup the test for freeing skb when we use sendbuf mechanism hyperv: Eliminate memory allocation in the packet send path drivers/net/hyperv/hyperv_net.h | 3 +- drivers/net/hyperv/netvsc.c | 9 - drivers/net/hyperv/netvsc_drv.c | 70 ++-- drivers/net/hyperv/rndis_filter.c | 2 + 4 files changed, 61 insertions(+), 23 deletions(-) These have landed in net-next by David Miller https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=3271e4f18d9a4ec9ac5568f9dac08f29c5a0 https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=b08cc79155fc26d0d112b1470d1ece5034651a4b https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=cbacec76bcd03ff21b37ac331e652b5a8f3ea644 Patch to a patch - Commit b08cc79155fc26d0d112b1470d1ece5034651a4b eliminated memory allocation in the packet send path: hv_netvsc: Eliminate memory allocation in the packet send path The network protocol used to communicate with the host is the remote ndis (rndis) protocol. We need to decorate each outgoing packet with a rndis header and additional rndis state (rndis per-packet state). To manage this state, we currently allocate memory in the transmit path. Eliminate this allocation by requesting additional head room in the skb. This commit introduced a bug since it did not account for the case if the skb was cloned. Fix this bug. https://git.kernel.org/cgit/linux/kernel/git/davem/net- next.git/commit/?id=b56fc3c536541c8081cd5f1f1d101a16c002a365 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1452074/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1452074] Re: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path
I was able to build a test kernel with the three requested commits. The test kernel can be downloaded from: http://kernel.ubuntu.com/~jsalisbury/lp1452074/ However, the three requested commits required three additional commits as prerequisites.Here are the details: Prereq for hv_netvsc_packet-xmit_more: 7c3877fhv_netvsc: Implement batching in send buffer Requested: cbacec7 hv_netvsc: Cleanup the test for freeing skb when we use sendbuf mechanism Requested: b08cc79 hv_netvsc: Eliminate memory allocation in the packet send path Prereq for definition of netvsc_xmit_completion: ee90b81 hv_netvsc: Fix the packet free when it is in skb headroom Prereq for implementing partial copies. aa0a34b hv_netvsc: Implement partial copy into send buffer Requested: b56fc3c hv_netvsc: Fix a bug in netvsc_start_xmit() Can you see if the test kernel resolves the bug? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1452074 Title: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path Status in linux package in Ubuntu: Triaged Status in linux source package in Trusty: Triaged Status in linux source package in Utopic: Triaged Status in linux source package in Vivid: Triaged Status in linux source package in Wily: Triaged Bug description: K. Y. Srinivasan (2): hyperv: Cleanup the test for freeing skb when we use sendbuf mechanism hyperv: Eliminate memory allocation in the packet send path drivers/net/hyperv/hyperv_net.h | 3 +- drivers/net/hyperv/netvsc.c | 9 - drivers/net/hyperv/netvsc_drv.c | 70 ++-- drivers/net/hyperv/rndis_filter.c | 2 + 4 files changed, 61 insertions(+), 23 deletions(-) These have landed in net-next by David Miller https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=3271e4f18d9a4ec9ac5568f9dac08f29c5a0 https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=b08cc79155fc26d0d112b1470d1ece5034651a4b https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=cbacec76bcd03ff21b37ac331e652b5a8f3ea644 Patch to a patch - Commit b08cc79155fc26d0d112b1470d1ece5034651a4b eliminated memory allocation in the packet send path: hv_netvsc: Eliminate memory allocation in the packet send path The network protocol used to communicate with the host is the remote ndis (rndis) protocol. We need to decorate each outgoing packet with a rndis header and additional rndis state (rndis per-packet state). To manage this state, we currently allocate memory in the transmit path. Eliminate this allocation by requesting additional head room in the skb. This commit introduced a bug since it did not account for the case if the skb was cloned. Fix this bug. https://git.kernel.org/cgit/linux/kernel/git/davem/net- next.git/commit/?id=b56fc3c536541c8081cd5f1f1d101a16c002a365 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1452074/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1452074] Re: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path
Hrm, I had thought those other commits had been requested previously, sorry I missed them in the roundup. We'll look at testing the kernel right away. There is another skb-related fix that is still in review upstream and is not yet committed as well. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1452074 Title: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path Status in linux package in Ubuntu: Triaged Status in linux source package in Trusty: Triaged Status in linux source package in Utopic: Triaged Status in linux source package in Vivid: Triaged Status in linux source package in Wily: Triaged Bug description: K. Y. Srinivasan (2): hyperv: Cleanup the test for freeing skb when we use sendbuf mechanism hyperv: Eliminate memory allocation in the packet send path drivers/net/hyperv/hyperv_net.h | 3 +- drivers/net/hyperv/netvsc.c | 9 - drivers/net/hyperv/netvsc_drv.c | 70 ++-- drivers/net/hyperv/rndis_filter.c | 2 + 4 files changed, 61 insertions(+), 23 deletions(-) These have landed in net-next by David Miller https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=3271e4f18d9a4ec9ac5568f9dac08f29c5a0 https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=b08cc79155fc26d0d112b1470d1ece5034651a4b https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=cbacec76bcd03ff21b37ac331e652b5a8f3ea644 Patch to a patch - Commit b08cc79155fc26d0d112b1470d1ece5034651a4b eliminated memory allocation in the packet send path: hv_netvsc: Eliminate memory allocation in the packet send path The network protocol used to communicate with the host is the remote ndis (rndis) protocol. We need to decorate each outgoing packet with a rndis header and additional rndis state (rndis per-packet state). To manage this state, we currently allocate memory in the transmit path. Eliminate this allocation by requesting additional head room in the skb. This commit introduced a bug since it did not account for the case if the skb was cloned. Fix this bug. https://git.kernel.org/cgit/linux/kernel/git/davem/net- next.git/commit/?id=b56fc3c536541c8081cd5f1f1d101a16c002a365 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1452074/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1452074] Re: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path
** Changed in: linux (Ubuntu) Importance: Undecided = Medium ** Changed in: linux (Ubuntu) Importance: Medium = High ** Tags added: kernel-da-key ** Changed in: linux (Ubuntu) Status: Confirmed = Triaged ** Also affects: linux (Ubuntu Vivid) Importance: Undecided Status: New ** Changed in: linux (Ubuntu Vivid) Status: New = Triaged ** Changed in: linux (Ubuntu Vivid) Importance: Undecided = High ** Tags added: vivid -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1452074 Title: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path Status in linux package in Ubuntu: Triaged Status in linux source package in Vivid: Triaged Bug description: K. Y. Srinivasan (2): hyperv: Cleanup the test for freeing skb when we use sendbuf mechanism hyperv: Eliminate memory allocation in the packet send path drivers/net/hyperv/hyperv_net.h | 3 +- drivers/net/hyperv/netvsc.c | 9 - drivers/net/hyperv/netvsc_drv.c | 70 ++-- drivers/net/hyperv/rndis_filter.c | 2 + 4 files changed, 61 insertions(+), 23 deletions(-) These have landed in net-next by David Miller https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=3271e4f18d9a4ec9ac5568f9dac08f29c5a0 https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=b08cc79155fc26d0d112b1470d1ece5034651a4b https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=cbacec76bcd03ff21b37ac331e652b5a8f3ea644 Patch to a patch - Commit b08cc79155fc26d0d112b1470d1ece5034651a4b eliminated memory allocation in the packet send path: hv_netvsc: Eliminate memory allocation in the packet send path The network protocol used to communicate with the host is the remote ndis (rndis) protocol. We need to decorate each outgoing packet with a rndis header and additional rndis state (rndis per-packet state). To manage this state, we currently allocate memory in the transmit path. Eliminate this allocation by requesting additional head room in the skb. This commit introduced a bug since it did not account for the case if the skb was cloned. Fix this bug. https://git.kernel.org/cgit/linux/kernel/git/davem/net- next.git/commit/?id=b56fc3c536541c8081cd5f1f1d101a16c002a365 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1452074/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1452074] Re: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path
This needs to go to 15.10, 15.04, 14.10, 14.04, and 14.04 HWE. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1452074 Title: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path Status in linux package in Ubuntu: Triaged Status in linux source package in Vivid: Triaged Bug description: K. Y. Srinivasan (2): hyperv: Cleanup the test for freeing skb when we use sendbuf mechanism hyperv: Eliminate memory allocation in the packet send path drivers/net/hyperv/hyperv_net.h | 3 +- drivers/net/hyperv/netvsc.c | 9 - drivers/net/hyperv/netvsc_drv.c | 70 ++-- drivers/net/hyperv/rndis_filter.c | 2 + 4 files changed, 61 insertions(+), 23 deletions(-) These have landed in net-next by David Miller https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=3271e4f18d9a4ec9ac5568f9dac08f29c5a0 https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=b08cc79155fc26d0d112b1470d1ece5034651a4b https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=cbacec76bcd03ff21b37ac331e652b5a8f3ea644 Patch to a patch - Commit b08cc79155fc26d0d112b1470d1ece5034651a4b eliminated memory allocation in the packet send path: hv_netvsc: Eliminate memory allocation in the packet send path The network protocol used to communicate with the host is the remote ndis (rndis) protocol. We need to decorate each outgoing packet with a rndis header and additional rndis state (rndis per-packet state). To manage this state, we currently allocate memory in the transmit path. Eliminate this allocation by requesting additional head room in the skb. This commit introduced a bug since it did not account for the case if the skb was cloned. Fix this bug. https://git.kernel.org/cgit/linux/kernel/git/davem/net- next.git/commit/?id=b56fc3c536541c8081cd5f1f1d101a16c002a365 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1452074/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1452074] Re: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path
The importance for this update, and 1445195, has become critical, due to customer concerns here https://social.technet.microsoft.com/Forums/windowsserver/en-US /8807f61c-565e-45bc-abc4-af09abf59de2/ubuntu-14042-lts-generation-2 -scsi-errors-on-vss-based-backups -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1452074 Title: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path Status in linux package in Ubuntu: Confirmed Bug description: K. Y. Srinivasan (2): hyperv: Cleanup the test for freeing skb when we use sendbuf mechanism hyperv: Eliminate memory allocation in the packet send path drivers/net/hyperv/hyperv_net.h | 3 +- drivers/net/hyperv/netvsc.c | 9 - drivers/net/hyperv/netvsc_drv.c | 70 ++-- drivers/net/hyperv/rndis_filter.c | 2 + 4 files changed, 61 insertions(+), 23 deletions(-) These have landed in net-next by David Miller https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=3271e4f18d9a4ec9ac5568f9dac08f29c5a0 https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=b08cc79155fc26d0d112b1470d1ece5034651a4b https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=cbacec76bcd03ff21b37ac331e652b5a8f3ea644 Patch to a patch - Commit b08cc79155fc26d0d112b1470d1ece5034651a4b eliminated memory allocation in the packet send path: hv_netvsc: Eliminate memory allocation in the packet send path The network protocol used to communicate with the host is the remote ndis (rndis) protocol. We need to decorate each outgoing packet with a rndis header and additional rndis state (rndis per-packet state). To manage this state, we currently allocate memory in the transmit path. Eliminate this allocation by requesting additional head room in the skb. This commit introduced a bug since it did not account for the case if the skb was cloned. Fix this bug. https://git.kernel.org/cgit/linux/kernel/git/davem/net- next.git/commit/?id=b56fc3c536541c8081cd5f1f1d101a16c002a365 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1452074/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1452074] Re: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path
** Also affects: linux (Ubuntu Wily) Importance: High Status: Triaged ** Also affects: linux (Ubuntu Utopic) Importance: Undecided Status: New ** Also affects: linux (Ubuntu Trusty) Importance: Undecided Status: New ** Changed in: linux (Ubuntu Utopic) Status: New = Triaged ** Changed in: linux (Ubuntu Trusty) Status: New = Triaged ** Changed in: linux (Ubuntu Utopic) Importance: Undecided = High ** Changed in: linux (Ubuntu Trusty) Importance: Undecided = High ** Tags added: trusty utopic wily -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1452074 Title: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path Status in linux package in Ubuntu: Triaged Status in linux source package in Trusty: Triaged Status in linux source package in Utopic: Triaged Status in linux source package in Vivid: Triaged Status in linux source package in Wily: Triaged Bug description: K. Y. Srinivasan (2): hyperv: Cleanup the test for freeing skb when we use sendbuf mechanism hyperv: Eliminate memory allocation in the packet send path drivers/net/hyperv/hyperv_net.h | 3 +- drivers/net/hyperv/netvsc.c | 9 - drivers/net/hyperv/netvsc_drv.c | 70 ++-- drivers/net/hyperv/rndis_filter.c | 2 + 4 files changed, 61 insertions(+), 23 deletions(-) These have landed in net-next by David Miller https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=3271e4f18d9a4ec9ac5568f9dac08f29c5a0 https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=b08cc79155fc26d0d112b1470d1ece5034651a4b https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=cbacec76bcd03ff21b37ac331e652b5a8f3ea644 Patch to a patch - Commit b08cc79155fc26d0d112b1470d1ece5034651a4b eliminated memory allocation in the packet send path: hv_netvsc: Eliminate memory allocation in the packet send path The network protocol used to communicate with the host is the remote ndis (rndis) protocol. We need to decorate each outgoing packet with a rndis header and additional rndis state (rndis per-packet state). To manage this state, we currently allocate memory in the transmit path. Eliminate this allocation by requesting additional head room in the skb. This commit introduced a bug since it did not account for the case if the skb was cloned. Fix this bug. https://git.kernel.org/cgit/linux/kernel/git/davem/net- next.git/commit/?id=b56fc3c536541c8081cd5f1f1d101a16c002a365 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1452074/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1452074] Re: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path
These are upstream commits, not a apport-based report. ** Changed in: linux (Ubuntu) Status: Incomplete = Confirmed -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1452074 Title: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path Status in linux package in Ubuntu: Confirmed Bug description: K. Y. Srinivasan (2): hyperv: Cleanup the test for freeing skb when we use sendbuf mechanism hyperv: Eliminate memory allocation in the packet send path drivers/net/hyperv/hyperv_net.h | 3 +- drivers/net/hyperv/netvsc.c | 9 - drivers/net/hyperv/netvsc_drv.c | 70 ++-- drivers/net/hyperv/rndis_filter.c | 2 + 4 files changed, 61 insertions(+), 23 deletions(-) These have landed in net-next by David Miller https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=3271e4f18d9a4ec9ac5568f9dac08f29c5a0 https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=b08cc79155fc26d0d112b1470d1ece5034651a4b https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=cbacec76bcd03ff21b37ac331e652b5a8f3ea644 Patch to a patch - Commit b08cc79155fc26d0d112b1470d1ece5034651a4b eliminated memory allocation in the packet send path: hv_netvsc: Eliminate memory allocation in the packet send path The network protocol used to communicate with the host is the remote ndis (rndis) protocol. We need to decorate each outgoing packet with a rndis header and additional rndis state (rndis per-packet state). To manage this state, we currently allocate memory in the transmit path. Eliminate this allocation by requesting additional head room in the skb. This commit introduced a bug since it did not account for the case if the skb was cloned. Fix this bug. https://git.kernel.org/cgit/linux/kernel/git/davem/net- next.git/commit/?id=b56fc3c536541c8081cd5f1f1d101a16c002a365 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1452074/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1452074] Re: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path
This kernel patch applies to 15.10, 15.04, 14.10, 14.04, and 14.04 HWE -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1452074 Title: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path Status in linux package in Ubuntu: New Bug description: K. Y. Srinivasan (2): hyperv: Cleanup the test for freeing skb when we use sendbuf mechanism hyperv: Eliminate memory allocation in the packet send path drivers/net/hyperv/hyperv_net.h | 3 +- drivers/net/hyperv/netvsc.c | 9 - drivers/net/hyperv/netvsc_drv.c | 70 ++-- drivers/net/hyperv/rndis_filter.c | 2 + 4 files changed, 61 insertions(+), 23 deletions(-) These have landed in net-next by David Miller https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=3271e4f18d9a4ec9ac5568f9dac08f29c5a0 https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=b08cc79155fc26d0d112b1470d1ece5034651a4b https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=cbacec76bcd03ff21b37ac331e652b5a8f3ea644 Patch to a patch - Commit b08cc79155fc26d0d112b1470d1ece5034651a4b eliminated memory allocation in the packet send path: hv_netvsc: Eliminate memory allocation in the packet send path The network protocol used to communicate with the host is the remote ndis (rndis) protocol. We need to decorate each outgoing packet with a rndis header and additional rndis state (rndis per-packet state). To manage this state, we currently allocate memory in the transmit path. Eliminate this allocation by requesting additional head room in the skb. This commit introduced a bug since it did not account for the case if the skb was cloned. Fix this bug. https://git.kernel.org/cgit/linux/kernel/git/davem/net- next.git/commit/?id=b56fc3c536541c8081cd5f1f1d101a16c002a365 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1452074/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1452074] Re: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path
** Tags added: kernel-hyper-v -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1452074 Title: [Hyper-V] hv_netvsc: Eliminate memory allocation in the packet send path Status in linux package in Ubuntu: Incomplete Bug description: K. Y. Srinivasan (2): hyperv: Cleanup the test for freeing skb when we use sendbuf mechanism hyperv: Eliminate memory allocation in the packet send path drivers/net/hyperv/hyperv_net.h | 3 +- drivers/net/hyperv/netvsc.c | 9 - drivers/net/hyperv/netvsc_drv.c | 70 ++-- drivers/net/hyperv/rndis_filter.c | 2 + 4 files changed, 61 insertions(+), 23 deletions(-) These have landed in net-next by David Miller https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=3271e4f18d9a4ec9ac5568f9dac08f29c5a0 https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=b08cc79155fc26d0d112b1470d1ece5034651a4b https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=cbacec76bcd03ff21b37ac331e652b5a8f3ea644 Patch to a patch - Commit b08cc79155fc26d0d112b1470d1ece5034651a4b eliminated memory allocation in the packet send path: hv_netvsc: Eliminate memory allocation in the packet send path The network protocol used to communicate with the host is the remote ndis (rndis) protocol. We need to decorate each outgoing packet with a rndis header and additional rndis state (rndis per-packet state). To manage this state, we currently allocate memory in the transmit path. Eliminate this allocation by requesting additional head room in the skb. This commit introduced a bug since it did not account for the case if the skb was cloned. Fix this bug. https://git.kernel.org/cgit/linux/kernel/git/davem/net- next.git/commit/?id=b56fc3c536541c8081cd5f1f1d101a16c002a365 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1452074/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp