[PATCH v2 1/2] doc: note KNI alternatives

Ferruh Yigit ferruh.yigit at intel.com
Wed Nov 24 15:19:27 CET 2021


On 11/24/2021 1:58 PM, Thomas Monjalon wrote:
> 23/11/2021 13:08, Ferruh Yigit:
>> --- a/doc/guides/nics/tap.rst
>> +++ b/doc/guides/nics/tap.rst
>> @@ -1,6 +1,8 @@
>>   ..  SPDX-License-Identifier: BSD-3-Clause
>>       Copyright(c) 2016 Intel Corporation.
>>   
>> +.. _TunTap_PMD:
> 
> No need for such anchor at the beginning of a doc.
> You can reference a document with :doc:
> 

ack

> [...]
>> +There are other alternatives to KNI, all are available in the upstream Linux:
>> +
>> +#. :ref:`virtio_user_as_exceptional_path`
>> +
>> +#. :ref:`TunTap_PMD` as wrapper to `Linux tun/tap
>> +   <https://www.kernel.org/doc/Documentation/networking/tuntap.txt>`_
> 
> What about pcap, AF_PACKET and AF_XDP PMDs?
> 
> 

They are different, not exactly KNI alternative.

pcap, af_packet & af_xdp are on top of sockets for specific interface,
KNI & virtio-user enables injecting packets to Linux networking stack
without being tied to any existing interface.


More information about the dev mailing list