[PATCH net-next 8/8] bnxt_en: Add a driver specific devlink parameter.

2018-09-11 Thread Vasundhara Volam
This patch adds following driver-specific permanent mode boolean parameter. gre_ver_check - When this param is disabled, device skips GRE version check. Signed-by: Vasundhara Volam --- drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c | 24 ++-

[PATCH net-next 7/8] bnxt_en: Use msix_vec_per_pf_max and msix_vec_per_pf_min devlink params.

2018-09-11 Thread Vasundhara Volam
This patch adds support for following generic permanent mode devlink parameters. They can be modified using devlink param commands. msix_vec_per_pf_max - This param sets the number of MSIX vectors that the device requests from the host on driver initialization. This value is set in the device

[PATCH net-next 6/8] bnxt_en: return proper error when FW returns HWRM_ERR_CODE_RESOURCE_ACCESS_DENIED

2018-09-11 Thread Vasundhara Volam
Return proper error code when Firmware returns HWRM_ERR_CODE_RESOURCE_ACCESS_DENIED for HWRM_NVM_GET/SET_VARIABLE commands. Signed-off-by: Vasundhara Volam --- drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git

[PATCH net-next 5/8] bnxt_en: Use hw_tc_offload and ignore_ari devlink parameters

2018-09-11 Thread Vasundhara Volam
This patch adds support for following generic permanent mode devlink parameters. Both are disabled by default. They can be enabled using devlink param commands. hw_tc_offload - Enable/Disable TC flower offload in the device. ignore_ari - Device ignores ARI(Alternate Routing ID) capability, even

[PATCH net-next 0/8] bnxt_en: devlink param updates

2018-09-11 Thread Vasundhara Volam
This patchset adds support for 4 generic and 1 driver-specific devlink parameters. Also, this patchset adds support to return proper error code if HWRM_NVM_GET/SET_VARIABLE commands return error code HWRM_ERR_CODE_RESOURCE_ACCESS_DENIED. Vasundhara Volam (8): devlink: Add generic parameter

[PATCH net-next 1/8] devlink: Add generic parameter hw_tc_offload

2018-09-11 Thread Vasundhara Volam
hw_tc_offload - Enable/Disable TC flower offload in the device. Signed-off-by: Vasundhara Volam --- include/net/devlink.h | 4 net/core/devlink.c| 5 + 2 files changed, 9 insertions(+) diff --git a/include/net/devlink.h b/include/net/devlink.h index b9b89d6..a0e9ce9 100644 ---

[PATCH net-next 4/8] devlink: Add generic parameter msix_vec_per_pf_min

2018-09-11 Thread Vasundhara Volam
msix_vec_per_pf_min - This param sets the number of minimal MSIX vectors required for the device initialization. This value is set in the device which limits MSIX vectors per PF. Signed-off-by: Vasundhara Volam --- include/net/devlink.h | 4 net/core/devlink.c| 5 + 2 files

[PATCH net-next 3/8] devlink: Add generic parameter msix_vec_per_pf_max

2018-09-11 Thread Vasundhara Volam
msix_vec_per_pf_max - This param sets the number of MSIX vectors that the device requests from the host on driver initialization. This value is set in the device which is applicable per PF. Signed-off-by: Vasundhara Volam --- include/net/devlink.h | 4 net/core/devlink.c| 5 + 2

[PATCH net-next 2/8] devlink: Add generic parameter ignore_ari

2018-09-11 Thread Vasundhara Volam
ignore_ari - Device ignores ARI(Alternate Routing ID) capability, even when platforms has the support and creates same number of partitions when platform does not support ARI capability. Signed-off-by: Vasundhara Volam --- include/net/devlink.h | 4 net/core/devlink.c| 5 + 2 files

Re: Allow bpf_perf_event_output to access packet data

2018-09-11 Thread Lorenz Bauer
On 10 September 2018 at 09:26, Jakub Kicinski wrote: > The 0x20ULL will mean use the index in the map for current CPU > (0x), and output 32 bytes of the context (0x20 << 32). For > networking programs context means the packet (slightly confusingly). > > These are the relevant

Re: [net-next, v2, 1/2] net: stmmac: Rework coalesce timer and fix multi-queue races

2018-09-11 Thread Jose Abreu
On 10-09-2018 19:15, Neil Armstrong wrote: > > RX is still ok but now TX fails almost immediately... > > With 100ms report : > > $ iperf3 -c 192.168.1.47 -t 0 -p 5202 -R -i 0.1 > Connecting to host 192.168.1.47, port 5202 > Reverse mode, remote host 192.168.1.47 is sending > [ 4] local

Re: unexpected GRO/veth behavior

2018-09-11 Thread Paolo Abeni
Hi, On Mon, 2018-09-10 at 16:44 +0200, Paolo Abeni wrote: > while testing some local patches I observed that the TCP tput in the > following scenario: > > # the following enable napi on veth0, so that we can trigger the > # GRO path with namespaces > ip netns add test > ip link add type veth >

[PATCHv2 net] ipv6: use rt6_info members when dst is set in rt6_fill_node

2018-09-11 Thread Xin Long
In inet6_rtm_getroute, since Commit 93531c674315 ("net/ipv6: separate handling of FIB entries from dst based routes"), it has used rt->from to dump route info instead of rt. However for some route like cache, some of its information like flags or gateway is not the same as that of the 'from' one.

<    1   2