DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Getting issue while bringin Bond with VMXNET3 (DPDK 17.11)
@ 2018-10-06 11:32 chetan bhasin
  2018-10-07  5:12 ` chetan bhasin
  0 siblings, 1 reply; 6+ messages in thread
From: chetan bhasin @ 2018-10-06 11:32 UTC (permalink / raw)
  To: dev

Hi Dpdk Champs,

I am facing an issue while bringing bonding on VM having vmxnet3 interfaces.

Below error is coming in the log -

PMD: bond_ethdev_start(1959) - bonded port (2) failed to reconfigure slave
device (0).

Please suggest.

Thanks,
Chetan Bhasin

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [dpdk-dev] Getting issue while bringin Bond with VMXNET3 (DPDK 17.11)
  2018-10-06 11:32 [dpdk-dev] Getting issue while bringin Bond with VMXNET3 (DPDK 17.11) chetan bhasin
@ 2018-10-07  5:12 ` chetan bhasin
  2018-10-09  1:41   ` Chas Williams
  0 siblings, 1 reply; 6+ messages in thread
From: chetan bhasin @ 2018-10-07  5:12 UTC (permalink / raw)
  To: dev

Can anybody suggest?  Stuck right now!

On Sat, Oct 6, 2018, 17:02 chetan bhasin <chetan.bhasin017@gmail.com> wrote:

> Hi Dpdk Champs,
>
> I am facing an issue while bringing bonding on VM having vmxnet3
> interfaces.
>
> Below error is coming in the log -
>
> PMD: bond_ethdev_start(1959) - bonded port (2) failed to reconfigure slave
> device (0).
>
> Please suggest.
>
> Thanks,
> Chetan Bhasin
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dpdk-dev] Getting issue while bringin Bond with VMXNET3 (DPDK 17.11)
  2018-10-07  5:12 ` chetan bhasin
@ 2018-10-09  1:41   ` Chas Williams
  2018-10-09  4:35     ` chetan bhasin
  0 siblings, 1 reply; 6+ messages in thread
From: Chas Williams @ 2018-10-09  1:41 UTC (permalink / raw)
  To: chetan bhasin, dev

Any other error messages?  There's really only one path out of 
slave_configure() that doesn't emit another error message and
that's slave_configure_slow_queue.  You need to set dedicated_queues to 
be enabled to see that happen.

On 10/07/18 01:12, chetan bhasin wrote:
> Can anybody suggest?  Stuck right now!
> 
> On Sat, Oct 6, 2018, 17:02 chetan bhasin <chetan.bhasin017@gmail.com> wrote:
> 
>> Hi Dpdk Champs,
>>
>> I am facing an issue while bringing bonding on VM having vmxnet3
>> interfaces.
>>
>> Below error is coming in the log -
>>
>> PMD: bond_ethdev_start(1959) - bonded port (2) failed to reconfigure slave
>> device (0).
>>
>> Please suggest.
>>
>> Thanks,
>> Chetan Bhasin
>>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dpdk-dev] Getting issue while bringin Bond with VMXNET3 (DPDK 17.11)
  2018-10-09  1:41   ` Chas Williams
@ 2018-10-09  4:35     ` chetan bhasin
  2018-10-09  7:59       ` Ferruh Yigit
  0 siblings, 1 reply; 6+ messages in thread
From: chetan bhasin @ 2018-10-09  4:35 UTC (permalink / raw)
  To: 3chas3; +Cc: dev

Thanks for your reply .

The issue coming in function "vmxnet3_dev_tx_queue_setup"

below if condition is true because "tx_conf->txq_flags is coming as 0"

    if ((tx_conf->txq_flags & ETH_TXQ_FLAGS_NOXSUMSCTP) !=
        ETH_TXQ_FLAGS_NOXSUMSCTP) {
        PMD_INIT_LOG(ERR, "SCTP checksum offload not supported");
        return -EINVAL;
    }

Regards,
Chetan Bhasin

On Tue, Oct 9, 2018 at 7:11 AM Chas Williams <3chas3@gmail.com> wrote:

> Any other error messages?  There's really only one path out of
> slave_configure() that doesn't emit another error message and
> that's slave_configure_slow_queue.  You need to set dedicated_queues to
> be enabled to see that happen.
>
> On 10/07/18 01:12, chetan bhasin wrote:
> > Can anybody suggest?  Stuck right now!
> >
> > On Sat, Oct 6, 2018, 17:02 chetan bhasin <chetan.bhasin017@gmail.com>
> wrote:
> >
> >> Hi Dpdk Champs,
> >>
> >> I am facing an issue while bringing bonding on VM having vmxnet3
> >> interfaces.
> >>
> >> Below error is coming in the log -
> >>
> >> PMD: bond_ethdev_start(1959) - bonded port (2) failed to reconfigure
> slave
> >> device (0).
> >>
> >> Please suggest.
> >>
> >> Thanks,
> >> Chetan Bhasin
> >>
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dpdk-dev] Getting issue while bringin Bond with VMXNET3 (DPDK 17.11)
  2018-10-09  4:35     ` chetan bhasin
@ 2018-10-09  7:59       ` Ferruh Yigit
  2018-10-09  8:18         ` chetan bhasin
  0 siblings, 1 reply; 6+ messages in thread
From: Ferruh Yigit @ 2018-10-09  7:59 UTC (permalink / raw)
  To: chetan bhasin, 3chas3; +Cc: dev, Yong Wang

