X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=doc%2Fguides%2Fnics%2Fhns3.rst;h=d51d9b13998960f2f09a01113e5d9a86ff474c6e;hb=cdf6a5fbc540cdaac576a2be6c8dac25ce173c65;hp=20c738799693763fb33d4a5dc0899c2e4c03e27b;hpb=be1650f734b7e478ce485587266e0f858c0cc21f;p=dpdk.git diff --git a/doc/guides/nics/hns3.rst b/doc/guides/nics/hns3.rst index 20c7387996..d51d9b1399 100644 --- a/doc/guides/nics/hns3.rst +++ b/doc/guides/nics/hns3.rst @@ -6,7 +6,7 @@ HNS3 Poll Mode Driver The hns3 PMD (**librte_net_hns3**) provides poll mode driver support for the inbuilt HiSilicon Network Subsystem(HNS) network engine -found in the HiSilicon Kunpeng 920 SoC. +found in the HiSilicon Kunpeng 920 SoC and Kunpeng 930 SoC . Features -------- @@ -59,7 +59,7 @@ Runtime Config Options ``sve``, if supported use the ``sve`` Rx function which indicates the sve algorithm. ``simple``, if supported use the ``simple`` Rx function which indicates - the scalar algorithm. + the scalar simple algorithm. ``common``, if supported use the ``common`` Rx function which indicates the scalar scattered algorithm. @@ -67,6 +67,9 @@ Runtime Config Options be first checked, if meets, use the ``vec``. Then, ``simple``, at last ``common``. + For example:: + -a 0000:7d:00.0,rx_func_hint=simple + - ``tx_func_hint`` (default ``none``) Used to select Tx burst function, supported value are ``vec``, ``sve``, @@ -84,6 +87,21 @@ Runtime Config Options be first checked, if meets, use the ``vec``. Then, ``simple``, at last ``common``. + For example:: + -a 0000:7d:00.0,tx_func_hint=common + +- ``dev_caps_mask`` (default ``0``) + + Used to mask the capability which queried from firmware. + This args take hexadecimal bitmask where each bit represents whether mask + corresponding capability. eg. If the capability is 0xFFFF queried from + firmware, and the args value is 0xF which means the bit0~bit3 should be + masked off, then the capability will be 0xFFF0. + Its main purpose is to debug and avoid problems. + + For example:: + -a 0000:7d:00.0,dev_caps_mask=0xF + Driver compilation and testing ------------------------------