Re: [PATCH] net/bonding: fix rss key configuration when the key length is 52

2022-04-13 Thread Stephen Hemminger
On Wed, 13 Apr 2022 17:03:07 +0800 "Min Hu (Connor)" wrote: > Hi, Stephen, > > 在 2022/4/12 23:19, Stephen Hemminger 写道: > > On Mon, 11 Apr 2022 03:06:46 + > > "Zhang, Ke1X" wrote: > > > >> This is a coding waring as below: > >> > >> _coding style issues_ > >> > >> WARNING:TYPO_SP

Re: [PATCH] net/bonding: fix rss key configuration when the key length is 52

2022-04-12 Thread Stephen Hemminger
On Mon, 11 Apr 2022 03:06:46 + "Zhang, Ke1X" wrote: > This is a coding waring as below: > > _coding style issues_ > > WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'? > #64: > when creating a bonding device, if the slave device's rss key length > > WARNING:TYPO_SP

RE: [PATCH] net/bonding: fix rss key configuration when the key length is 52

2022-04-10 Thread Zhang, Ke1X
> -Original Message- > From: Min Hu (Connor) > Sent: Friday, April 8, 2022 10:33 AM > To: Zhang, Ke1X ; ch...@att.com; dev@dpdk.org > Subject: Re: [PATCH] net/bonding: fix rss key configuration when the key > length is 52 > > Hi, > > 在 2022/4/7 17:36, Ke

[PATCH] net/bonding: fix rss key configuration when the key length is 52

2022-04-07 Thread Ke Zhang
when creating a bonding device, if the slave device's rss key length is 52, then bonding device will be same as slave, in function bond_ethdev_configure(), the default_rss_key length is 40, it is not matched, so it should calculate a new key for bonding device if the deault key could not be used.