Re: [PATCH net-next v2 6/8] bnxt_en: Implement ethtool -X to set indirection table.

2020-07-05 Thread Jakub Kicinski
On Fri, 3 Jul 2020 17:31:59 -0700 Michael Chan wrote: > > > bp->rx_nr_rings = rx_rings; > > > bp->cp_nr_rings = cp; > > > > > > @@ -8265,7 +8269,8 @@ int bnxt_reserve_rings(struct bnxt *bp, bool > > > irq_re_init) > > > rc = bnxt_init_int_mode(bp); > > >

Re: [PATCH net-next v2 6/8] bnxt_en: Implement ethtool -X to set indirection table.

2020-07-03 Thread Michael Chan
On Fri, Jul 3, 2020 at 4:37 PM Jakub Kicinski wrote: > > On Fri, 3 Jul 2020 03:19:45 -0400 Michael Chan wrote: > > diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt.c > > b/drivers/net/ethernet/broadcom/bnxt/bnxt.c > > index 6c90a94..0edb692 100644 > > --- a/drivers/net/ethernet/broadcom/bnxt

Re: [PATCH net-next v2 6/8] bnxt_en: Implement ethtool -X to set indirection table.

2020-07-03 Thread Jakub Kicinski
On Fri, 3 Jul 2020 03:19:45 -0400 Michael Chan wrote: > With the new infrastructure in place, we can now support the setting of > the indirection table from ethtool. > > When changing channels, in a rare case that firmware cannot reserve the > rings that were promised, the RSS map will revert to

[PATCH net-next v2 6/8] bnxt_en: Implement ethtool -X to set indirection table.

2020-07-03 Thread Michael Chan
With the new infrastructure in place, we can now support the setting of the indirection table from ethtool. When changing channels, in a rare case that firmware cannot reserve the rings that were promised, the RSS map will revert to default. v2: When changing channels, if the RSS table size chang