DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] my problem about ixgbe_rx_vec_dev_conf_condition_check is called by ixgbe_set_rx_function in ixgbe
@ 2016-05-27 13:32  =?gb18030?B?s8no69XfsfA=?=
  2016-06-27 18:04 ` Ferruh Yigit
  0 siblings, 1 reply; 3+ messages in thread
From: =?gb18030?B?s8no69XfsfA=?= @ 2016-05-27 13:32 UTC (permalink / raw)
  To: =?gb18030?B?dXNlcnM=?=

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="gb18030", Size: 733 bytes --]

hello,


firstly ,gcc version is 3.4.3.


"PMD: ixgbe_set_rx_function(): Port[0] doesn't meet Vector Rx preconditions or RTE_IXGBE_INC_VECTOR is not enabled" is outputed while running l2fwd  and l3fwd ,i GDB the l2fwd and l3fwd.
i found ixgbe_rx_vec_dev_conf_condition_check has two definition ,one is:
int __attribute__((weak))
ixgbe_rx_vec_dev_conf_condition_check(struct rte_eth_dev __rte_unused *dev)
{
	return -1;
}


the other is:
int __attribute__((cold))
ixgbe_rx_vec_dev_conf_condition_check(struct rte_eth_dev *dev)
{
....
}
when i GDB the EXE, port_conf.rxmode.hw_ip_checksum was set to 0 .
ixgbe_set_rx_function call the former at every turn ,i want to know why .


any help would be appreciated.

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

* Re: [dpdk-users] my problem about ixgbe_rx_vec_dev_conf_condition_check is called by ixgbe_set_rx_function in ixgbe
  2016-05-27 13:32 [dpdk-users] my problem about ixgbe_rx_vec_dev_conf_condition_check is called by ixgbe_set_rx_function in ixgbe  =?gb18030?B?s8no69XfsfA=?=
@ 2016-06-27 18:04 ` Ferruh Yigit
  2016-07-27  4:12   ` [dpdk-users] =?gb18030?b?u9i4tKO6ICBteSBwcm9ibGVtIGFib3V0aXhnYmVf?= =?gb18030?q?rx=5Fvec=5Fdev=5Fconf=5Fcondition=5Fcheck_is_called_by_ixgbe=5Fset=5Frx=5Ffunction_inixgbe?=  =?gb18030?B?s8no69XfsfA=?=
  0 siblings, 1 reply; 3+ messages in thread
From: Ferruh Yigit @ 2016-06-27 18:04 UTC (permalink / raw)
  To: 成桦者别, users, Damjan Marion (damarion)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=gb18030, Size: 1361 bytes --]

On 5/27/2016 2:32 PM, ³ÉèëÕß±ð wrote:
> hello,
> 
> 
> firstly ,gcc version is 3.4.3.
> 
> 
> "PMD: ixgbe_set_rx_function(): Port[0] doesn't meet Vector Rx preconditions or RTE_IXGBE_INC_VECTOR is not enabled" is outputed while running l2fwd  and l3fwd ,i GDB the l2fwd and l3fwd.
> i found ixgbe_rx_vec_dev_conf_condition_check has two definition ,one is:
> int __attribute__((weak))
> ixgbe_rx_vec_dev_conf_condition_check(struct rte_eth_dev __rte_unused *dev)
> {
> 	return -1;
> }
> 
> 
> the other is:
> int __attribute__((cold))
> ixgbe_rx_vec_dev_conf_condition_check(struct rte_eth_dev *dev)
> {
> ....
> }
> when i GDB the EXE, port_conf.rxmode.hw_ip_checksum was set to 0 .
> ixgbe_set_rx_function call the former at every turn ,i want to know why .
> 
> 
> any help would be appreciated.
> 

I don't know if this is from same person/team, but if not please check
following mail thread for same issue:

http://dpdk.org/ml/archives/dev/2016-June/042323.html

If issue is still valid for you:
Briefly, weak function is defined for the case RTE_IXGBE_INC_VECTOR
config option not enabled.

Which one to link against will be chosen on build time, if app linked
against first one, I would guess RTE_IXGBE_INC_VECTOR is not enabled,
can you please share the output of:
objdump -x librte_pmd_i40e.a| grep i40e_rx_vec_dev_conf_condition_check

Thanks,
ferruh

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

* [dpdk-users] =?gb18030?b?u9i4tKO6ICBteSBwcm9ibGVtIGFib3V0aXhnYmVf?= =?gb18030?q?rx=5Fvec=5Fdev=5Fconf=5Fcondition=5Fcheck_is_called_by_ixgbe=5Fset=5Frx=5Ffunction_inixgbe?=
  2016-06-27 18:04 ` Ferruh Yigit
