-
Notifications
You must be signed in to change notification settings - Fork 536
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
octeon: Add Cavium Octeon driver support #731
base: master
Are you sure you want to change the base?
Conversation
LINUX/octeon_netmap.h
Outdated
for (i = 0; i <= nma_get_nrings(na, t); i++) { | ||
struct netmap_kring *kring = NMR(na, t)[i]; | ||
if (nm_kring_pending_on(kring)) { | ||
kring->nr_mode = NKR_NETMAP_ON; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For hardware NICs, this operation is usually performed by calling netmap_reset
from the driver patch. You can look at intel drivers, for example, or vmxnet3.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
LINUX/octeon_netmap.h
Outdated
for (i = 0; i <= nma_get_nrings(na, t); i++) { | ||
struct netmap_kring *kring = NMR(na, t)[i]; | ||
if (nm_kring_pending_off(kring)) { | ||
kring->nr_mode = NKR_NETMAP_OFF; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Have also updated patch to include NAF_OFFSETS support for Octeon |
Hi, sorry for the late reply. We are more than willing to merge this, but vanilla patches are auto-generated from a different repository which is a clone of vanilla linux. You find a copy of the repo here: https://github.com/giuseppelettieri/linux-pspat. There is a |
No description provided.