Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is possible to run purifier with i40e? #12

Open
tonve opened this issue May 16, 2017 · 8 comments
Open

Is possible to run purifier with i40e? #12

tonve opened this issue May 16, 2017 · 8 comments

Comments

@tonve
Copy link

tonve commented May 16, 2017

/var/log/purifier.log
PMD: i40e_pf_config_rss(): Max of contiguous 2 PF queues are configured
EAL: Error - exiting with code: 1
Cause: rte_eth_dev_filter_ctrl: err=-22

Google finds that error is related to version-specific dpdk-driver, and looks like that was fixed in current stable branch.
I'm wrong?
Purifier may be built with 17.05 release?

@tonve
Copy link
Author

tonve commented May 18, 2017

The same issue with freebsd, dpdk 16.07 from ports collection
PMD: i40e_pf_config_rss(): Max of contiguous 2 PF queues are configured
EAL: Error - exiting with code: 1
Cause: rte_eth_dev_filter_ctrl: err=-22

@tonve
Copy link
Author

tonve commented May 18, 2017

Also tries with dpdk 17.05 still unhappens:
i40e_pf_config_rss(): Max of contiguous 2 PF queues are configured
i40e_ethertype_filter_restore(): Ethertype filter: mac_etype_used = 0, etype_used = 0, mac_etype_free = 0, etype_free = 0
i40e_fdir_filter_restore(): FDIR: Guarant count: 0, Best count: 0
i40e_dev_filter_ctrl(): Filter type (5) not supported
EAL: Error - exiting with code: 1
Cause: rte_eth_dev_filter_ctrl: err=-22

@medvedv
Copy link
Owner

medvedv commented May 19, 2017

Hi,

Currently it is impossible to run purifier on i40, because it doesn't support L2 ethertype filters. I'm going to change purifier's arcitecture regarding NIC features soon.

@Onepamopa
Copy link

Onepamopa commented May 24, 2017

Actually I think some of the i40e support ethertype filters, at least there are mentions of them in the datasheets.

@Onepamopa
Copy link

"7.1.6 Layer 2 classification filter
The 710 series supports L2 filters (MAC / VLAN / L2 Ethertype) in the embedded switch. These filters act on the following layers: S-Tag; MAC address; VLAN and EtherType. These filters define a VSI and can also define a unique LAN queue within that VSI. The LAN queue is enabled by the ToQueue flag and the queue is defined by the queue number for each filter. These parameters are programmed by admin commands described in Section 7.4.9.5.9. The filters can be defined as the second or fifth priority filters for receive queue classification as follows:
"

@tonve
Copy link
Author

tonve commented May 24, 2017

Actually I think some of the i40e support ethertype filters, at least there are mentions of them in the datasheets.

Supported by hardware but not by drivers yet.
History with openvswitch-guys and rejected patch here
https://patchwork.ozlabs.org/patch/601608/

@Onepamopa
Copy link

So the only reason the patch was rejected was due to reordering of fragmented packets, that's not a problem for purifier. After all, fragmented packets are dropped by default.

@Onepamopa
Copy link

Couldn't flow director be used to classify IP/UDP? I just checked the examples in http://dpdk.org/doc/guides/nics/i40e.html but I don't have such hardware to check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants