bge & vlan stranges

Peter Edwards peter.edwards at openet-telecom.com
Fri Aug 1 05:47:17 PDT 2003


Hm. A bit of a stab in the dark, but from sys/dev/bge/if_bge.c, line
3185 (on 5.1 release, 2399)

>         /* Specify MTU. */
>         CSR_WRITE_4(sc, BGE_RX_MTU, ifp->if_mtu +
>             ETHER_HDR_LEN + ETHER_CRC_LEN);
> 
> 
Wonder if this should be
  
>         /* Specify MTU. */
>         CSR_WRITE_4(sc, BGE_RX_MTU, ifp->if_mtu +
>             ETHER_HDR_LEN + ETHER_CRC_LEN + ETHER_VLAN_ENCAP_LEN);
> 

Given that bge advertises IFCAP_VLAN_MTU??




More information about the freebsd-current mailing list