All Marvell switch chips from (88E6060 to 88E6390) have a ATU Control
register containing bits 11:4 to configure an ATU Age Time quotient.
However the coefficient used to calculate the ATU Age Time vary with the
models. E.g. 88E6060, 88E6352 and 88E6390 use respectively 16, 15 and
3.75 seconds.
Add a new function for DSA drivers to implement to handle the switchdev
SWITCHDEV_ATTR_ID_BRIDGE_AGEING_TIME attribute.
The ageing time is passed as milliseconds.
Signed-off-by: Vivien Didelot
---
include/net/dsa.h | 1 +
net/dsa/slave.c | 22
The Trunk Mask and Trunk Mapping registers are two Global 2 indirect
accesses to trunking configuration.
Add helpers for these tables and simplify the Global 2 setup.
Signed-off-by: Vivien Didelot
---
drivers/net/dsa/mv88e6xxx/chip.c | 70
Some switches provide a Rsvd2CPU mechanism used to choose which of the
16 reserved multicast destination addresses matching 01:80:c2:00:00:0x
should be considered as MGMT and thus forwarded to the CPU port.
Other switches extend this mechanism to also configure as MGMT the
additional 16 reserved
Add flags to describe the presence of Cross-chip Port VLAN Table (PVT)
related registers and simplify the setup of Global 2.
Signed-off-by: Vivien Didelot
---
drivers/net/dsa/mv88e6xxx/chip.c | 16
drivers/net/dsa/mv88e6xxx/mv88e6xxx.h
All 88E6xxx Marvell switches (even the old not supported yet 88E6060)
have at least an ATU, per-port STP states and VLAN map, to run basic
switch functions such as Spanning Tree and port based VLANs.
Get rid of the related MV88E6XXX_FLAG_{ATU,PORTSTATE,VLANTABLE} flags,
as they are defaults to
Implement the DSA driver function to configure the bridge ageing time.
Signed-off-by: Vivien Didelot
---
drivers/net/dsa/mv88e6xxx/chip.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/drivers/net/dsa/mv88e6xxx/chip.c
Add capability flags to describe the presence of Ingress Rate Limit unit
registers and an helper function to clear it.
In the meantime, fix a few harmless issues:
- 6185 and 6095 don't have such registers (reserved)
- the previous code didn't wait for the IRL operation to complete
The Device Mapping register is an indirect table access.
Provide helpers to access this table and explicit the checking of the
new DSA_RTABLE_NONE routing table value.
Signed-off-by: Vivien Didelot
---
drivers/net/dsa/mv88e6xxx/chip.c | 76
>
> Hi Kan,
>
> On 07/18/2016 08:55 AM, kan.li...@intel.com wrote:
> > From: Kan Liang
> >
> > It is a big challenge to get good network performance. First, the
> > network performance is not good with default system settings. Second,
> > it is too difficult to do
On Sat, Jul 16, 2016 at 7:08 AM, Konstantin Khlebnikov
wrote:
> In kernel HTB keeps tokens in signed 64-bit in nanoseconds. In netlink
> protocol these values are converted into pshed ticks (64ns for now) and
> truncated to 32-bit. In struct tc_htb_xstats fields
On Mon, Jul 18, 2016 at 20:42:57, Kalle Valo wrote:
> Guy; Johannes Berg; Arik Nemtsov; linux-wirel...@vger.kernel.org;
> netdev@vger.kernel.org
> Subject: Re: [PATCH] wlcore/wl18xx: mesh: added initial mesh support
> for wl8
>
> Yaniv Machani writes:
>
> > From: Maital Hahn
> On Mon, Jul 18, 2016 at 5:51 PM, Liang, Kan wrote:
> >
> >
> >> >
> >> > It is a big challenge to get good network performance. First, the
> >> > network performance is not good with default system settings.
> >> > Second, it is too difficult to do automatic tuning for
On Mon, Jul 18, 2016 at 8:45 AM, Andi Kleen wrote:
>> It seems strange to me to add such policies to the kernel.
>> Addmittingly, documentation of some settings is non-existent and one needs
>> various different tools to set this (sysctl, procfs, sysfs, ethtool, etc).
>
> The
On Mon, Jul 18, 2016 at 12:28:45PM -0500, Douglas Miller wrote:
> Since Thadeu left IBM, EHEA has gone mostly unmaintained, since his email
> address doesn't work anymore. I'm stepping up to help maintain this
> driver upstream.
>
> I'm adding Thadeu's personal e-mail address in Cc, hoping that
Yaniv Machani writes:
> From: Maital Hahn
>
> 1. Added support for interface and role of mesh type.
> 2. Enabled enable/start of mesh-point role,
>and opening and closing a connection with a mesh peer.
> 3. Added multirole combination of mesh and ap
>
>
> > > It seems strange to me to add such policies to the kernel.
> >
> > But kernel is the only place which can merge all user's requests.
>
> I don't think so.
>
> If different requests conflict in a way that is possible to dosomething
> meaningful the I don't see why userspace tool cannot
On Mon, Jul 18, 2016 at 3:26 AM, Jamal Hadi Salim wrote:
> On 16-07-18 06:07 AM, Thomas Graf wrote:
>
>>
>> Right. I was at the same point as Jamal and it is nasty to try and
>> reverse engineer the dumps without any further hints. I assume that's
>> what he is referring to
Since Thadeu left IBM, EHEA has gone mostly unmaintained, since his email
address doesn't work anymore. I'm stepping up to help maintain this
driver upstream.
I'm adding Thadeu's personal e-mail address in Cc, hoping that we can
get his ack.
CC: Thadeu Lima de Souza Cascardo
On Mon, Jul 18, 2016 at 09:38:28AM -0700, Brenden Blanco wrote:
> On Mon, Jul 18, 2016 at 04:39:38PM +0300, Tariq Toukan wrote:
> > After applying the patchset, I get no ping between two VLAN
> > interfaces (w/o activating any BPF program).
> > I'm debugging it, and will update once I find the
"Reizer, Eyal" writes:
> Add support for using with both wl12xx and wl18xx.
>
> - all wilink family needs special init command for entering wspi mode.
> extra clock cycles should be sent after the spi init command while the
> cs pin is high.
> - Use inverted chip select for
On 07/17/16 23:56, kan.li...@intel.com wrote:
> From: Kan Liang
>
> Signed-off-by: Kan Liang
> ---
> Documentation/networking/netpolicy.txt | 158
> +
> 1 file changed, 158 insertions(+)
> create mode 100644
On Sun, Jul 17, 2016 at 11:55 PM, wrote:
> From: Kan Liang
>
> It is a big challenge to get good network performance. First, the network
> performance is not good with default system settings. Second, it is too
> difficult to do automatic tuning for all
On Mon, Jul 18, 2016 at 04:39:38PM +0300, Tariq Toukan wrote:
> After applying the patchset, I get no ping between two VLAN
> interfaces (w/o activating any BPF program).
> I'm debugging it, and will update once I find the bug.
>
> Brenden, please check if you can repro the issue.
I was able to
On Mon, Jul 18, 2016 at 5:51 PM, Liang, Kan wrote:
>
>
>> >
>> > It is a big challenge to get good network performance. First, the
>> > network performance is not good with default system settings. Second,
>> > it is too difficult to do automatic tuning for all possible
Hi Kan,
On 07/18/2016 08:55 AM, kan.li...@intel.com wrote:
From: Kan Liang
It is a big challenge to get good network performance. First, the network
performance is not good with default system settings. Second, it is too
difficult to do automatic tuning for all possible
On Sun, Jul 17, 2016 at 11:56 PM, wrote:
> From: Kan Liang
>
> The existing special location RX_CLS_LOC_ANY flag is designed for the
> case which the caller does not know/care about the location. Now, this
> flag is only handled in ethtool user space.
On 7/18/16 8:48 AM, Phil Sutter wrote:
This big patch was compiled by vimgrepping for memset calls and changing
to C99 initializer if applicable. One notable exception is the
initialization of union bpf_attr in tc/tc_bpf.c: changing it would break
for older gcc versions (at least <=3.4.6).
On 7/18/16 8:48 AM, Phil Sutter wrote:
This only replaces occurrences where the newly allocated memory is
cleared completely afterwards, as in other cases it is a theoretical
performance hit although code would be cleaner this way.
Signed-off-by: Phil Sutter
---
Changes since v2:
On 7/18/16 8:48 AM, Phil Sutter wrote:
This improves my initial change in the following points:
- Flatten embedded struct's initializers.
- No need to initialize variables to zero as the key feature of C99
initializers is to do this implicitly.
- By relocating the declaration of struct rtattr
Liang, Kan wrote:
> > What is missing in the kernel UAPI so userspace could do these settings on
> > its
> > own, without adding this policy stuff to the kernel?
>
> The main purpose of the proposal is to simplify the configuration. Too many
> options will let them confuse.
On 7/18/16 8:48 AM, Phil Sutter wrote:
Since parse_rtattr_flags() calls memset already, there is no need for
callers to do so themselves.
Signed-off-by: Phil Sutter
---
ip/ipaddress.c | 2 +-
tc/tc_class.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
Acked-by:
On 7/18/16 8:48 AM, Phil Sutter wrote:
This makes it easier to build iproute2 with a custom compiler.
While at it, make HOSTCC default to the value of CC if not explicitly
set elsewhere.
Signed-off-by: Phil Sutter
---
Makefile | 4 ++--
1 file changed, 2 insertions(+), 2
> >
> > It is a big challenge to get good network performance. First, the
> > network performance is not good with default system settings. Second,
> > it is too difficult to do automatic tuning for all possible workloads,
> > since workloads have different requirements. Some workloads may want
> It seems strange to me to add such policies to the kernel.
> Addmittingly, documentation of some settings is non-existent and one needs
> various different tools to set this (sysctl, procfs, sysfs, ethtool, etc).
The problem is that different applications need different policies.
The only
On Mon, Jul 18, 2016 at 11:03:42AM +0200, Charles-Antoine Couret wrote:
Hi Charles-Antoine
You really should have some sort of comment here which will go into
the commit log. It can just be the Subject said differently.
Reviewed-by: Andrew Lunn
Andrew
On Mon, Jul 18, 2016 at 11:03:41AM +0200, Charles-Antoine Couret wrote:
> Add support for the fiber receiver error counter in the
> statistics. Rename the current counter which is for copper errors to
> phy_receive_errors_copper, so it is easy to distinguish copper from
> fiber.
>
>
On Mon, Jul 18, 2016 at 11:03:43AM +0200, Charles-Antoine Couret wrote:
Again, a commit message is needed.
Reviewed-by: Andrew Lunn
Andrew
Hi Dave,
This patchset improves the mlx4_en driver resiliency, especially on
systems with low memory. Upon a configuration change that requires
the allocation of new resources, we first try to allocate, prior to
destroying the current ones. Once it is successfully done,
we release the old
From: Eugenia Emantayev
Filters cleanup should be done once before destroying net device,
since filters list is contained in the private data.
Fixes: 1eb8c695bda9 ('net/mlx4_en: Add accelerated RFS support')
Signed-off-by: Eugenia Emantayev
From: Eugenia Emantayev
This patch fixes the lost of Ethernet port on low memory system,
when driver frees its resources and fails to allocate new resources.
Issue could happen while changing number of channels, rings size or
changing the timestamp configuration.
This fix
On Mon, Jul 18, 2016 at 11:03:40AM +0200, Charles-Antoine Couret wrote:
Hi Charles-Antoine
Looking good. Just one nitpick.
> /* marvell_read_status
You missed changing this name above.
> *
> - * Generic status code does not detect Fiber correctly!
> * Description:
> * Check the link,
kan.li...@intel.com wrote:
> From: Kan Liang
>
> It is a big challenge to get good network performance. First, the network
> performance is not good with default system settings. Second, it is too
> difficult to do automatic tuning for all possible
From: Gerard Garcia
This patch applies over the stefanha/vsock-next repository:
https://github.com/stefanha/linux/tree/vsock-next
Once the guest puts a packet in the virtqueue it is guaranteed
that it will be delivered.
This patch addresses the problem of packets being
From: Gerard Garcia
Better testing support files
Signed-off-by: Gerard Garcia
---
drivers/vhost/vsock.c | 52 ++-
1 file changed, 47 insertions(+), 5 deletions(-)
diff --git a/drivers/vhost/vsock.c
On Mon, Jul 18, 2016 at 4:14 PM, Oliver Neukum wrote:
>> Ok, sounds good. So far, I have only seen the random MAC issue with
>> the three previously mentioned devices, but who knows how many else is
>> out there with the same error ... I don't think it should be in the
>> core
Since parse_rtattr_flags() calls memset already, there is no need for
callers to do so themselves.
Signed-off-by: Phil Sutter
---
ip/ipaddress.c | 2 +-
tc/tc_class.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ip/ipaddress.c b/ip/ipaddress.c
index
This makes it easier to build iproute2 with a custom compiler.
While at it, make HOSTCC default to the value of CC if not explicitly
set elsewhere.
Signed-off-by: Phil Sutter
---
Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
This big patch was compiled by vimgrepping for memset calls and changing
to C99 initializer if applicable. One notable exception is the
initialization of union bpf_attr in tc/tc_bpf.c: changing it would break
for older gcc versions (at least <=3.4.6).
Calls to memset for struct rtattr pointer
This only replaces occurrences where the newly allocated memory is
cleared completely afterwards, as in other cases it is a theoretical
performance hit although code would be cleaner this way.
Signed-off-by: Phil Sutter
---
Changes since v2:
- Fix checkpatch errors.
---
genl/genl.c
This is v5 of my C99-style initializer related patch series. The changes
since v4 are:
- Rebased to current origin/master with just a minor context conflict in
patch 2.
For reference, here's the v4 changelog:
- Use empty initializer instead of the universal zero initializer:
The latter one
This improves my initial change in the following points:
- Flatten embedded struct's initializers.
- No need to initialize variables to zero as the key feature of C99
initializers is to do this implicitly.
- By relocating the declaration of struct rtattr *tail, it can be
initialized at the
From: Kan Liang
This patch introduce NET policy subsystem. If proc is supported in the
system, it creates netpolicy node in proc system.
Signed-off-by: Kan Liang
---
include/linux/netdevice.h | 7 +++
include/net/net_namespace.h | 3 ++
From: Kan Liang
Implement ndo_get_irq_info in i40e driver to get irq information of rx
and tx queues.
Signed-off-by: Kan Liang
---
drivers/net/ethernet/intel/i40e/i40e_main.c | 40 +
1 file changed, 40 insertions(+)
diff
From: Kan Liang
This patch tries to initialize NET policy for all the devices in the
system. However, not all device drivers have NET policy support. For
those drivers who does not have NET policy support, the node will not be
showed in /proc/net/netpolicy/.
The device
From: Kan Liang
This patch introduces functions to enable and disable net policy.
For enabling, it collects device and cpu information, setup cpu/queue
mapping, and set irq affinity accordingly.
For disabling, it removes the irq affinity and mapping information.
np_lock
From: Kan Liang
This patches introduces functions to set and remove irq affinity
according to cpu and queue mapping.
The functions will not record the previous affinity status. After a
set/remove cycles, it will set the affinity on all online cpu with irq
balance enabling.
From: Kan Liang
Current implementation forces CPU and queue 1:1 mapping. This patch
introduces the function netpolicy_update_sys_map to create this mapping.
The result is stored in netpolicy_sys_info.
If the CPU count and queue count are different, the remaining
CPUs/queues
From: Kan Liang
Net policy also needs to know CPU information. Currently, online
CPU number is enough.
Signed-off-by: Kan Liang
---
net/core/netpolicy.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/net/core/netpolicy.c
From: Kan Liang
Support ndo_netpolicy_init in i40e driver.
For i40e driver, there is no extra initialization work to do. It only
needs to update the available policy bitmap.
policy_param will be filled according to different policies later.
Signed-off-by: Kan Liang
From: Kan Liang
Support net device up/down/namechange in the netpolicy code.
Signed-off-by: Kan Liang
---
net/core/netpolicy.c | 66 +---
1 file changed, 58 insertions(+), 8 deletions(-)
diff --git
From: Kan Liang
Net policy needs to know device information. Currently, it's enough to
only get irq information of rx and tx queues. This patch
introduces ndo_get_irq_info to do so.
Signed-off-by: Kan Liang
---
include/linux/netdevice.h | 5 +
From: Kan Liang
Introduce three net policies for i40e driver.
CPU policy: configure for higher throughput and lower CPU%.
BULK policy: configure for highest throughput.
LATENCY policy: configure for lowest latency.
Lots of tests are done for net policy on platforms with
From: Kan Liang
It is a big challenge to get good network performance. First, the network
performance is not good with default system settings. Second, it is too
difficult to do automatic tuning for all possible workloads, since workloads
have different requirements. Some
From: Kan Liang
User can write policy name to /proc/net/netpolicy/$DEV/policy to enable
net policy for specific device.
When the policy is enabled, the module automatically disables irq
balance and set irq affinity. The object list is also generated
accordingly.
np_lock
From: Kan Liang
For CPU hotplug, the net policy module will rebuild the sys map and
object list.
Signed-off-by: Kan Liang
---
net/core/netpolicy.c | 78
1 file changed, 78 insertions(+)
diff --git
From: Kan Liang
Enable i40e MIX policy support. Based on the test, the MIX policy has
better performance if increasing rx interrupt moderation a little bit.
For evaluating the MIX policy performance, mixed workloads are tested.
The mixed workloads are combination of
From: Kan Liang
User can uses ethtool to set the channel number. This patch handles the
channel changes by rebuilding the object list.
Signed-off-by: Kan Liang
---
include/linux/netpolicy.h | 8
net/core/ethtool.c| 8 +++-
From: Kan Liang
When the device tries to transmit a buffer, netdev_pick_tx is called to
find the available tx queues. This patch checks the per socket net
policy of the binding socket of the buffer. If net policy is set, it
picks up the assigned tx queue from net policy
From: Kan Liang
Users may not want to change the source code to add per task net polic
support. Or they may want to change a running task's net policy. prctl
does not work for both cases.
This patch adds an interface in /proc, which can be used to set and
retrieve policy of
From: Kan Liang
MIX policy is combine of other policies. It allows different queue has
different policy. If MIX policy is applied,
/proc/net/netpolicy/$DEV/policy shows per queue policy.
Usually, the workloads requires either high throughput or low latency.
So for current
On Mon, Jul 18, 2016 at 4:14 PM, Oliver Neukum wrote:
>> Ok, sounds good. So far, I have only seen the random MAC issue with
>> the three previously mentioned devices, but who knows how many else is
>> out there with the same error ... I don't think it should be in the
>> core
From: Kan Liang
This patch introduces the concept of netpolicy object and policy object
list.
The netpolicy object is the instance of CPU/queue mapping. The object
can be shared between different tasks/sockets. So besides CPU and queue
information, the object also maintains
From: Kan Liang
For setting rx queues, this patch add rules for Flow Director filters.
Since we may not get all the information required for rule until the
first package arrived, it will add the rule after recvmsg. The first
several packages may not use the assigned queue.
From: Kan Liang
This function will be used to get assigned queues by policy and ptr.
If it's first time, get_avail_queue will be called to find the available
object from the given policy object list.
Signed-off-by: Kan Liang
---
From: Kan Liang
The network socket is the most basic unit which control the network
traffic. This patch introduces a new socket option SO_NETPOLICY to
set/get net policy for socket. so that the application can set its own
policy on socket to improve the network performance.
From: Kan Liang
User can register itself in netpolicy module with specific policy.
If it's the first time to register, an record will be created and
inserted into RCU hash table. The record includes ptr, policy and object
information. ptr is assigned by the user which is
From: Kan Liang
The existing special location RX_CLS_LOC_ANY flag is designed for the
case which the caller does not know/care about the location. Now, this
flag is only handled in ethtool user space. If the kernel directly calls
the ETHTOOL_SRXCLSRLINS interface with
From: Kan Liang
Usually, application as a whole has specific requirement. Applying the
net policy to all sockets one by one in the application is too complex.
This patch introduces per task net policy to address this case.
Once the per task net policy is applied, all the
From: Kan Liang
Some drivers like i40e driver does not support separate tx and rx queues
as channels. Using rx queue to stand for the channels, if queue_pair is
set by driver.
Signed-off-by: Kan Liang
---
drivers/net/ethernet/intel/i40e/i40e_main.c |
From: Kan Liang
Current implementation searches the hash table to get assigned object
for each transmit/receive packet. It's not necessory, because the
assigned object usually remain unchanged.
This patch store the assigned queue into netpolicy_reg struct. So it
doesnot
From: Kan Liang
Signed-off-by: Kan Liang
---
Documentation/networking/netpolicy.txt | 158 +
1 file changed, 158 insertions(+)
create mode 100644 Documentation/networking/netpolicy.txt
diff --git
From: Kan Liang
NET policy can not fulfill users request without limit, because of the
security consideration and device limitation. For security
consideration, the attacker may fake millions of per task/socket request
to crash the system. For device limitation, the flow
From: Kan Liang
Setting net policy for all tx and rx queues according to policy name.
For i40e driver, the policy only changes per queue interrupt moderation.
It uses new ethtool callback (per queue coalesce setting) to configure
the driver.
Signed-off-by: Kan Liang
On Mon, 2016-07-18 at 16:10 +0200, Kristian Evensen wrote:
> On Mon, Jul 18, 2016 at 3:50 PM, Oliver Neukum wrote:
> > No, you misunderstand me. I don't want quirks if we can avoid it.
> > But if you need to do this for rndis_host and cdc_ether and maybe other
> > drivers you
Hello.
On 07/18/2016 09:24 AM, David Miller wrote:
Here's a set of 2 patches against DaveM's 'net.git' repo fixing
up the DMA channel reporting by 'ifconfig'...
Is some fixing some ifconfig output that is effectively meaningless
appropriate for 'net'?
I just don't know any more users
On Mon, Jul 18, 2016 at 3:50 PM, Oliver Neukum wrote:
> No, you misunderstand me. I don't want quirks if we can avoid it.
> But if you need to do this for rndis_host and cdc_ether and maybe other
> drivers you should not be touching drivers. This belongs into the core
> ethernet
From: Zhu Yanjun
When performing hardware reset, it is not necessary to check hang.
Or else, the call trace will appear.
Signed-off-by: Zhu Yanjun
---
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 5 +
1 file changed, 5 insertions(+)
diff
On Mon, 2016-07-18 at 15:23 +0200, Kristian Evensen wrote:
> Hi,
>
> On Mon, Jul 18, 2016 at 3:01 PM, Oliver Neukum wrote:
> > On Mon, 2016-07-18 at 14:24 +0200, Kristian Evensen wrote:
> >> The firmware in the ZTE MF823/831/910 modems/mifis use OS fingerprinting to
> >>
After applying the patchset, I get no ping between two VLAN interfaces
(w/o activating any BPF program).
I'm debugging it, and will update once I find the bug.
Brenden, please check if you can repro the issue.
Regards,
Tariq
On Wed, Jul 13, 2016 at 02:45:40PM +0300, Yaniv Machani wrote:
> The HT capab info field inside the HT capab IE of the mesh beacon
> is incorrect (in the case of 20MHz channel width).
> To fix this driver will check configuration from cfg and
> will build it accordingly.
> +/* determine
Hi,
On Mon, Jul 18, 2016 at 3:01 PM, Oliver Neukum wrote:
> On Mon, 2016-07-18 at 14:24 +0200, Kristian Evensen wrote:
>> The firmware in the ZTE MF823/831/910 modems/mifis use OS fingerprinting to
>> determine which type of device to export. In addition, these devices export
On Mon, Jul 18, 2016 at 2:48 PM, Thomas Graf wrote:
> On 07/18/16 at 01:39pm, Tom Herbert wrote:
>> On Mon, Jul 18, 2016 at 11:10 AM, Thomas Graf wrote:
>> > I agree with that but I would like to keep the current per net_device
>> > atomic properties.
>>
>> I don't
On Mon, 2016-07-18 at 14:24 +0200, Kristian Evensen wrote:
> The firmware in the ZTE MF823/831/910 modems/mifis use OS fingerprinting to
> determine which type of device to export. In addition, these devices export
> a REST API which can also be used to control the type of device. So far, on
>
On 07/18/16 at 01:39pm, Tom Herbert wrote:
> On Mon, Jul 18, 2016 at 11:10 AM, Thomas Graf wrote:
> > I agree with that but I would like to keep the current per net_device
> > atomic properties.
>
> I don't see that see that there is any synchronization guarantees
> using xchg.
The firmware in the ZTE MF823/831/910 modems/mifis use OS fingerprinting to
determine which type of device to export. In addition, these devices export
a REST API which can also be used to control the type of device. So far, on
Linux, the devices have been seen as RNDIS or CDC Ether.
When CDC
This is the v3 of https://patchwork.ozlabs.org/patch/648790/
On Sat, Jul 16, 2016 at 05:33:15PM -0400, Willem de Bruijn wrote:
> From: Willem de Bruijn
>
> Do not cache pointers into the skb linear segment across sk_filter.
> The function call can trigger pskb_expand_head.
>
> Signed-off-by: Willem de Bruijn
This flag indicates whether fragmentation of segments is allowed.
Formerly this policy was hardcoded according to IPSKB_FORWARDED (set by
either ip_forward or ipmr_forward).
Cc: Hannes Frederic Sowa
Cc: Florian Westphal
Signed-off-by: Shmulik Ladkani
Given:
- tap0 and vxlan0 are bridged
- vxlan0 stacked on eth0, eth0 having small mtu (e.g. 1400)
Assume GSO skbs arriving from tap0 having a gso_size as determined by
user-provided virtio_net_hdr (e.g. 1460 corresponding to VM mtu of 1500).
After encapsulation these skbs have
101 - 200 of 247 matches
Mail list logo