@ 2016-07-27  4:12   `  =?gb18030?B?s8no69XfsfA=?=
  0 siblings, 0 replies; 3+ messages in thread
From: =?gb18030?B?s8no69XfsfA=?= @ 2016-07-27  4:12 UTC (permalink / raw)
  To: =?gb18030?B?RmVycnVoIFlpZ2l0?=, =?gb18030?B?dXNlcnM=?=,
	=?gb18030?B?RGFtamFuIE1hcmlvbiAoZGFtYXJpb24p?=

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="gb18030", Size: 1835 bytes --]

This reply is helpful to me,thanks a lot.




------------------ ԭʼÓʼþ ------------------
·¢¼þÈË: "Ferruh Yigit"<ferruh.yigit@intel.com>; 
·¢ËÍʱ¼ä: 2016Äê6ÔÂ28ÈÕ(ÐÇÆÚ¶þ) Á賿2:04
ÊÕ¼þÈË: "³ÉèëÕß±ð"<373755701@qq.com>; "users"<users@dpdk.org>; "Damjan Marion (damarion)"<damarion@cisco.com>; 
Ö÷Ìâ: Re: [dpdk-users] my problem aboutixgbe_rx_vec_dev_conf_condition_check is called by ixgbe_set_rx_function inixgbe



On 5/27/2016 2:32 PM, ³ÉèëÕß±ð wrote:
> hello,
> 
> 
> firstly ,gcc version is 3.4.3.
> 
> 
> "PMD: ixgbe_set_rx_function(): Port[0] doesn't meet Vector Rx preconditions or RTE_IXGBE_INC_VECTOR is not enabled" is outputed while running l2fwd  and l3fwd ,i GDB the l2fwd and l3fwd.
> i found ixgbe_rx_vec_dev_conf_condition_check has two definition ,one is:
> int __attribute__((weak))
> ixgbe_rx_vec_dev_conf_condition_check(struct rte_eth_dev __rte_unused *dev)
> {
> 	return -1;
> }
> 
> 
> the other is:
> int __attribute__((cold))
> ixgbe_rx_vec_dev_conf_condition_check(struct rte_eth_dev *dev)
> {
> ....
> }
> when i GDB the EXE, port_conf.rxmode.hw_ip_checksum was set to 0 .
> ixgbe_set_rx_function call the former at every turn ,i want to know why .
> 
> 
> any help would be appreciated.
> 

I don't know if this is from same person/team, but if not please check
following mail thread for same issue:

http://dpdk.org/ml/archives/dev/2016-June/042323.html

If issue is still valid for you:
Briefly, weak function is defined for the case RTE_IXGBE_INC_VECTOR
config option not enabled.

Which one to link against will be chosen on build time, if app linked
against first one, I would guess RTE_IXGBE_INC_VECTOR is not enabled,
can you please share the output of:
objdump -x librte_pmd_i40e.a| grep i40e_rx_vec_dev_conf_condition_check

Thanks,
ferruh

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

end of thread, other threads:[~2016-07-27  4:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-27 13:32 [dpdk-users] my problem about ixgbe_rx_vec_dev_conf_condition_check is called by ixgbe_set_rx_function in ixgbe  =?gb18030?B?s8no69XfsfA=?=
2016-06-27 18:04 ` Ferruh Yigit
2016-07-27  4:12   ` [dpdk-users] =?gb18030?b?u9i4tKO6ICBteSBwcm9ibGVtIGFib3V0aXhnYmVf?= =?gb18030?q?rx=5Fvec=5Fdev=5Fconf=5Fcondition=5Fcheck_is_called_by_ixgbe=5Fset=5Frx=5Ffunction_inixgbe?=  =?gb18030?B?s8no69XfsfA=?=

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).