Netmap - Vale switch - tcp problem

Luigi Rizzo rizzo at iet.unipi.it
Thu May 28 14:05:59 UTC 2020


On Thursday, May 28, 2020, Anthony Arnaud <antho.arnaudisce at gmail.com>
wrote:

> Hi everyone!
> I would like to create a vale switch with an interface attached with the
> host stack and some virtual.
> My env is a VM with FBSD-12.1 12.1-RELEASE FreeBSD 12.1-RELEASE r354233
> GENERIC  amd64
> and VirtIO support.
>
> I performed:
>
> vale-ctl -h vale0:vtnet1
> vale-ctl -n vi0
> vale-ctl -a vale0:vi0
>
> 615.925514 bdg_ctl [149] bridge:0 port:0 vale0:vtnet1
> 615.925559 bdg_ctl [149] bridge:0 port:1 vale0:vtnet1^
> 615.925572 bdg_ctl [149] bridge:0 port:2 vale0:vi0
>
> vtnet1 is configured as mirror port.
> But if:
>
> tcpdump -i vtnet1
> or
> tcpdump -i vale0:vi0
>
> why can't I see any TCP packets?
> UDP and ICMP packet are ok.
>
> Without vale switch tcpdump show all TCP packets correctly.


You have to disable checksum offloading on vtnet1.

Cheers
Luigi

It is a bug?
> Thanks to all!
> <freebsd-net at freebsd.org>
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>


-- 
-----------------------------------------+-------------------------------
 Prof. Luigi RIZZO, rizzo at iet.unipi.it  . Dip. di Ing. dell'Informazione
 http://www.iet.unipi.it/~luigi/        . Universita` di Pisa
 TEL      +39-050-2217533               . via Diotisalvi 2
 Mobile   +39-338-6809875               . 56122 PISA (Italy)
-----------------------------------------+-------------------------------


More information about the freebsd-net mailing list