Re: [PATCH v2 net-next 17/19] ionic: Add RSS support

2019-07-01 Thread Shannon Nelson
On 6/29/19 11:48 AM, Jakub Kicinski wrote: On Fri, 28 Jun 2019 14:39:32 -0700, Shannon Nelson wrote: @@ -1260,10 +1266,24 @@ static struct lif *ionic_lif_alloc(struct ionic *ionic, unsigned int index) if (err) goto err_out_free_lif_info; + /* allocate rss indirection

Re: [PATCH v2 net-next 17/19] ionic: Add RSS support

2019-06-29 Thread Jakub Kicinski
On Fri, 28 Jun 2019 14:39:32 -0700, Shannon Nelson wrote: > @@ -1260,10 +1266,24 @@ static struct lif *ionic_lif_alloc(struct ionic > *ionic, unsigned int index) > if (err) > goto err_out_free_lif_info; > > + /* allocate rss indirection table */ > + tbl_sz = le16_to_c

[PATCH v2 net-next 17/19] ionic: Add RSS support

2019-06-28 Thread Shannon Nelson
Add code to manipulate through ethtool the RSS configuration used by the NIC. Signed-off-by: Shannon Nelson --- .../ethernet/pensando/ionic/ionic_ethtool.c | 73 +++ .../net/ethernet/pensando/ionic/ionic_lif.c | 89 +++ .../net/ethernet/pensando/ionic/ionic_lif.h