On Fri, Jun 05, 2020 at 09:17:29PM +0800, [email protected] wrote:
> From: Tonghao Zhang <[email protected]>
> 
> This patch allows to install arp rules to tc dp.
> In the future, arp will be offloaded to hardware to
> be processed. So OvS enable this now.
> 
> $ ovs-appctl dpctl/add-flow 'recirc_id(0),in_port(3),eth(),\
>   eth_type(0x0806),arp(op=2,tha=00:50:56:e1:4b:ab,tip=10.255.1.116)' 2
> 
> $ ovs-appctl dpctl/dump-flows
>   ... arp(tip=10.255.1.116,op=2,tha=00:50:56:e1:4b:ab) ...
> 
> $ tc filter show dev <ethx> ingress
>   ...
>   eth_type arp
>   arp_tip 10.255.1.116
>   arp_op reply
>   arp_tha 00:50:56:e1:4b:ab
>   not_in_hw
>     action order 1: mirred (Egress Redirect to device <ethy>) stolen
>     ...
> 
> Cc: Simon Horman <[email protected]>
> Cc: Paul Blakey <[email protected]>
> Cc: Roi Dayan <[email protected]>
> Cc: Ben Pfaff <[email protected]>
> Cc: William Tu <[email protected]>
> Cc: Ilya Maximets <[email protected]>
> Signed-off-by: Tonghao Zhang <[email protected]>
> ---
> v2:
> * rebase code for master branch
> * build testing on travis-ci: 
> https://travis-ci.com/github/ovn-open-virtual-networks/ovs/builds/169818283 
> * fix build err on 
> https://travis-ci.org/github/horms2/ovs/jobs/694632844#L2809
> * fix coding style(add a space both before and after ':'.)

Thanks, applied to master.
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to