On Mon, Apr 17, 2017 at 11:00:38AM +0100, Joe Jones wrote:
> Hi Navdeep
> 
> running "ifconfig up" and then "ifconfig promisc" works. Running "ifconfig
> promisc" and then "ifconfig up" does not work. Running "ifconfig up promisc"
> together does work. Running "ifconfig promisc up" does not work.

What version of FreeBSD is this?  I couldn't reproduce this on head with
a T6 card.  Can you please run this in parallel with your ifconfig
commands, note what dtrace logs in response to what command(s), and send
the output to me?

# dtrace -n 'fbt::t4_set_rxmode:entry {trace(arg4)}'

> 
> The combination that does not work leaves the interface in a state where it
> reports it's self as being in promiscuous mode.

In my experiments the interface did function in promiscuous mode whether
I did "ifconfig cc0 promisc up" or "ifconfig cc0 up promisc".

Regards,
Navdeep
_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to