>> On 5 Apr 2017, at 10:49, Daniel Borkmann via iovisor-dev 
>> <[email protected]> wrote:
>> 
>> On 04/05/2017 02:09 PM, Paul Chaignon via iovisor-dev wrote:
>> [...]
>> Although it's not yet listed on the bcc repository, the Netronome nfp
>> driver does have support for XDP:
>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/
>> linux.git/commit/?id=ecd63a0217d5f1e8a92f7516f5586d1177b95de2
Yes so to implement XDP (without XDP
offload) on the netronome NICs you have
download the NIC FW that has recently been
pushed to the linux firmware tree and use
that along with the latest upstream driver
and everything should work :). 

The offload with maps is still in the works
but contact us if you want to chat about that
further. 
> 
> If you have a kernel git tree at hand, you can also check current in-tree
> drivers that implement ndo_xdp callback:
> 
> $ git grep -n ndo_xdp drivers/
> drivers/net/ethernet/broadcom/bnxt/bnxt.c:7303: .ndo_xdp                = 
> bnxt_xdp,
> drivers/net/ethernet/mellanox/mlx4/en_netdev.c:2870:    .ndo_xdp              
>   = mlx4_xdp,
> drivers/net/ethernet/mellanox/mlx4/en_netdev.c:2907:    .ndo_xdp              
>   = mlx4_xdp,
> drivers/net/ethernet/mellanox/mlx5/core/en_main.c:3593: .ndo_xdp              
>    = mlx5e_xdp,
> drivers/net/ethernet/mellanox/mlx5/core/en_main.c:3629: .ndo_xdp              
>    = mlx5e_xdp,
> drivers/net/ethernet/netronome/nfp/nfp_net_common.c:2957:       .ndo_xdp      
>           = nfp_net_xdp,
> drivers/net/ethernet/qlogic/qede/qede_main.c:556:       .ndo_xdp = qede_xdp,
> drivers/net/virtio_net.c:1906:  .ndo_xdp                = virtnet_xdp,
> _______________________________________________
> iovisor-dev mailing list
> [email protected]
> https://lists.iovisor.org/mailman/listinfo/iovisor-dev

_______________________________________________
iovisor-dev mailing list
[email protected]
https://lists.iovisor.org/mailman/listinfo/iovisor-dev

Reply via email to