On 10/9/2018 5:35 AM, chetan bhasin wrote:
> Thanks for your reply .
> 
> The issue coming in function "vmxnet3_dev_tx_queue_setup"
> 
> below if condition is true because "tx_conf->txq_flags is coming as 0"
> 
>     if ((tx_conf->txq_flags & ETH_TXQ_FLAGS_NOXSUMSCTP) !=
>         ETH_TXQ_FLAGS_NOXSUMSCTP) {
>         PMD_INIT_LOG(ERR, "SCTP checksum offload not supported");
>         return -EINVAL;
>     }

Hi Chetan,

In v17.11, all Tx offloads are enabled by default and can be disabled via
tx_conf->txq_flags.

Above code says PMD is not supporting SCTP checksum offload but you are
requesting it, by passing "txq_flags == 0", and PMD fails.

You need to pass at least "txq_flags = ETH_TXQ_FLAGS_NOXSUMSCTP" to be able to
use vmxnet3.

+cc vmxnet3 maintainer

> 
> Regards,
> Chetan Bhasin
> 
> On Tue, Oct 9, 2018 at 7:11 AM Chas Williams <3chas3@gmail.com> wrote:
> 
>> Any other error messages?  There's really only one path out of
>> slave_configure() that doesn't emit another error message and
>> that's slave_configure_slow_queue.  You need to set dedicated_queues to
>> be enabled to see that happen.
>>
>> On 10/07/18 01:12, chetan bhasin wrote:
>>> Can anybody suggest?  Stuck right now!
>>>
>>> On Sat, Oct 6, 2018, 17:02 chetan bhasin <chetan.bhasin017@gmail.com>
>> wrote:
>>>
>>>> Hi Dpdk Champs,
>>>>
>>>> I am facing an issue while bringing bonding on VM having vmxnet3
>>>> interfaces.
>>>>
>>>> Below error is coming in the log -
>>>>
>>>> PMD: bond_ethdev_start(1959) - bonded port (2) failed to reconfigure
>> slave
>>>> device (0).
>>>>
>>>> Please suggest.
>>>>
>>>> Thanks,
>>>> Chetan Bhasin
>>>>
>>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dpdk-dev] Getting issue while bringin Bond with VMXNET3 (DPDK 17.11)
  2018-10-09  7:59       ` Ferruh Yigit
@ 2018-10-09  8:18         ` chetan bhasin
  0 siblings, 0 replies; 6+ messages in thread
From: chetan bhasin @ 2018-10-09  8:18 UTC (permalink / raw)
  To: ferruh.yigit; +Cc: 3chas3, dev, yongwang

Thanks a lot

Let me check in vpp's DPDK plugin what value is passed.

Thanks,
Chetan Bhasin


On Tue, Oct 9, 2018 at 1:35 PM Ferruh Yigit <ferruh.yigit@intel.com> wrote:

> On 10/9/2018 5:35 AM, chetan bhasin wrote:
> > Thanks for your reply .
> >
> > The issue coming in function "vmxnet3_dev_tx_queue_setup"
> >
> > below if condition is true because "tx_conf->txq_flags is coming as 0"
> >
> >     if ((tx_conf->txq_flags & ETH_TXQ_FLAGS_NOXSUMSCTP) !=
> >         ETH_TXQ_FLAGS_NOXSUMSCTP) {
> >         PMD_INIT_LOG(ERR, "SCTP checksum offload not supported");
> >         return -EINVAL;
> >     }
>
> Hi Chetan,
>
> In v17.11, all Tx offloads are enabled by default and can be disabled via
> tx_conf->txq_flags.
>
> Above code says PMD is not supporting SCTP checksum offload but you are
> requesting it, by passing "txq_flags == 0", and PMD fails.
>
> You need to pass at least "txq_flags = ETH_TXQ_FLAGS_NOXSUMSCTP" to be
> able to
> use vmxnet3.
>
> +cc vmxnet3 maintainer
>
> >
> > Regards,
> > Chetan Bhasin
> >
> > On Tue, Oct 9, 2018 at 7:11 AM Chas Williams <3chas3@gmail.com> wrote:
> >
> >> Any other error messages?  There's really only one path out of
> >> slave_configure() that doesn't emit another error message and
> >> that's slave_configure_slow_queue.  You need to set dedicated_queues to
> >> be enabled to see that happen.
> >>
> >> On 10/07/18 01:12, chetan bhasin wrote:
> >>> Can anybody suggest?  Stuck right now!
> >>>
> >>> On Sat, Oct 6, 2018, 17:02 chetan bhasin <chetan.bhasin017@gmail.com>
> >> wrote:
> >>>
> >>>> Hi Dpdk Champs,
> >>>>
> >>>> I am facing an issue while bringing bonding on VM having vmxnet3
> >>>> interfaces.
> >>>>
> >>>> Below error is coming in the log -
> >>>>
> >>>> PMD: bond_ethdev_start(1959) - bonded port (2) failed to reconfigure
> >> slave
> >>>> device (0).
> >>>>
> >>>> Please suggest.
> >>>>
> >>>> Thanks,
> >>>> Chetan Bhasin
> >>>>
> >>
>
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-10-09  8:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-06 11:32 [dpdk-dev] Getting issue while bringin Bond with VMXNET3 (DPDK 17.11) chetan bhasin
2018-10-07  5:12 ` chetan bhasin
2018-10-09  1:41   ` Chas Williams
2018-10-09  4:35     ` chetan bhasin
2018-10-09  7:59       ` Ferruh Yigit
2018-10-09  8:18         ` chetan bhasin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).