Re: netmap error on -CURRENT with em and igb

2017-04-05 Thread Sean Bruno
On 02/16/17 02:25, Giuseppe Lettieri wrote: > Hi all, > > the "Operation not permitted" is coming from iflib_netmap_register: > > ifp->if_drv_flags &= ~(IFF_DRV_RUNNING | IFF_DRV_OACTIVE); > ... > IFDI_INIT(ctx);// for igb it calls em_if_init() > ... > return (ifp->if_dr

Re: netmap error on -CURRENT with em and igb

2017-02-16 Thread Giuseppe Lettieri
Hi all, the "Operation not permitted" is coming from iflib_netmap_register: ifp->if_drv_flags &= ~(IFF_DRV_RUNNING | IFF_DRV_OACTIVE); ... IFDI_INIT(ctx); // for igb it calls em_if_init() ... return (ifp->if_drv_flags & IFF_DRV_RUNNING ? 0 : 1); the last

netmap error on -CURRENT with em and igb

2017-02-16 Thread Eggert, Lars
Hi, I can't put em or igb interfaces into netmap mode on a recent -CURRENT (ix interfaces work on the same machines). Here are the pkt-gen and dmesg outputs: # sudo sysctl dev.netmap.admode=1 # sudo sysctl dev.netmap.verbose=1 # sudo ./pkt-gen -i em1 790.411737 main [2274] interface is em1 79