Bug 207262 - NETMAP with kevent don't process incoming packets in different thread
Summary: NETMAP with kevent don't process incoming packets in different thread
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.2-STABLE
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-net mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-16 21:36 UTC by slw
Modified: 2019-01-10 22:22 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description slw 2016-02-16 21:36:51 UTC
NETMAP don't process incoming packets with next conditions:

1. open /dev/netmap and do NIOCREGIF (NR_REG_ONE_NIC for concrete) in one thread
2. kevent this fd and register event EVFILT_READ with EV_ADD|EV_ENABLE|EV_CLEAR in other thread

got EVFILT_READ but all head,tail,cur still 0
Comment 1 Vincenzo Maffione freebsd_committer 2019-01-10 22:22:28 UTC
Can you:
  - specify which FreeBSD version you are using
  - specify which netmap port are you opening (ixgbe? ixl? em? vale?, ...)
  - provide a code snippet that shows the problem
?