octeon: Add Cavium Octeon driver support#731
octeon: Add Cavium Octeon driver support#731carlgsmith wants to merge 1 commit intoluigirizzo:masterfrom
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.
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.
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; |
|
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.