>> What is the issue with using separate sockets that you are
>> having? I generally end up using that even with V2.
>
> Why do you end up having to use 2 sockets with V2? That part
> worked out quite nicely for my case (for a simple netserver like
> req/resp handler).
Yes, that should work fine,
Add net.ipv4.ip_unprotected_port_start, which is a per namespace sysctl
that denotes the first unprotected inet port in the namespace. To
disable all protected ports set this to zero. It also checks for
overlap with the local port range. The protected and local range may
not overlap.
The use ca
The ipvlan code already knows how to detect when a duplicate address is
about to be assigned to an ipvlan device. However, that failure is not
propogated outward and leads to a silent failure. This teaches the ip
address addition functions how to report this error to the user
applications so that
On (12/30/16 18:39), Willem de Bruijn wrote:
>
> Variable length slots seems like the only one from that list that
> makes sense on Tx.
>
> It is already possible to prepare multiple buffers before triggering
> transmit, so the block-based signal moderation is not very relevant.
FWIW, here is ou
On Thu, Dec 29, 2016 at 10:21 PM, David Miller wrote:
> From: Willem de Bruijn
> Date: Wed, 28 Dec 2016 14:13:24 -0500
>
>> The skb tc_verd field takes up two bytes but uses far fewer bits.
>> Convert the remaining use cases to bitfields that fit in existing
>> holes (depending on config options)
From: Eric Biggers
->setattr() was recently implemented for socket files to sync the socket
inode's uid to the new 'sk_uid' member of struct sock. It does this by
copying over the ia_uid member of struct iattr. However, ia_uid is
actually only valid when ATTR_UID is set in ia_valid, indicating
>> Once we define the interface as equivalent to v2, we cannot redefine it to
>> support v3-only features later.
>
> What v3 only features do we think we want to support?
Variable length slots seems like the only one from that list that
makes sense on Tx.
It is already possible to prepare multipl
Hi,
(Please cc me as I'm not subscribed to the list, thanks.)
I'm trying to set things up using some policy routing, and having some
weird issues I can't really explain. It looks to me like there might be
a bug somewhere...
This is done under Arch Linux 64bits, iproute2 4.9.0 (`ip -V` says ip
ut
On (12/30/16 16:33), Willem de Bruijn wrote:
>
> Once we define the interface as equivalent to v2, we cannot redefine it to
> support v3-only features later.
What v3 only features do we think we want to support?
Tpacket_v3 went in
commit f6fb8f100b807378fda19e83e5ac6828b638603a
:
Date:
On Fri, Dec 30, 2016 at 11:54 AM, Sowmini Varadhan
wrote:
> Although TPACKET_V3 Rx has some benefits over TPACKET_V2 Rx,
> *_v3 does not currently have Tx support. As a result an application
> that wants the best perf for Tx and Rx (e.g. to handle
> request/response transacations) ends up needing
From: Thomas Preisner
Date: Fri, 30 Dec 2016 03:37:54 +0100
> In some cases the return value of a failing function is not being used
> and the function typhoon_init_one() returns another negative error code
> instead.
>
> Signed-off-by: Thomas Preisner
> Signed-off-by: Milan Stephan
Applied t
From: Thomas Preisner
Date: Fri, 30 Dec 2016 03:37:53 +0100
> In a few cases the err-variable is not set to a negative error code if a
> function call in typhoon_init_one() fails and thus 0 is returned
> instead.
> It may be better to set err to the appropriate negative error
> code before return
From: Daniel Mack
Date: Thu, 29 Dec 2016 18:28:53 +0100
> This patch set adds a longest prefix match algorithm that can be used
> to match IP addresses to a stored set of ranges. It is exposed as a
> bpf map type.
>
> Internally, data is stored in an unbalanced tree of nodes that has a
> maxi
From: David Ahern
Date: Thu, 29 Dec 2016 15:39:37 -0800
> IP_MULTICAST_IF fails if sk_bound_dev_if is already set and the new index
> does not match it. e.g.,
>
> ntpd[15381]: setsockopt IP_MULTICAST_IF 192.168.1.23 fails: Invalid
> argument
>
> Relax the check in setsockopt to allow setti
From: Pavel Tikhomirov
Date: Thu, 29 Dec 2016 17:35:07 +0300
> @@ -958,7 +959,9 @@ static struct ctl_table ipv4_net_table[] = {
> .data = &init_net.ipv4.sysctl_tcp_notsent_lowat,
> .maxlen = sizeof(unsigned int),
> .mode = 0644
From: yuan linyu
Date: Thu, 29 Dec 2016 20:39:32 +0800
> From: yuan linyu
>
> 1. put_cmsg{_compat}() may copy data to user when buffer free space less than
>control message header alignment size.
> 2. scm_detach_fds{_compat}() may calc wrong fdmax if control message header
>have greater
There are still some cases that aren't correctly handled in the socket
lookup functions of l2tp_ip and l2tp_ip6. This series fixes lookups for
connected sockets and for sockets bound to the IPv6 unspecified
address.
bind() and connect() should now work as expected on IPPROTO_L2TP
sockets. Extra fe
An L2TP socket bound to the unspecified address should match with any
address. If not, it can't receive any packet and __l2tp_ip6_bind_lookup()
can't prevent another socket from binding on the same device/tunnel ID.
While there, rename the 'addr' variable to 'sk_laddr' (local addr), to
make follow
For connected sockets, __l2tp_ip{,6}_bind_lookup() needs to check the
remote IP when looking for a matching socket. Otherwise a connected
socket can receive traffic not originating from its peer.
Drop l2tp_ip_bind_lookup() and l2tp_ip6_bind_lookup() instead of
updating their prototype, as these fu
On 12/30/2016 7:43 AM, Or Gerlitz wrote:
On Fri, Dec 30, 2016 at 8:21 AM, Sridhar Samudrala
wrote:
[..]
- enable/disable VF link state via ndo_set_vf_link_state will update the
admin state of associated VFPR.
why you want to do that? anything missing here w.o using the legacy mode?
Nothing
On 12/30/2016 7:31 AM, Or Gerlitz wrote:
On Fri, Dec 30, 2016 at 8:21 AM, Sridhar Samudrala
wrote:
In switchdev mode, broadcast filter is not enabled on VFs, The broadcasts and
nit ", The broadcast" --> ", the broadcasts" or ". The broadcasts"
unknown frames from VFs are received by the PF a
Although TPACKET_V3 Rx has some benefits over TPACKET_V2 Rx,
*_v3 does not currently have Tx support. As a result an application
that wants the best perf for Tx and Rx (e.g. to handle
request/response transacations) ends up needing 2 sockets,
one with *_v2 for Tx and another with *_v3 for Rx.
This
On 12/29/2016 6:53 PM, David Miller wrote:
From: Sridhar Samudrala
Date: Thu, 29 Dec 2016 22:20:57 -0800
- Patch 1 introduces devlink interface to get/set the mode of SRIOV switch.
- Patch 2 adds support to create VF port representor(VFPR) netdevs associated
with SR-IOV VFs that can be used
On Fri, Dec 30, 2016 at 8:21 AM, Sridhar Samudrala
wrote:
[..]
> - enable/disable VF link state via ndo_set_vf_link_state will update the
> admin state of associated VFPR.
why you want to do that? anything missing here w.o using the legacy mode?
On Fri, Dec 30, 2016 at 8:21 AM, Sridhar Samudrala
wrote:
> In switchdev mode, broadcast filter is not enabled on VFs, The broadcasts and
nit ", The broadcast" --> ", the broadcasts" or ". The broadcasts"
> unknown frames from VFs are received by the PF and passed to corresponding VF
> port repr
From: Colin Ian King
trivial fix to spelling mistake in RT_TRACE message
Signed-off-by: Colin Ian King
---
drivers/net/wireless/realtek/rtlwifi/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/realtek/rtlwifi/core.c
b/drivers/net/wireless/realtek
Colin King writes:
> From: Colin Ian King
>
> Trivial fix to spelling mistake in err message. Also change "don't" to
> "does not".
>
> Signed-off-by: Colin Ian King
> ---
> drivers/media/usb/dvb-usb/gp8psk.c | 2 +-
> drivers/net/wireless/realtek/rtlwifi/core.c | 2 +-
> 2 files chang
From: Colin Ian King
Trivial fix to spelling mistake in ath_err message
Signed-off-by: Colin Ian King
---
drivers/net/wireless/ath/ath9k/hw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ath/ath9k/hw.c
b/drivers/net/wireless/ath/ath9k/hw.c
index a35
Colin Ian King wrote:
> From: Colin Ian King
>
> Trivial fixes to spelling mistake "Ivalid" to "Invalid" in
> brcmf_err error messages.
>
> Signed-off-by: Colin Ian King
> Acked-by: Arend van Spriel
Patch applied to wireless-drivers-next.git, thanks.
ad334bbb07b0 brcmfmac: fix spelling mist
Colin Ian King wrote:
> From: Colin Ian King
>
> trivial fix to spelling mistake in RT_TRACE message
>
> Signed-off-by: Colin Ian King
> Acked-by: Larry Finger
Patch applied to wireless-drivers-next.git, thanks.
3b1fc7680a0f rtlwifi: fix spelling mistake: "contry" -> "country"
--
https://
Bhumika Goyal wrote:
> cfg80211_ops structures are only passed as an argument to the function
> wiphy_new. This argument is of type const, so cfg80211_ops strutures
> having this property can be declared as const.
> Done using Coccinelle
>
> @r1 disable optional_qualifier @
> identifier i;
> posi
Bhumika Goyal wrote:
> cfg80211_ops structures are only passed as an argument to the function
> wiphy_new. This argument is of type const, so cfg80211_ops strutures
> having this property can be declared as const.
> Done using Coccinelle
>
> @r1 disable optional_qualifier @
> identifier i;
> posi
Bhumika Goyal wrote:
> cfg80211_ops structures are only passed as an argument to the function
> wiphy_new. This argument is of type const, so cfg80211_ops strutures
> having this property can be declared as const.
> Done using Coccinelle
>
> @r1 disable optional_qualifier @
> identifier i;
> posi
Hi,
Hi,
On this occasion, also the next can be fixed:
> From: Don Skidmore
>
> This patch ensures that the advertised link speeds are configured for
> X553 KR/KX backplane. Without this patch the link remains at 1G when
> resuming form low power after being downshifted by LPLU.
Should be "f
From: Niklas Cassel
For core revision 3.x Address-Aligned Beats is available in two registers.
The DT property snps,aal was created for AAL in the DMA bus register,
which is a read/write bit.
The DT property snps,axi_all was created for AXI_AAL in the AXI bus mode
register, which is a read only b
Hi John,
I note you have a patch request last august about "support lockless qdisc”,
see: https://www.mail-archive.com/netdev@vger.kernel.org/msg124489.html
We take an interest in it. Do you have any info/plan on this patch?
Thanks
Xingjun
Hello.
On 12/30/2016 12:33 PM, Jeff Kirsher wrote:
From: Don Skidmore
This patch ensures that the advertised link speeds are configured
for X553 KR/KX backplane. Without this patch the link remains at
1G when resuming form low power after being downshifted by LPLU.
Signed-off-by: Don Skidmo
Hello!
On 12/30/2016 12:33 PM, Jeff Kirsher wrote:
From: Emil Tantilov
Make sure that we free the IRQs in ixgbevf_io_error_detected() when
responding to an PCIe AER error and also restore them when the
interface recovers from it.
Previously it was possible to trigger BUG_ON() check in free_m
ATENCIÓN;
Su buzón ha superado el límite de almacenamiento, que es de 5 GB definidos por
el administrador, quien actualmente está ejecutando en 10.9GB, no puede ser
capaz de enviar o recibir correo nuevo hasta que vuelva a validar su buzón de
correo electrónico. Para revalidar su buzón de corre
From: Mark Rustad
The firmware version method and functions are not used anywhere, so
remove them all.
Signed-off-by: Mark Rustad
Tested-by: Krishneil Singh
Signed-off-by: Jeff Kirsher
---
drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c | 2 --
drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c
From: Tony Nguyen
Some x550 devices require the driver version reported to its firmware; this
patch sends the driver version string to the firmware through the host
interface command for x550 devices.
Signed-off-by: Tony Nguyen
Tested-by: Andrew Bowers
Signed-off-by: Jeff Kirsher
---
drivers
From: Don Skidmore
This patch extends the xcast mailbox message to include support for
unicast promiscuous mode. To allow a VF to enter this mode the PF
must be in promiscuous mode.
A later patch will add the support needed in the VF driver (ixgbevf)
Signed-off-by: Don Skidmore
Tested-by: And
From: Don Skidmore
This patch extends the mailbox message to allow for VF promiscuous
mode support.
Signed-off-by: Don Skidmore
Tested-by: Andrew Bowers
Signed-off-by: Jeff Kirsher
---
drivers/net/ethernet/intel/ixgbevf/ixgbevf.h | 1 +
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
From: Tony Nguyen
A retry count of 10 is likely to run into problems on X550 devices that
have to detect and reset unresponsive CS4227 devices. So, reduce the I2C
retry count to 3 for X550 and above. This should avoid any possible
regressions in existing devices.
Signed-off-by: Tony Nguyen
Test
From: Mark Rustad
Implement new interface for firmware commands to access some PHYs.
Signed-off-by: Mark Rustad
Tested-by: Krishneil Singh
Signed-off-by: Jeff Kirsher
---
drivers/net/ethernet/intel/ixgbe/ixgbe_common.h | 2 +
drivers/net/ethernet/intel/ixgbe/ixgbe_type.h | 66
From: Emil Tantilov
The indirection table was reported incorrectly for X550 and newer
where we can support up to 64 RSS queues.
Reported-by Krishneil Singh
Signed-off-by: Emil Tantilov
Tested-by: Andrew Bowers
Signed-off-by: Jeff Kirsher
---
drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c | 8
From: Tony Nguyen
BaseT adapters that are capable of supporting 100Mb are not reporting this
capability. This patch corrects the reporting so that 100Mb is shown as
supported on those adapters.
Signed-off-by: Tony Nguyen
Tested-by: Andrew Bowers
Signed-off-by: Jeff Kirsher
---
drivers/net/e
From: Emil Tantilov
When an interface is part of a namespace it is possible that
ixgbevf_close() may be called while ixgbevf_suspend() is running
which ends up in a double free WARN and/or a BUG in free_msi_irqs()
To handle this situation we extend the rtnl_lock() to protect the
call to netif_de
From: Yusuke Suzuki
Rx timestamp does not work on 82599 and X540 because bitwise operation
of RX_HWTSTAMP flags is incorrect and ixgbe_ptp_rx_hwtstamp() is never
called. This patch fixes it to enable Rx timestamp on 82599 and X540.
Without this fix:
ptp4l[278.730]: selected /dev/ptp8 as PTP cloc
From: Mark Rustad
Implement support for devices that have firmware-controlled PHYs.
Signed-off-by: Mark Rustad
Tested-by: Krishneil Singh
Signed-off-by: Jeff Kirsher
---
drivers/net/ethernet/intel/ixgbe/ixgbe.h | 4 +
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c | 9 +
driver
From: Emil Tantilov
Make sure that we free the IRQs in ixgbevf_io_error_detected() when
responding to an PCIe AER error and also restore them when the
interface recovers from it.
Previously it was possible to trigger BUG_ON() check in free_msix_irqs()
in the case where we call ixgbevf_remove() a
From: Emil Tantilov
Restore adapter->hw.hw_addr after handling an error, or a resume
operation to make sure we can access the registers.
Signed-off-by: Emil Tantilov
Tested-by: Andrew Bowers
Signed-off-by: Jeff Kirsher
---
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 3 +++
1 file cha
From: Tony Nguyen
This is an extension of commit 003287e0f087 ("ixgbevf: Correct parameter
sent to LED function"); add bounds checking to x540 functions to ensure the
index is valid.
Signed-off-by: Tony Nguyen
Tested-by: Andrew Bowers
Signed-off-by: Jeff Kirsher
---
drivers/net/ethernet/inte
From: Emil Tantilov
Make sure that we free the IRQs in ixgbe_io_error_detected() when
responding to an PCIe AER error and also restore them when the
interface recovers from it.
Previously it was possible to trigger BUG_ON() check in free_msix_irqs()
in the case where we call ixgbe_remove() after
From: Emil Tantilov
When an interface is part of a namespace it is possible that
ixgbe_close() may be called while __ixgbe_shutdown() is running
which ends up in a double free WARN and/or a BUG in free_msi_irqs().
To handle this situation we extend the rtnl_lock() to protect the
call to netif_de
From: Ken Cox
There are two methods for setting mac addresses in a Macvlan, that
differentiate themselves in the function macvlan_set_mac_Address.
If the macvlan mode is passthru, then we use the dev_set_mac_address
method, otherwise we use the dev_uc api via macvlan_sync_addresses.
The latter me
This series contains updates to ixgbe and ixgbevf only.
Emil fixes ixgbe to use the NVM settings for FEC, so do not override the
settings. Fixed the indirection table for x550, where newer devices can
support up to 64 RSS queues. Extends the rtnl_lock() to protect the call
to netif_device_detach
From: Don Skidmore
This patch ensures that the advertised link speeds are configured
for X553 KR/KX backplane. Without this patch the link remains at
1G when resuming form low power after being downshifted by LPLU.
Signed-off-by: Don Skidmore
Signed-off-by: Jeff Kirsher
---
drivers/net/ether
From: Emil Tantilov
FEC is configured by the NVM and the driver should not be
overriding it.
Signed-off-by: Emil Tantilov
Tested-by: Krishneil Singh
Signed-off-by: Jeff Kirsher
---
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/
From: Tony Nguyen
The generic PHY reset check we had previously is not sufficient for the
ixgbe_phy_x550em_ext_t PHY type. Check 1.CC02.0 instead - same as
ixgbe_init_ext_t_x550().
Signed-off-by: Tony Nguyen
Tested-by: Andrew Bowers
Signed-off-by: Jeff Kirsher
---
drivers/net/ethernet/intel
From: Mark Rustad
There are two problems with EEPROM access. One is that it needs to
hold the semaphore until the entire response is read or else the
response can be corrupted by other firmware accesses. The second
problem is that acquiring and releasing the semaphore is slow, so
it should be tak
Signed-off-by: Greentime Hu
---
Changes in v3:
- Nothing changed in this patch but I have committed andestech to
vendor-prefixes.txt.
drivers/net/ethernet/faraday/ftmac100.c |7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/net/ethernet/faraday/ftmac100.c
b/drivers/net/et
62 matches
Mail list logo