On Thu, Jul 23, 2015 at 09:17:41AM +0200, Nicolas Dichtel wrote:
Error was:
f_bpf.o: In function `bpf_parse_opt':
f_bpf.c:(.text+0x88f): undefined reference to `secure_getenv'
m_bpf.o: In function `parse_bpf':
m_bpf.c:(.text+0x587): undefined reference to `secure_getenv'
collect2: error: ld
On Thu, Jul 23, 2015 at 4:04 AM, Thomas Graf tg...@suug.ch wrote:
Retrieve the tunnel metadata for packets received by a net_device and
provide it to ovs_vport_receive() for flow key extraction.
[This hunk was in the GRE patch in the initial series and missed the
cut for the initial
On Thu, Jul 23, 2015 at 8:43 AM, Jiri Pirko j...@resnulli.us wrote:
This patchset introduces Mellanox Technologies Switch driver infrastructure
and support for SwitchX-2 ASIC.
The driver is divided into 3 logical parts:
1) Bus - implements switch bus interface. Currently only PCI bus is
mov %rsp, %r1 ; r1 = rsp
add $-8, %r1; r1 = rsp - 8
store_q $123, -8(%rsp) ; *(u64*)r1 = 123 - valid
store_q $123, (%r1) ; *(u64*)r1 = 123 - previously invalid
mov $0, %r0
exit; Always need to exit
From: Joern Engel jo...@logfs.org
Code was responsible for ~150ms scheduler latencies.
Signed-off-by: Joern Engel jo...@logfs.org
Signed-off-by: Spencer Baugh sba...@catern.com
---
drivers/net/ethernet/intel/e1000/e1000_hw.c | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
From: Achiad Shochat ach...@mellanox.com
In addition to the source/destination IP which are already hashed.
Only for unicast traffic for now.
Signed-off-by: Achiad Shochat ach...@mellanox.com
Signed-off-by: Amir Vadai am...@mellanox.com
---
drivers/net/ethernet/mellanox/mlx5/core/en.h |
Hi Dave,
This patchset introduce some performance enhancements to the ConnectX-4 driver.
1. Improving RSS distribution, and make RSS function controlable using ethtool.
2. Make memory that is written by NIC and read by host CPU allocate in the
local NUMA to the processing CPU
3. Support tx
From: Saeed Mahameed sae...@mellanox.com
By affinity hints and XPS, each mlx5e channel is assigned a CPU
core.
Channel DMA coherent memory that is written by the NIC and read
by SW (e.g CQ buffer) is allocated on the NUMA node of the CPU
core assigned for the channel.
Channel DMA coherent
On Thu, Jul 23, 2015 at 02:24:40PM -0700, Alex Gartrell wrote:
mov %rsp, %r1 ; r1 = rsp
add $-8, %r1; r1 = rsp - 8
store_q $123, -8(%rsp) ; *(u64*)r1 = 123 - valid
store_q $123, (%r1) ; *(u64*)r1 = 123 - previously invalid
23.07.2015 12:43, Oliver Neukum пишет:
On Mon, 2015-07-20 at 21:13 +0300, Eugene Shatokhin wrote:
[Race #5]
Race on dev-rx_urb_size. I reproduced it a similar way as the races
#2
and #3 (changing MTU while downloading files).
dev-rx_urb_size is written to here:
#0 usbnet_change_mtu
Le 23/07/2015 12:14, Harini Katakam a écrit :
JUMBO and NO_GIGABIT_HALF have the same capability masks.
Change one of them.
Signed-off-by: Harini Katakam hari...@xilinx.com
Yes, indeed:
Acked-by: Nicolas Ferre nicolas.fe...@atmel.com
---
drivers/net/ethernet/cadence/macb.h |2 +-
1
This patch set contains bug fixes and enhencements of hw ethernet
statistics processing on TI's Keystone2 CPSW ethernet switches.
WingMan Kwok (6):
net: netcp: Fixes the use of spin_lock_bh in timer function
net: netcp: Fixes hw statistics module base setting error
net: netcp: Fixes error
On Wed, Jul 22, 2015 at 7:33 PM, Alban Bedel al...@free.fr wrote:
Currently CONFIG_ARCH_HAVE_CUSTOM_GPIO_H is defined for all MIPS
machines, and each machine type provides its own gpio.h. However only
the Alchemy machine really use the feature, all other machines only
use the default
In certain applications it's beneficial to allow the CPSW h/w
stats counters to continue to increment even while the kernel
polls them. This patch implements this behavior for both 1G
and 10G ethernet subsystem modules.
Signed-off-by: WingMan Kwok w-kw...@ti.com
---
On 7/23/15, 12:09 AM, David Miller wrote:
From: roopa ro...@cumulusnetworks.com
Date: Wed, 22 Jul 2015 13:38:31 -0700
I cant think of a way to fix the current problem with my patch...
I guess it's not obvious that adding CONFIG_MPLS_IPV6 would solve
the problem perfectly.
I thought that was
Note also that include/linux/lwtunnel.h is not needed.
CC: Thomas Graf tg...@suug.ch
CC: Roopa Prabhu ro...@cumulusnetworks.com
Fixes: 499a24256862 (lwtunnel: infrastructure for handling light weight
tunnels like mpls)
Signed-off-by: Nicolas Dichtel nicolas.dich...@6wind.com
---
Hello.
On 7/23/2015 3:10 AM, Taku Izumi wrote:
This patch adds implementation of handling IRQ
of other receiver's receive cancellation request.
Signed-off-by: Taku Izumi izumi.t...@jp.fujitsu.com
---
drivers/net/fjes/fjes_main.c | 79
1 file
Regards,
Igal Liberman.
+static struct platform_driver fm_driver = {
+ .driver = {
+.name = fsl-fman,
+.of_match_table = fm_match,
+},
+ .probe = fm_probe,
+};
+
+builtin_platform_driver(fm_driver);
+
+static int __init __cold
Different Keystone2 platforms have different number and
layouts of hw statistics modules. This patch consolidates
the statistics processing of different Keystone2 platforms
for easy maintenance.
Signed-off-by: WingMan Kwok w-kw...@ti.com
---
drivers/net/ethernet/ti/netcp_ethss.c | 99
The CPSW driver keeps internally some, but not all, of
the statistics available in the hw statistics modules. Furthermore,
some of the locations in the hw statistics modules are reserved and
contain no useful information. Prior to this patch, the driver
allocates memory of the size of the the
This patch adds the missing statistics for the host
and slave ports of the CPSW on K2L and K2E platforms.
Signed-off-by: WingMan Kwok w-kw...@ti.com
---
drivers/net/ethernet/ti/netcp_ethss.c | 177 -
1 file changed, 174 insertions(+), 3 deletions(-)
diff --git
This patch fixes a bug in which the timer routine synchronized
against the ethtool-triggered statistics updates with spin_lock_bh().
A timer function is itself a bottom-half, so this should be
spin_lock().
Signed-off-by: WingMan Kwok w-kw...@ti.com
---
drivers/net/ethernet/ti/netcp_ethss.c |
This patch fixes error in the setting of the hw statistics
module base for K2HK platform. In K2HK although there are
4 hw statistics modules, but only 2 are visible at a time.
Thus when setting up the pointers to the base of the
corresponding hw statistics modules, modules 0 and 2 should
point to
VF driver was reading incorrect freelist congestion notification threshold
for FLM queues when packing is enabled for T5 and T6 adapter. Fixing it
now.
Signed-off-by: Hariprasad Shenai haripra...@chelsio.com
---
drivers/net/ethernet/chelsio/cxgb4/t4_regs.h | 5 +
On 23/07/2015 at 15:44:25 +0530, Harini Katakam wrote :
JUMBO and NO_GIGABIT_HALF have the same capability masks.
Change one of them.
Signed-off-by: Harini Katakam hari...@xilinx.com
Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com
--
Alexandre Belloni, Free Electrons
Fri, Jul 24, 2015 at 02:03:20AM CEST, sfel...@gmail.com wrote:
On Thu, Jul 23, 2015 at 8:43 AM, Jiri Pirko j...@resnulli.us wrote:
This patchset introduces Mellanox Technologies Switch driver infrastructure
and support for SwitchX-2 ASIC.
The driver is divided into 3 logical parts:
1) Bus -
Thu, Jul 23, 2015 at 11:12:20PM CEST, go...@cumulusnetworks.com wrote:
On Thu, Jul 23, 2015 at 05:43:35PM +0200, Jiri Pirko wrote:
From: Ido Schimmel ido...@mellanox.com
Add the ability to construct mailbox-style register access messages
called EMADs with provisions to construct and parse the
Fri, Jul 24, 2015 at 06:52:16AM CEST, sfel...@gmail.com wrote:
On Thu, Jul 23, 2015 at 8:43 AM, Jiri Pirko j...@resnulli.us wrote:
From: Jiri Pirko j...@mellanox.com
Add PCI bus implementation for Mellanox Technologies Switch ASICs. This
includes firmware initialization, async queues
Actually we do increment refcnt, for every socket found in ehash.
Carefully read again __inet_lookup_established()
This code is generic for ESTABLISH and TIME-WAIT sockets
If you found a code that performed the lookup without taking the refcnt,
please point me at it, this would be a
Le 07/23/15 20:46, shh@gmail.com a écrit :
From: Shaohui Xie shaohui@freescale.com
This patch added driver to support Aquantia PHYs AQ1202, AQ2104, AQR105,
AQR405, which accessed through clause 45.
Could you prefix your patches with net: phy: in the future to be
consistent with what
Hi,
Lawrence Brakmo wrote:
Based on comments by Neal Cardwell to tcp_nv patch:
AFAICT this patch would not require an increase in the size of sk_buff
cb[] if it were to take advantage of the fact that the tcp_skb_cb
header.h4 and header.h6 fields are only used in the packet reception
Fri, Jul 24, 2015 at 07:13:42AM CEST, sfel...@gmail.com wrote:
On Thu, Jul 23, 2015 at 8:43 AM, Jiri Pirko j...@resnulli.us wrote:
From: Ido Schimmel ido...@mellanox.com
Add the ability to construct mailbox-style register access messages
called EMADs with provisions to construct and parse the
Avoid the driver to enable WOL if the device doesn't support it.
Signed-off-by: Hayes Wang hayesw...@realtek.com
---
drivers/net/usb/r8152.c | 28 ++--
1 file changed, 22 insertions(+), 6 deletions(-)
diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c
index
v2:
Replace patch #2 with r8152: fix wakeup settings.
v1:
These patches are used to fix issues.
Hayes Wang (3):
r8152: fix the issue about U1/U2
- r8152: fix remote wakeup
+ r8152: fix wakeup settings
r8152: don't enable napi before rx ready
drivers/net/usb/r8152.c | 103
Adjust napi_disable() and napi_enable() to avoid r8152_poll() start
working before rx ready. Otherwise, it may have race condition for
rx_agg.
Signed-off-by: Hayes Wang hayesw...@realtek.com
---
drivers/net/usb/r8152.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git
On Thu, Jul 23, 2015 at 8:43 AM, Jiri Pirko j...@resnulli.us wrote:
From: Ido Schimmel ido...@mellanox.com
Add the ability to construct mailbox-style register access messages
called EMADs with provisions to construct and parse the registers payload.
Implement EMAD transaction layer which is
- Disable U1/U2 during initialization.
- Disable lpm when linking is on, and enable it when linking is off.
- Disable U1/U2 when enabling runtime suspend.
It is possible to let hw stop working, if the U1/U2 request occurs
during some situations. The patch is used to avoid it.
Signed-off-by:
Replace 2 arguments (cnt and rtt) in the congestion control modules'
pkts_acked() function with a struct. This will allow adding more
information without having to modify existing congestion control
modules (tcp_nv in particular needs bytes in flight when packet
was sent).
As proposed by Neal
Based on comments by Neal Cardwell to tcp_nv patch:
AFAICT this patch would not require an increase in the size of sk_buff
cb[] if it were to take advantage of the fact that the tcp_skb_cb
header.h4 and header.h6 fields are only used in the packet reception
code path, and this in_flight
This is a request for comments.
TCP-NV (New Vegas) is a major update to TCP-Vegas. An earlier version of
NV was presented at 2010's LPC (slides). It is a delayed based
congestion avoidance for the data center. This version has been tested
within a 10G rack where the HW RTTs are 20-50us.
A
This patchset adds support for NV congestion control.
The first patch replaces two arguments in the pkts_acked() function
of the congestion control modules with a struct, making it easier to
add more parameters later without modifying the existing congestion
control modules.
The second patch
Hi Ming,
On Thu, Jul 23, 2015 at 2:37 PM, Ming Lei ming@canonical.com wrote:
Hi Guys,
When booting from UEFI/ACPI, sometimes there is a crash[1]
from rx path, sometimes there isn't any rx packets comming.
Firmware version: 2.02.10
Thanks,
[1], crash log
Call trace:
skbuff:
Fix the following typo
- unchainged - unchanged
Signed-off-by: Subash Abhinov Kasiviswanathan subas...@codeaurora.org
---
net/core/dev.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/core/dev.c b/net/core/dev.c
index 488ba6c..44d1384 100644
--- a/net/core/dev.c
+++
From: Shaohui Xie shaohui@freescale.com
This patch added driver to support Aquantia PHYs AQ1202, AQ2104, AQR105,
AQR405, which accessed through clause 45.
Signed-off-by: Shaohui Xie shaohui@freescale.com
---
drivers/net/phy/Kconfig| 5 ++
drivers/net/phy/Makefile | 1 +
Thank you all for your comments, I¹m currently testing the changes.
Other comments inline.
On 7/21/15, 11:50 PM, Yuchung Cheng ych...@google.com wrote:
On Tue, Jul 21, 2015 at 9:21 PM, Lawrence Brakmo bra...@fb.com wrote:
This is a request for comments.
TCP-NV (New Vegas) is a major update to
On Jul 23, 2015, at 5:03 PM, Scott Feldman sfel...@gmail.com wrote:
On the CHECKs on space after cast, should we modify checkpatch.pl to
not flag those for drivers/net?
Please don't. My internal parser really wants to see the cast right up against
whatever it is casting. Has this practice
Commit 6fd99094de2b (ipv6: Don't reduce hop limit for an interface)
disabled accept hop limit from RA if it is higher than the current hop
limit for security stuff. But this behavior kind of break the RFC definition.
RFC 4861, 6.3.4. Processing Received Router Advertisements
If the received
Hi,
Hangbin Liu wrote:
Commit 6fd99094de2b (ipv6: Don't reduce hop limit for an interface)
disabled accept hop limit from RA if it is higher than the current hop
limit for security stuff. But this behavior kind of break the RFC definition.
RFC 4861, 6.3.4. Processing Received Router
Thu, Jul 23, 2015 at 07:19:46PM CEST, alexander.du...@gmail.com wrote:
On 07/23/2015 08:43 AM, Jiri Pirko wrote:
From: Jiri Pirko j...@mellanox.com
Benefit from the previously introduced Mellanox Switch infrastructure and
add driver for SwitchX-2 ASIC. Note that this driver is very simple now.
It
In certain applications it's beneficial to allow the CPSW h/w
stats counters to continue to increment even while the kernel
polls them. This patch implements this behavior for both 1G
and 10G ethernet subsystem modules.
Signed-off-by: WingMan Kwok w-kw...@ti.com
---
Different Keystone2 platforms have different number and
layouts of hw statistics modules. This patch consolidates
the statistics processing of different Keystone2 platforms
for easy maintenance.
Signed-off-by: WingMan Kwok w-kw...@ti.com
---
drivers/net/ethernet/ti/netcp_ethss.c | 99
The CPSW driver keeps internally some, but not all, of
the statistics available in the hw statistics modules. Furthermore,
some of the locations in the hw statistics modules are reserved and
contain no useful information. Prior to this patch, the driver
allocates memory of the size of the the
This patch fixes a bug in which the timer routine synchronized
against the ethtool-triggered statistics updates with spin_lock_bh().
A timer function is itself a bottom-half, so this should be
spin_lock().
Signed-off-by: WingMan Kwok w-kw...@ti.com
---
drivers/net/ethernet/ti/netcp_ethss.c |
This patch fixes error in the setting of the hw statistics
module base for K2HK platform. In K2HK although there are
4 hw statistics modules, but only 2 are visible at a time.
Thus when setting up the pointers to the base of the
corresponding hw statistics modules, modules 0 and 2 should
point to
This patch adds the missing statistics for the host
and slave ports of the CPSW on K2L and K2E platforms.
Signed-off-by: WingMan Kwok w-kw...@ti.com
---
drivers/net/ethernet/ti/netcp_ethss.c | 177 -
1 file changed, 174 insertions(+), 3 deletions(-)
diff --git
This patch set contains bug fixes and enhencements of hw ethernet
statistics processing on TI's Keystone2 CPSW ethernet switches.
v1: Removes unused defines in PATCH 3/6 based on reviewer's comment
WingMan Kwok (6):
net: netcp: Fixes the use of spin_lock_bh in timer function
net: netcp:
From: Achiad Shochat ach...@mellanox.com
A regular TX WQE execution involves two or more DMA reads -
one to fetch the WQE, and another one per WQE gather entry.
These DMA reads obviously increase the TX latency.
There are two mlx5 mechanisms to bypass these DMA reads:
1) Inline WQE
2) Blue Flame
From: Achiad Shochat ach...@mellanox.com
AKA inline WQE.
A TX latency optimization to save data gather DMA reads.
Controlled by ETHTOOL_TX_COPYBREAK.
Signed-off-by: Achiad Shochat ach...@mellanox.com
Signed-off-by: Amir Vadai am...@mellanox.com
---
drivers/net/ethernet/mellanox/mlx5/core/en.h
From: Achiad Shochat ach...@mellanox.com
No logical change in this commit.
Signed-off-by: Achiad Shochat ach...@mellanox.com
Signed-off-by: Amir Vadai am...@mellanox.com
---
drivers/net/ethernet/mellanox/mlx5/core/en.h | 16 +-
.../ethernet/mellanox/mlx5/core/en_flow_table.c| 166
From: Saeed Mahameed sae...@mellanox.com
The ConnectX-4 HW implements inverted XOR8.
To make it act as XOR we re-order the HW RSS indirection table.
Set XOR to be the default RSS hash function and add ethtool API to
control it.
Signed-off-by: Saeed Mahameed sae...@mellanox.com
Signed-off-by:
On Thu, Jul 23, 2015 at 05:43:35PM +0200, Jiri Pirko wrote:
From: Ido Schimmel ido...@mellanox.com
Add the ability to construct mailbox-style register access messages
called EMADs with provisions to construct and parse the registers payload.
Implement EMAD transaction layer which is
From: Shannon Nelson shannon.nel...@intel.com
With a little work we can clean up some unnecessary logic jumping and
drop a variable.
Signed-off-by: Shannon Nelson shannon.nel...@intel.com
Cc: Laurent Navet laurent.na...@gmail.com
Signed-off-by: Jeff Kirsher jeffrey.t.kirs...@intel.com
---
From: Mitch Williams mitch.a.willi...@intel.com
Store off the VF API version for use when figuring out the VF driver
capabilities. Add support for the VF driver handing its capabilities to
the PF driver and then use this information when sending VF resource
information back to the VF driver.
From: Mitch Williams mitch.a.willi...@intel.com
The most common type of reset that the VF will encounter is a PF reset
that cascades down into a VF reset for each VF. In this case, the VF
will always be assigned the same VSI and recovery is fairly simple.
However, in the case of 'bigger' resets,
From: Jesse Brandeburg jesse.brandeb...@intel.com
Use macros for abstracting (1 foo) to BIT(foo)
and (1ULL foo64) to BIT_ULL(foo64) in order to match
better with kernel requirements.
NOTE: the adminq_cmd.h file was not modified on purpose because
of the dependency upon firmware for that file.
From: Mitch Williams mitch.a.willi...@intel.com
This driver fully supports VF drivers using both the 1.0 and 1.1
versions of the virtual channel API. However, VF drivers using
version 1.0 get upset if we provide them with a version other than
that, and refuse to play with us.
Correct this by
From: Mitch Williams mitch.a.willi...@intel.com
To prepare for the changes coming up in the X722 device and future
devices, the virtual channel interface has to change slightly. The VF
driver can now report what its capable of supporting, which then informs
the PF driver when it sends the
From: Shannon Nelson shannon.nel...@intel.com
Clean up a little confusion in reporting error status in phy and fcoe
setup error reports by separating the return status from the AQ error.
Add two decoder functions to make this easier.
Change-ID: I960bcdeef3978a15fec1cdb5eff781d5cbae42fb
From: Mitch Williams mitch.a.willi...@intel.com
Store off the PF's API version, then use it to determine whether or not
to send it our capabilities. Change the version checking to allow for PF
drivers with lower API versions than our current version, so we can
still talk to PF drivers over the
This series contains updates to e1000e, igb, ixgbevf, i40e and i40evf.
Emil extends the reporting of the RSS key and hash table by adding support
for x550 VFs.
Jia-Ju Bai fixes a QoS issue in e1000e where the error handling lacked a
call to pm_qos_remove_request() to cleanup the QoS request made
From: Carolyn Wyborny carolyn.wybo...@intel.com
This patch changes the switch statement for dynamic interrupt throttling
and adds a default case. With this patch, we check the latency setting
instead of the current ITR settings and the included refactor improves
performance.
Without this patch,
From: Todd Fujinaka todd.fujin...@intel.com
There are many settings possible using ethtool -C/--coalesce, but not
all of them are supported in igb. Report failure when an unsupported
option is set.
Signed-off-by: Todd Fujinaka todd.fujin...@intel.com
Tested-by: Aaron Brown
From: Todd Fujinaka todd.fujin...@intel.com
Use the ARRAY_SIZE macro rather than calculating sizeof(a)/sizeof(a[0]).
Also directly replace the code rather than using an unnecessary define.
Reported-by: Maninder Singh maninder...@samsung.com
Reported-by: Joe Perches j...@perches.com
From: Todd Fujinaka todd.fujin...@intel.com
Signed-off-by: Todd Fujinaka todd.fujin...@intel.com
Tested-by: Aaron Brown aaron.f.br...@intel.com
Signed-off-by: Jeff Kirsher jeffrey.t.kirs...@intel.com
---
drivers/net/ethernet/intel/igb/igb_main.c | 4 ++--
1 file changed, 2 insertions(+), 2
From: Mitch Williams mitch.a.willi...@intel.com
Now that we've rolled the virtual channel API version to 1.1, add some
macros to test what version is being used by our partner in crime. For the
VF, add some macros to determine what our device capabilities are.
Change-ID:
On 07/23/2015 09:32 AM, WingMan Kwok wrote:
The CPSW driver keeps internally some, but not all, of
the statistics available in the hw statistics modules. Furthermore,
some of the locations in the hw statistics modules are reserved and
contain no useful information. Prior to this patch, the
On 7/23/15, 6:43 AM, Nicolas Dichtel wrote:
Note also that include/linux/lwtunnel.h is not needed.
CC: Thomas Graf tg...@suug.ch
CC: Roopa Prabhu ro...@cumulusnetworks.com
Fixes: 499a24256862 (lwtunnel: infrastructure for handling light weight tunnels
like mpls)
Signed-off-by: Nicolas Dichtel
Network header is set with offset ETH_HLEN but it is not true for VLAN
(multiple-)tagged and results in checksum issues in lower devices.
v2: leave skb-protocol untouched (thx Vlad), comment added
v3: moved after skb_probe_transport_header() call (thx Toshiaki)
Signed-off-by: Ivan Vecera
From: Jia-Ju Bai baijiaju1...@163.com
The driver lacks pm_qos_remove_request in error handling (err_req_irq) of
e1000_open, and qos request inserted by pm_qos_add_request is not removed.
This patch add pm_qos_remove_request in error handling to fix it.
Signed-off-by: Jia-Ju Bai
From: Emil Tantilov emil.s.tanti...@intel.com
This patch extends the reporting of the RSS key and hash table by
adding support for X550 VFs. The difference is that X550 VFs have
their own registers for RSS key and indirection table, so there is
no need to query the PF.
The RSS key and
On Wed, 2015-07-22 at 11:41 +1000, Michael Ellerman wrote:
On Wed, 2015-07-15 at 03:30 -0700, Jeff Kirsher wrote:
On Tue, 2015-07-14 at 13:54 +1000, Michael Ellerman wrote:
e1000e_disable_aspm_locked() is only used in __e1000_resume()
which is
inside CONFIG_PM. So when CONFIG_PM=n we get
On 7/23/15, 7:22 AM, Nicolas Dichtel wrote:
This patch takes advantage of the newly added lwtunnel framework to
allow the user to set routes that points to a peer netns.
Packets are injected to the peer netns via the loopback device. It works
only when the output device is 'lo'.
Example:
ip
So it gets freed when the device is going away.
This fixes a DMA memory leak on driver probe() fail and driver
remove().
Signed-off-by: Lucas Stach l.st...@pengutronix.de
---
v2: Fix indentation of second line to fix alignment with opening bracket.
---
drivers/net/ethernet/freescale/fec_main.c |
This function frees resources and cancels delayed work item that
have been initialized in fec_ptp_init().
Use this to do proper error handling if something goes wrong in
probe function after fec_ptp_init has been called.
Signed-off-by: Lucas Stach l.st...@pengutronix.de
Acked-by: Fugang Duan
This patch takes advantage of the newly added lwtunnel framework to
allow the user to set routes that points to a peer netns.
Packets are injected to the peer netns via the loopback device. It works
only when the output device is 'lo'.
Example:
ip route add 40.1.1.1/32 encap netns nsid 5 via dev
Le 23/07/2015 17:01, roopa a écrit :
On 7/23/15, 7:22 AM, Nicolas Dichtel wrote:
[snip]
+static inline u32 *lwt_netns_info(struct lwtunnel_state *lwtstate)
+{
+return (u32 *)lwtstate-data;
+}
+
+static inline int skb_lwt_netns_info(struct sk_buff *skb)
+{
+if (skb-protocol ==
2015-07-23 4:35 GMT+03:00 Antonio Borneo borneo.anto...@gmail.com:
On Thu, Jul 23, 2015 at 2:08 AM, David Miller da...@davemloft.net wrote:
From: Antonio Borneo borneo.anto...@gmail.com
Date: Thu, 23 Jul 2015 00:34:14 +0800
- depends on (PCI || OF_IRQ)
+ depends on (PCI || (OF_IRQ
From: Satish Ashok sas...@cumulusnetworks.com
Stop the kernel STP hello and hold timers when user-space STP is being
used to stop generating both packets. These should be handled only by
the respective STP which is in control. Also ensure that when the bridge
is up these timers are started only
Hi Dave,
Here's another one-patch pull request for 4.2 which targets a potential
NULL pointer dereference in the LE Security Manager code that can be
triggered by using older user space tools. The issue has been there
since 4.0 so there's the appropriate Cc: stable in place.
Let me know if there
From: Jiri Pirko j...@mellanox.com
Benefit from the previously introduced Mellanox Switch infrastructure and
add driver for SwitchX-2 ASIC. Note that this driver is very simple now.
It implements bare minimum for getting device to work on slow-path.
Fast-path offload functionality is going to be
From: Jiri Pirko j...@mellanox.com
Add PCI bus implementation for Mellanox Technologies Switch ASICs. This
includes firmware initialization, async queues manipulation and command
interface implementation.
Signed-off-by: Jiri Pirko j...@mellanox.com
Signed-off-by: Ido Schimmel ido...@mellanox.com
From: Jiri Pirko j...@mellanox.com
Add core components of Mellanox switch driver infrastructure.
Core infrastructure is designed so that it can be used by multiple
bus drivers (PCI now, I2C and SGMII are planned to be implemented
in the future). Multiple switch kind drivers can be registered as
This patchset introduces Mellanox Technologies Switch driver infrastructure
and support for SwitchX-2 ASIC.
The driver is divided into 3 logical parts:
1) Bus - implements switch bus interface. Currently only PCI bus is
implemented, but more buses will be added in the future. Namely I2C
and
On 7/23/15, 8:25 AM, Nicolas Dichtel wrote:
Le 23/07/2015 17:01, roopa a écrit :
On 7/23/15, 7:22 AM, Nicolas Dichtel wrote:
[snip]
+static inline u32 *lwt_netns_info(struct lwtunnel_state *lwtstate)
+{
+return (u32 *)lwtstate-data;
+}
+
+static inline int skb_lwt_netns_info(struct
Oliver Neukum [mailto:oneu...@suse.com]
[...]
If the device does not support remote wakeup and the driver enables it,
runtime
power management will be switched off.
That is the current state and it means that devices which don't support remote
wakeup cannot do runtime power management at
Regards,
Igal Liberman.
-Original Message-
From: Stephen Hemminger [mailto:step...@networkplumber.org]
Sent: Wednesday, July 22, 2015 7:56 PM
To: Liberman Igal-B31950
Cc: netdev@vger.kernel.org; linuxppc-...@lists.ozlabs.org; linux-
ker...@vger.kernel.org; Wood Scott-B07421; Bucur
On Thu, 23 Jul 2015 09:07:37 -0700
Nikolay Aleksandrov niko...@cumulusnetworks.com wrote:
+ /* Stop hello and hold timer */
+ spin_lock_bh(br-lock);
+ del_timer(br-hello_timer);
+ list_for_each_entry(p, br-port_list, list)
+
Really same as previous pull, but as a problem was found in that one, I
rebased and fixed.
The following changes since commit 59a5b0f7bf74f88da6670bcbf924d8cc1e75b1ee:
virtio-pci: alloc only resources actually used. (2015-06-24 08:15:09 +0200)
are available in the git repository at:
On Thu, 23 Jul 2015 19:05:56 +0200
Nikolay Aleksandrov niko...@cumulusnetworks.com wrote:
On 07/23/2015 06:59 PM, Stephen Hemminger wrote:
On Thu, 23 Jul 2015 09:07:37 -0700
Nikolay Aleksandrov niko...@cumulusnetworks.com wrote:
+ /* Stop hello and hold timer */
+
On 07/23/2015 08:43 AM, Jiri Pirko wrote:
From: Jiri Pirko j...@mellanox.com
Benefit from the previously introduced Mellanox Switch infrastructure and
add driver for SwitchX-2 ASIC. Note that this driver is very simple now.
It implements bare minimum for getting device to work on slow-path.
1 - 100 of 142 matches
Mail list logo