On Tue, Apr 24, 2018 at 10:18:09AM -0400, David Miller wrote:
> From: Tal Gilboa
> Date: Tue, 24 Apr 2018 13:36:00 +0300
>
> > Net DIM is a library designed for dynamic interrupt moderation. It was
> > implemented and optimized with receive side interrupts in mind, since
On Wed, Apr 18, 2018 at 09:26:34AM -0700, Jakub Kicinski wrote:
> On Wed, 18 Apr 2018 11:15:29 -0400, Andy Gospodarek wrote:
> > > A similar issue exists on multi-host for PFs, right? If one of the
> > > hosts is down do we still show their PF repr? IMHO yes.
&
On Tue, Apr 17, 2018 at 04:19:15PM -0700, Jakub Kicinski wrote:
> On Tue, 17 Apr 2018 10:47:00 -0400, Andy Gospodarek wrote:
> > There is also a school of thought that the VF reps could be
> > pre-allocated on the SmartNIC so that any application processing that
> > traffi
On Tue, Apr 17, 2018 at 09:46:38AM -0700, Samudrala, Sridhar wrote:
> On 4/17/2018 7:47 AM, Andy Gospodarek wrote:
> > On Tue, Apr 17, 2018 at 04:58:05PM +0300, Or Gerlitz wrote:
> > > On Tue, Apr 17, 2018 at 4:30 PM, Andy Gospodarek
> > > <andrew.gospoda...@broad
On Tue, Apr 17, 2018 at 04:58:05PM +0300, Or Gerlitz wrote:
> On Tue, Apr 17, 2018 at 4:30 PM, Andy Gospodarek
> <andrew.gospoda...@broadcom.com> wrote:
> > On Mon, Apr 16, 2018 at 07:08:39PM -0700, Samudrala, Sridhar wrote:
> >>
> >> On 4/16/2018 5:39 AM, Andy
On Mon, Apr 16, 2018 at 07:08:39PM -0700, Samudrala, Sridhar wrote:
>
> On 4/16/2018 5:39 AM, Andy Gospodarek wrote:
> > On Sun, Apr 15, 2018 at 09:01:16AM +0300, Or Gerlitz wrote:
> > > On Sat, Apr 14, 2018 at 2:03 AM, Samudrala, Sridhar
> > > <s
On Sun, Apr 15, 2018 at 09:01:16AM +0300, Or Gerlitz wrote:
> On Sat, Apr 14, 2018 at 2:03 AM, Samudrala, Sridhar
> wrote:
>
> > I meant between PFs on 2 compute nodes.
>
> If the PF serves as uplink rep, it functions as a switch port -- applications
> don't run on
On Wed, Apr 11, 2018 at 01:41:31PM -0700, Michael Chan wrote:
> On Wed, Apr 11, 2018 at 1:31 PM, Andy Gospodarek
> <andrew.gospoda...@broadcom.com> wrote:
> > On Wed, Apr 11, 2018 at 11:43:14AM -0700, Jakub Kicinski wrote:
> >> On Wed, 11 Apr 2018 11:50:1
On Wed, Apr 11, 2018 at 11:43:14AM -0700, Jakub Kicinski wrote:
> On Wed, 11 Apr 2018 11:50:14 -0400, Michael Chan wrote:
> > @@ -764,6 +788,41 @@ static bool bnxt_tc_can_offload(struct bnxt *bp,
> > struct bnxt_tc_flow *flow)
> > return false;
> > }
> >
> > + /* Currently
.
>
> Fixes: 4c4dbb4a7363 ("net/mlx5e: Move dynamic interrupt coalescing code to
> include/linux")
> Signed-off-by: Tal Gilboa <ta...@mellanox.com>
Reviewed-by: Andy Gospodarek <go...@broadcom.com>
> ---
> include/linux/net_dim.h | 2 +-
> 1 file changed,
t;bonding: Check return of dev_set_promiscuity/allmulti")
> Signed-off-by: Xin Long <lucien@gmail.com>
Acked-by: Andy Gospodarek <a...@greyhouse.net>
> ---
> drivers/net/bonding/bond_main.c | 5 -
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --g
an
> improvement.
Nice optimization. :-)
>
> Note team driver also has this issue, I will fix it in another patch.
>
> Fixes: 1f718f0f4f97 ("bonding: populate neighbour's private on enslave")
> Reported-by: Beniamino Galvani <bgalv...@redhat.com&g
quot;bonding: change the bond's vlan syncing functions with
> the standard ones")
> Signed-off-by: Xin Long <lucien@gmail.com>
Acked-by: Andy Gospodarek <a...@greyhouse.net>
> ---
> drivers/net/bonding/bond_main.c | 9 +
> 1 file changed, 5 insertions(+),
On Thu, Mar 22, 2018 at 01:10:38PM -0600, David Ahern wrote:
> On 3/22/18 11:49 AM, Jiri Pirko wrote:
> > Thu, Mar 22, 2018 at 04:34:07PM CET, dsah...@gmail.com wrote:
> >> On 3/22/18 4:55 AM, Jiri Pirko wrote:
> >>> From: Jiri Pirko
> >>>
> >>> This patchset resolves 2 issues
t;
Looks like a nice summary of how to integrate it with a driver. Thanks
for documenting DIM.
Acked-by: Andy Gospodarek <go...@broadcom.com>
> ---
> Documentation/networking/net_dim.txt | 174
> +++
> 1 file changed, 174 insertions(+)
> c
From: Andy Gospodarek <go...@broadcom.com>
Make sure to cancel any pending work that might update driver coalesce
settings when taking down an interface.
Fixes: 6a8788f25625 ("bnxt_en: add support for software dynamic interrupt
moderation")
Signed-off-by: Andy Gospodarek <go.
On Fri, Jan 12, 2018 at 10:11:17AM -0800, Michael Chan wrote:
> On Fri, Jan 12, 2018 at 9:46 AM, Colin King wrote:
> > From: Colin Ian King
> >
> > In the case where cmp_type == CMP_TYPE_RX_L2_TPA_START_CMP the
> > exit return path is via label
On Wed, Jan 10, 2018 at 12:49:53AM +0200, Tal Gilboa wrote:
> On 1/10/2018 12:46 AM, Florian Fainelli wrote:
> > Hey Andy,
> >
> > On 01/09/2018 01:06 PM, Andy Gospodarek wrote:
> > > From: Andy Gospodarek <go...@broadcom.com>
> > >
> > >
From: Andy Gospodarek <go...@broadcom.com>
Create new header file to prepare to move code that handles irq
moderation to a library that lives in a header file.
Signed-off-by: Andy Gospodarek <go...@broadcom.com>
Acked-by: Tal Gilboa <ta...@mellanox.com>
Acked-by: S
From: Andy Gospodarek <go...@broadcom.com>
This converts the dynamic interrupt moderation library from the mlx5e
driver into a library so it can be used by any driver. The penultimate
patch in this set adds support for this new dynamic interrupt moderation
library in the bnxt_en
From: Andy Gospodarek <go...@broadcom.com>
More movement to help make this code more generic.
Signed-off-by: Andy Gospodarek <go...@broadcom.com>
Acked-by: Tal Gilboa <ta...@mellanox.com>
Acked-by: Saeed Mahameed <sae...@mellanox.com>
---
drivers/net/ethernet/mellanox/m
From: Andy Gospodarek <go...@broadcom.com>
This makes mlx5e_am_sample more generic so that it can be called easily
from a driver that does not use the same data structure to store these
values in a single structure.
Signed-off-by: Andy Gospodarek <go...@broadcom.com>
Acked-by: Ta
From: Andy Gospodarek <go...@broadcom.com>
Move these to newly created file to prepare to move these functions to a
library.
Signed-off-by: Andy Gospodarek <go...@broadcom.com>
Acked-by: Tal Gilboa <ta...@mellanox.com>
Acked-by: Saeed Mahameed <sae...@mellanox.com>
-
From: Andy Gospodarek <go...@broadcom.com>
These functions were identified as ones that could be made generic and
used by multiple drivers. Most of the contents of en_rx_am.c are moved
to net_dim.c.
Signed-off-by: Andy Gospodarek <go...@broadcom.com>
Acked-by: Tal Gilboa <ta.
From: Andy Gospodarek <go...@broadcom.com>
This move allows drivers to add private structure elements to track the
number of packets, bytes, and interrupts events per ring. A driver
also defines a workqueue handler to act on this collected data once per
poll and modify the coalescing para
From: Andy Gospodarek <go...@broadcom.com>
Simplify the arguments net_dim() by formatting them into a struct
net_dim_sample before calling the function.
Signed-off-by: Andy Gospodarek <go...@broadcom.com>
Suggested-by: Tal Gilboa <ta...@mellanox.com>
Acked-by: Tal Gilboa &
From: Andy Gospodarek <go...@broadcom.com>
This implements the changes needed for the bnxt_en driver to add support
for dynamic interrupt moderation per ring.
This does add additional counters in the receive path, but testing shows
that any additional instructions are offset by throughpu
From: Andy Gospodarek <go...@broadcom.com>
Signed-off-by: Andy Gospodarek <go...@broadcom.com>
Signed-off-by: Tal Gilboa <ta...@mellanox.com>
Acked-by: Saeed Mahameed <sae...@mellanox.com>
---
MAINTAINERS | 5 +
1 file changed, 5 insertions(+)
diff --git a/MAINTAI
From: Andy Gospodarek <go...@broadcom.com>
Change all appropriate mlx5_am* and MLX5_AM* references to net_dim and
NET_DIM, respectively, in code that handles dynamic interrupt
moderation. Also change all references from 'am' to 'dim' when used as
local variables and add generic p
On Tue, Jan 09, 2018 at 08:22:15PM +0200, Tal Gilboa wrote:
> On 1/9/2018 6:06 PM, Andy Gospodarek wrote:
> > On Mon, Jan 08, 2018 at 11:06:28PM -0800, Saeed Mahameed wrote:
> > >
> > >
> > > On 01/08/2018 10:13 PM, Andy Gospodarek wrote:
> > >
On Mon, Jan 08, 2018 at 11:06:28PM -0800, Saeed Mahameed wrote:
>
>
> On 01/08/2018 10:13 PM, Andy Gospodarek wrote:
> > From: Andy Gospodarek <go...@broadcom.com>
> >
> > Change all appropriate mlx5_am* and MLX5_AM* references to net_dim and
> > NET_
From: Andy Gospodarek <go...@broadcom.com>
Change all appropriate mlx5_am* and MLX5_AM* references to net_dim and
NET_DIM, respectively, in code that handles dynamic interrupt
moderation. Also change all references from 'am' to 'dim' when used as
local variables and add generic p
From: Andy Gospodarek <go...@broadcom.com>
These functions were identified as ones that could be made generic and
used by multiple drivers. Most of the contents of en_rx_am.c are moved
to net_dim.c.
Signed-off-by: Andy Gospodarek <go...@broadcom.com>
Acked-by: Tal Gilboa <ta.
From: Andy Gospodarek <go...@broadcom.com>
This makes mlx5e_am_sample more generic so that it can be called easily
from a driver that does not use the same data structure to store these
values in a single structure.
Signed-off-by: Andy Gospodarek <go...@broadcom.com>
Acked-by: Ta
From: Andy Gospodarek <go...@broadcom.com>
Signed-off-by: Andy Gospodarek <go...@broadcom.com>
Signed-off-by: Tal Gilboa <ta...@mellanox.com>
Acked-by: Saeed Mahameed <sae...@mellanox.com>
---
MAINTAINERS | 5 +
1 file changed, 5 insertions(+)
diff --git a/MAINTAI
From: Andy Gospodarek <go...@broadcom.com>
Move these to newly created file to prepare to move these functions to a
library.
Signed-off-by: Andy Gospodarek <go...@broadcom.com>
Acked-by: Tal Gilboa <ta...@mellanox.com>
Acked-by: Saeed Mahameed <sae...@mellanox.com>
-
From: Andy Gospodarek <go...@broadcom.com>
This move allows drivers to add private structure elements to track the
number of packets, bytes, and interrupts events per ring. A driver
also defines a workqueue handler to act on this collected data once per
poll and modify the coalescing para
From: Andy Gospodarek <go...@broadcom.com>
Create new header file to prepare to move code that handles irq
moderation to a library that lives in a header file.
Signed-off-by: Andy Gospodarek <go...@broadcom.com>
Acked-by: Tal Gilboa <ta...@mellanox.com>
Acked-by: S
From: Andy Gospodarek <go...@broadcom.com>
Simplify the arguments net_dim() by formatting them into a struct
net_dim_sample before calling the function.
Signed-off-by: Andy Gospodarek <go...@broadcom.com>
Suggested-by: Tal Gilboa <ta...@mellanox.com>
Acked-by: Tal Gilboa &
From: Andy Gospodarek <go...@broadcom.com>
This implements the changes needed for the bnxt_en driver to add support
for dynamic interrupt moderation per ring.
This does add additional counters in the receive path, but testing shows
that any additional instructions are offset by throughpu
From: Andy Gospodarek <go...@broadcom.com>
More movement to help make this code more generic.
Signed-off-by: Andy Gospodarek <go...@broadcom.com>
Acked-by: Tal Gilboa <ta...@mellanox.com>
Acked-by: Saeed Mahameed <sae...@mellanox.com>
---
drivers/net/ethernet/mellanox/m
From: Andy Gospodarek <go...@broadcom.com>
This converts the dynamic interrupt moderation library from the mlx5e
driver into a library so it can be used by any driver. The penultimate
patch in this set adds support for thiw new dynamic interrupt moderation
library in the bnxt_en
On Sun, Jan 07, 2018 at 11:44:48AM +0200, Tal Gilboa wrote:
>
>
> On 1/6/2018 12:58 AM, Andy Gospodarek wrote:
> > From: Andy Gospodarek <go...@broadcom.com>
> >
> > Change all appropriate mlx5_am* and MLX5_AM* references to net_dim and
> > NET_DIM, res
On Mon, Jan 08, 2018 at 04:20:04PM +0530, Vasundhara Volam wrote:
> Hi Andy,
>
> If you are re-doing the patch, could you modify a minor comment below?
>
> On Sat, Jan 6, 2018 at 4:28 AM, Andy Gospodarek <a...@greyhouse.net> wrote:
>
> > diff --git a/driv
From: Andy Gospodarek <go...@broadcom.com>
Move these to newly created file to prepare to move these functions to a
library.
Signed-off-by: Andy Gospodarek <go...@broadcom.com>
Acked-by: Tal Gilboa <ta...@mellanox.com>
Acked-by: Saeed Mahameed <sae...@mellanox.com>
-
From: Andy Gospodarek <go...@broadcom.com>
This move allows drivers to add private structure elements to track the
number of packets, bytes, and interrupts events per ring. A driver
also defines a workqueue handler to act on this collected data once per
poll and modify the coalescing para
From: Andy Gospodarek <go...@broadcom.com>
Change all appropriate mlx5_am* and MLX5_AM* references to net_dim and
NET_DIM, respectively, in code that handles dynamic interrupt
moderation. Also change all references from 'am' to 'dim' when used as
local variables.
Signed-off-by: Andy Gosp
From: Andy Gospodarek <go...@broadcom.com>
Simplify the arguments net_dim() by formatting them into a struct
net_dim_sample before calling the function.
Signed-off-by: Andy Gospodarek <go...@broadcom.com>
Suggested-by: Tal Gilboa <ta...@mellanox.com>
Acked-by: Tal Gilboa &
From: Andy Gospodarek <go...@broadcom.com>
This implements the changes needed for the bnxt_en driver to add support
for dynamic interrupt moderation per ring.
This does add additional counters in the receive path, but testing shows
that any additional instructions are offset by throughpu
From: Andy Gospodarek <go...@broadcom.com>
This converts the dynamic interrupt moderation library from the mlx5e
driver into a library so it can be used by any driver. The penultimate
patch in this set adds support for thiw new dynamic interrupt moderation
library in the bnxt_en
From: Andy Gospodarek <go...@broadcom.com>
Create new header file to prepare to move code that handles irq
moderation to a library that lives in a header file.
Signed-off-by: Andy Gospodarek <go...@broadcom.com>
Acked-by: Tal Gilboa <ta...@mellanox.com>
Acked-by: S
From: Andy Gospodarek <go...@broadcom.com>
Signed-off-by: Andy Gospodarek <go...@broadcom.com>
Signed-off-by: Tal Gilboa <ta...@mellanox.com>
Acked-by: Saeed Mahameed <sae...@mellanox.com>
---
MAINTAINERS | 5 +
1 file changed, 5 insertions(+)
diff --git a/MAINTAI
From: Andy Gospodarek <go...@broadcom.com>
This makes mlx5e_am_sample more generic so that it can be called easily
from a driver that does not use the same data structure to store these
values in a single structure.
Signed-off-by: Andy Gospodarek <go...@broadcom.com>
Acked-by: Ta
From: Andy Gospodarek <go...@broadcom.com>
These functions were identified as ones that could be made generic and
used by multiple drivers. Most of the contents of en_rx_am.c are moved
to net_dim.c.
Signed-off-by: Andy Gospodarek <go...@broadcom.com>
Acked-by: Tal Gilboa <ta.
From: Andy Gospodarek <go...@broadcom.com>
More movement to help make this code more generic.
Signed-off-by: Andy Gospodarek <go...@broadcom.com>
Acked-by: Tal Gilboa <ta...@mellanox.com>
Acked-by: Saeed Mahameed <sae...@mellanox.com>
---
drivers/net/ethernet/mellanox/m
On Fri, Jan 05, 2018 at 10:04:50AM +0200, Tal Gilboa wrote:
> On 1/4/2018 10:21 PM, Andy Gospodarek wrote:
> > From: Andy Gospodarek <go...@broadcom.com>
> >
> > Change all mlx5_am* and MLX_AM* references to net_dim and NET_DIM,
> MLX_AM->MLX5_AM
&
On Fri, Jan 05, 2018 at 10:04:50AM +0200, Tal Gilboa wrote:
> On 1/4/2018 10:21 PM, Andy Gospodarek wrote:
> > From: Andy Gospodarek <go...@broadcom.com>
> >
> > Change all mlx5_am* and MLX_AM* references to net_dim and NET_DIM,
> MLX_AM->MLX5_AM
&
On Fri, Jan 05, 2018 at 10:14:43AM +0200, Tal Gilboa wrote:
> Thanks Andy for your hard work. Looks great overall!
>
> On 1/4/2018 10:21 PM, Andy Gospodarek wrote:
> > From: Andy Gospodarek <go...@broadcom.com>
> >
> > This converts the dynamic interrupt mo
On Thu, Jan 04, 2018 at 02:16:26PM -0800, Michael Chan wrote:
> On Thu, Jan 4, 2018 at 12:21 PM, Andy Gospodarek <a...@greyhouse.net> wrote:
> > From: Andy Gospodarek <go...@broadcom.com>
> >
> > This implements the changes needed for the bnxt_en driver to add
On Thu, Jan 04, 2018 at 10:37:37PM +0200, Or Gerlitz wrote:
> > net/mlx5e: move interrupt moderation structs to new file
> > net/mlx5e: move interrupt moderation forward declarations
> > net/mlx5e: remove rq references in mlx5e_rx_am
> > net/mlx5e: move AM logic enums
> > net/mlx5e: move
On Thu, Jan 04, 2018 at 02:36:54PM -0800, Stephen Hemminger wrote:
> On Thu, 4 Jan 2018 15:21:30 -0500
> Andy Gospodarek <a...@greyhouse.net> wrote:
>
> > +DYNAMIC INTERRUPT MODERATION
> > +M: Tal Gilboa <ta...@mellanox.com>
> > +S: Mainained
>
From: Andy Gospodarek <go...@broadcom.com>
Create new header file to prepare to move code that handles irq
moderation to a library that lives in a header file.
Signed-off-by: Andy Gospodarek <go...@broadcom.com>
Acked-by: Tal Gilboa <ta...@mellanox.com>
---
drivers/net/ethe
From: Andy Gospodarek <go...@broadcom.com>
This makes mlx5e_am_sample more generic so that it can be called easily
from a driver that does not use the same data structure to store these
values in a single structure.
Signed-off-by: Andy Gospodarek <go...@broadcom.com>
Acked-by: Ta
From: Andy Gospodarek <go...@broadcom.com>
Change all mlx5_am* and MLX_AM* references to net_dim and NET_DIM,
respectively, in code that handles dynamic interrupt moderation. Also
change all references from 'am' to 'dim' when used as local variables.
Signed-off-by: Andy Gospodar
From: Andy Gospodarek <go...@broadcom.com>
Simplify the arguments net_dim() by formatting them into a struct
net_dim_sample before calling the function.
Signed-off-by: Andy Gospodarek <go...@broadcom.com>
Suggested-by: Tal Gilboa <ta...@mellanox.com>
Acked-by: Tal Gilboa &
From: Andy Gospodarek <go...@broadcom.com>
These functions were identified as ones that could be made generic and
used by multiple drivers. Most of the contents of en_rx_am.c are moved
to net_dim.c.
Signed-off-by: Andy Gospodarek <go...@broadcom.com>
Acked-by: Tal Gilboa <ta.
From: Andy Gospodarek <go...@broadcom.com>
Move these to newly created file to prepare to move these functions to a
library.
Signed-off-by: Andy Gospodarek <go...@broadcom.com>
Acked-by: Tal Gilboa <ta...@mellanox.com>
---
drivers/net/ethernet/mellanox/mlx5/core/en.h | 4
From: Andy Gospodarek <go...@broadcom.com>
This implements the changes needed for the bnxt_en driver to add support
for dynamic interrupt moderation per ring.
This does add additional counters in the receive path, but testing shows
that any additional instructions are offset by throughpu
From: Andy Gospodarek <go...@broadcom.com>
Signed-off-by: Andy Gospodarek <go...@broadcom.com>
Signed-off-by: Tal Gilboa <ta...@mellanox.com>
---
MAINTAINERS | 5 +
1 file changed, 5 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 753799d..769857b 100644
--- a
From: Andy Gospodarek <go...@broadcom.com>
More movement to help make this code more generic.
Signed-off-by: Andy Gospodarek <go...@broadcom.com>
Acked-by: Tal Gilboa <ta...@mellanox.com>
---
drivers/net/ethernet/mellanox/mlx5/core/en_dim.h | 26 ++
dr
From: Andy Gospodarek <go...@broadcom.com>
This converts the dynamic interrupt moderation library from the mlx5_en driver
into a library so it can be used by any driver. The penultimatepatch in this
set adds support for interrupt moderation in the bnxt_en driver and the last
patch c
From: Andy Gospodarek <go...@broadcom.com>
This move allows drivers to add private structure elements to track the
number of packets, bytes, and interrupts events per ring. A driver
also defines a workqueue handler to act on this collected data once per
poll and modify the coalescing para
On Tue, Dec 19, 2017 at 08:20:44PM +0200, Andy Shevchenko wrote:
> Replace sscanf() with mac_pton().
>
> Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com>
Nice cleanup. Thanks!
Acked-by: Andy Gospodarek <a...@greyhouse.net>
> ---
> drivers/net
l option to ignore routes when nexthop
> link is down")
> Signed-off-by: Ido Schimmel <ido...@mellanox.com>
Nice find. Looks good to me, as well.
Acked-by: Andy Gospodarek <a...@greyhouse.net>
> ---
> net/ipv6/route.c | 5 +
> 1 file changed, 5 insertions(+)
>
From: Andy Gospodarek <go...@broadcom.com>
This takes the code that is not generically named to lib/.
This move allows drivers to add private structure elements to track the
number of packets, bytes, and interrupts events per ring. A driver
also defines a workqueue handler
From: Andy Gospodarek <go...@broadcom.com>
This makes mlx5e_am_sample more generic so that it can be called easily
from a driver that does not use the same data structure to store these
values in a single structure.
Signed-off-by: Andy Gospodarek <go...@broadcom.com>
---
drivers/
From: Andy Gospodarek <go...@broadcom.com>
These functions were identified as ones that could be made generic and
used by multiple drivers. Most of the contents of en_rx_am.c are moved
to net_rx_am.c.
Signed-off-by: Andy Gospodarek <go...@broadcom.com>
---
drivers/net/ethernet/m
From: Andy Gospodarek <go...@broadcom.com>
This is so net_rx_am.h can be easily moved out of mlx5/core.
Signed-off-by: Andy Gospodarek <go...@broadcom.com>
---
drivers/net/ethernet/mellanox/mlx5/core/en.h | 2 +-
drivers/net/ethernet/mellanox/mlx5/core/en_r
From: Andy Gospodarek <go...@broadcom.com>
More movement to help make this code more generic.
Signed-off-by: Andy Gospodarek <go...@broadcom.com>
---
drivers/net/ethernet/mellanox/mlx5/core/en_rx_am.c | 25 -
drivers/net/ethernet/mellanox/mlx5/core/en_
From: Andy Gospodarek <go...@broadcom.com>
This implements the changes needed for the bnxt_en driver to add support
for adaptive interrupt moderation per ring.
This does add additional counters in the receive path, but testing shows
that any additional instructions are offset by throughpu
From: Andy Gospodarek <go...@broadcom.com>
This takes the code that is not generically named to lib/.
This move allows drivers to add private structure elements to track the
number of packets, bytes, and interrupts events per ring. A driver
also defines a workqueue handler
From: Andy Gospodarek <go...@broadcom.com>
Remove all mlx5* and MLX* references to net_ and NET_, respectively in
code that handles software interrupt moderation.
Signed-off-by: Andy Gospodarek <go...@broadcom.com>
---
drivers/net/ethernet/mellanox/mlx5/core/en.h | 7
From: Andy Gospodarek <go...@broadcom.com>
Create new header file to prepare to move code that handles irq
moderation to a library.
Signed-off-by: Andy Gospodarek <go...@broadcom.com>
---
drivers/net/ethernet/mellanox/mlx5/core/en.h | 32 +-
drivers/net/ethernet/mellan
From: Andy Gospodarek <go...@broadcom.com>
Move these to newly created file to prepare to move these functions to a
library.
Signed-off-by: Andy Gospodarek <go...@broadcom.com>
---
drivers/net/ethernet/mellanox/mlx5/core/en.h | 4
drivers/net/ethernet/mellanox/mlx5/cor
From: Andy Gospodarek <go...@broadcom.com>
Move these to newly created file to prepare to move these functions to a
library.
Signed-off-by: Andy Gospodarek <go...@broadcom.com>
---
drivers/net/ethernet/mellanox/mlx5/core/en.h | 4
drivers/net/ethernet/mellanox/mlx5/cor
From: Andy Gospodarek <go...@broadcom.com>
This RFC converts the adaptive interrupt moderation library from the
mlx5_en driver into a library so it can be used by any driver. The last
patch in this set adds support for interrupt moderation in the bnxt_en
driver.
The main purpose of thi
From: Andy Gospodarek <go...@broadcom.com>
This RFC converts the adaptive interrupt moderation library from the
mlx5_en driver into a library so it can be used by any driver. The last
patch in this set adds support for interrupt moderation in the bnxt_en
driver.
The main purpose of thi
ed in order vendors to share
>attributes among drivers.
>
> More nits inlined.
>
>
> >Signed-off-by: Steve Lin <steven.l...@broadcom.com>
> >Acked-by: Andy Gospodarek <go...@broadcom.com>
> >---
> > include/net/devli
On Thu, Sep 28, 2017 at 1:59 AM, Waskiewicz Jr, Peter
<peter.waskiewicz...@intel.com> wrote:
> On 9/26/17 10:21 AM, Andy Gospodarek wrote:
>> On Mon, Sep 25, 2017 at 08:50:28PM +0200, Daniel Borkmann wrote:
>>> On 09/25/2017 08:10 PM, Andy Gospodarek wrote:
>
On Mon, Sep 25, 2017 at 08:50:28PM +0200, Daniel Borkmann wrote:
> On 09/25/2017 08:10 PM, Andy Gospodarek wrote:
> [...]
> > First, thanks for this detailed description. It was helpful to read
> > along with the patches.
> >
> > My only concern about this area bei
On Mon, Sep 25, 2017 at 02:25:51AM +0200, Daniel Borkmann wrote:
> This work enables generic transfer of metadata from XDP into skb. The
> basic idea is that we can make use of the fact that the resulting skb
> must be linear and already comes with a larger headroom for supporting
>
;)
> Fixes: 24251c264798 ("samples/bpf: add option for native and skb mode for
> redirect apps")
> Signed-off-by: Jesper Dangaard Brouer <bro...@redhat.com>
Acked-by: Andy Gospodarek <a...@greyhouse.net>
> ---
> net/core/filter.c | 29 +
On Tue, Aug 29, 2017 at 09:23:49AM -0700, Alexander Duyck wrote:
> On Tue, Aug 29, 2017 at 6:26 AM, Jesper Dangaard Brouer
> wrote:
> >
> > On Mon, 28 Aug 2017 09:11:25 -0700 Alexander Duyck
> > wrote:
> >
> >> My advice would be to not over
On Mon, Aug 28, 2017 at 09:14:20AM -0700, John Fastabend wrote:
> On 08/28/2017 09:02 AM, Andy Gospodarek wrote:
> > On Fri, Aug 25, 2017 at 08:28:55AM -0700, Michael Chan wrote:
> >> On Fri, Aug 25, 2017 at 8:10 AM, John Fastabend
> >> <john.fastab...@gmail.com>
On Fri, Aug 25, 2017 at 08:28:55AM -0700, Michael Chan wrote:
> On Fri, Aug 25, 2017 at 8:10 AM, John Fastabend
> wrote:
> > On 08/25/2017 05:45 AM, Jesper Dangaard Brouer wrote:
> >> On Thu, 24 Aug 2017 20:36:28 -0700
> >> Michael Chan wrote:
On Tue, Jul 25, 2017 at 07:34:47PM -0700, Jakub Kicinski wrote:
> On Tue, 25 Jul 2017 21:48:15 -0400, Andy Gospodarek wrote:
> > On Tue, Jul 25, 2017 at 03:26:47PM -0700, Jakub Kicinski wrote:
> > > On Tue, 25 Jul 2017 11:22:41 -0400, Andy Gospodarek wrote:
> > > >
On Tue, Jul 25, 2017 at 03:26:47PM -0700, Jakub Kicinski wrote:
> On Tue, 25 Jul 2017 11:22:41 -0400, Andy Gospodarek wrote:
> > On Mon, Jul 24, 2017 at 10:13:44PM -0700, Jakub Kicinski wrote:
> > > We are still in position where we can suggest uniform namin
On Mon, Jul 24, 2017 at 10:13:44PM -0700, Jakub Kicinski wrote:
> We are still in position where we can suggest uniform naming
> convention for ndo_get_phys_port_name(). switchdev.txt file
> already contained a suggestion of how to name external ports.
> Since the use of switchdev for SR-IOV
6dc54cf4 ("bonding: remove hardcoded value").
Otherwise this looks reasonable to me.
Acked-by: Andy Gospodarek <a...@greyhouse.net>
> ---
> drivers/net/bonding/bond_main.c |2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/net/bonding
/xdp_redirect_map -S 5 6
input: 5 output: 6
map[0] (vports) = 4, map[1] (map) = 5, map[2] (count) = 0
ifindex 6:5052528 pkt/s
ifindex 6:5736631 pkt/s
ifindex 6:5739962 pkt/s
Signed-off-by: Andy Gospodarek <a...@greyhouse.net>
---
samples/bpf/xdp_redirect_map_user.
1 - 100 of 393 matches
Mail list logo