Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - devnp-e1000.so promiscuous mode?: (5 Items)
   
devnp-e1000.so promiscuous mode?  
Hi,

I read in the 6.4.1 release notes that the devnp-i82544.so driver doesn't support promiscuous mode.  What about devnp-
e1000.so?  Is there a way to make it run in promiscuous mode?

Regards,
Peter Engstrom
RE: devnp-e1000.so promiscuous mode?  
Promiscuous mode is not set from the driver command line under io-pkt.
It is set using ifconfig. The devnp-e1000.so driver supports this as
well as the devnp-i82544.so driver.

Hugh.

-----Original Message-----
From: Peter Engstrom [mailto:community-noreply@qnx.com] 
Sent: Thursday, August 27, 2009 4:01 AM
To: drivers-networking
Subject: devnp-e1000.so promiscuous mode?

Hi,

I read in the 6.4.1 release notes that the devnp-i82544.so driver
doesn't support promiscuous mode.  What about devnp-e1000.so?  Is there
a way to make it run in promiscuous mode?

Regards,
Peter Engstrom



_______________________________________________

Networking Drivers
http://community.qnx.com/sf/go/post36757
Re: RE: devnp-e1000.so promiscuous mode?  
Hi,

but I remember Sean once said that it wasn't possible to set IFF_PROMISC using ifconfig since it's part of 
IFF_CANTCHANGE.  Has that changed?  If so could you provide an example how it's done?

Regards,
Peter

Re: RE: devnp-e1000.so promiscuous mode?  
Hi,

in e1000/init.c:i82544_init() I can see that i82544_enable() is called which sets the promiscuous bits in the rctl 
register.  However, these settings seem to be undone by the following i82544_filter() call.

Regards,
Peter

Re: RE: devnp-e1000.so promiscuous mode?  
On Thu, Aug 27, 2009 at 09:25:00AM -0400, Peter Engstrom wrote:
> Hi,
> 
> but I remember Sean once said that it wasn't possible to set IFF_PROMISC using ifconfig since it's part of 
IFF_CANTCHANGE.  Has that changed?  If so could you provide an example how it's done?

In io-pkt the stack sets promiscuous mode in response
to certain conditions: setting up a bridge, the BPF
BIOCPROMISC ioctl...  The latter might be what you
want.

-seanb