X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=doc%2Fguides%2Fnics%2Fbnx2x.rst;h=c011df15510f979d9e8131a18f54b743cb18b40e;hb=2a5a433ba5f40534c6e05eca3957ac85c79ef758;hp=7a94080191e09578895f2a7cdf12b90820b4ac66;hpb=47a298e79b593ace632044d263591b6da665cbc9;p=dpdk.git diff --git a/doc/guides/nics/bnx2x.rst b/doc/guides/nics/bnx2x.rst index 7a94080191..c011df1551 100644 --- a/doc/guides/nics/bnx2x.rst +++ b/doc/guides/nics/bnx2x.rst @@ -60,6 +60,7 @@ The features not yet supported include: - LRO/TSO offload - Checksum offload - SR-IOV PF +- Rx TX scatter gather Co-existence considerations --------------------------- @@ -81,7 +82,7 @@ Supported QLogic NICs Prerequisites ------------- -- Requires firmware version **7.2.51.0**. It is inbox on most of the +- Requires firmware version **7.2.51.0**. It is included in most of the standard Linux distros. If it is not available visit `QLogic Driver Download Center `_ to get the required firmware. @@ -143,6 +144,14 @@ command:: cd make config T=i686-native-linuxapp-gcc install +To compile BNX2X PMD for Linux i686 gcc target, run the following "make" +command: + +.. code-block:: console + + cd + make config T=i686-native-linuxapp-gcc install + To compile BNX2X PMD for FreeBSD x86_64 clang target, run the following "gmake" command:: @@ -153,7 +162,15 @@ To compile BNX2X PMD for FreeBSD x86_64 gcc target, run the following "gmake" command:: cd - gmake config T=x86_64-native-bsdapp-gcc install -Wl,-rpath=/usr/local/lib/gcc48 CC=gcc48 + gmake config T=x86_64-native-bsdapp-gcc install -Wl,-rpath=/usr/local/lib/gcc49 CC=gcc49 + +To compile BNX2X PMD for FreeBSD x86_64 gcc target, run the following "gmake" +command: + +.. code-block:: console + + cd + gmake config T=x86_64-native-bsdapp-gcc install -Wl,-rpath=/usr/local/lib/gcc49 CC=gcc49 Linux ----- @@ -190,7 +207,7 @@ devices managed by ``librte_pmd_bnx2x`` in Linux operating system. #. Bind the QLogic adapters to ``igb_uio`` or ``vfio-pci`` loaded in the previous step:: - ./tools/dpdk_nic_bind.py --bind igb_uio 0000:84:00.0 0000:84:00.1 + ./usertools/dpdk-devbind.py --bind igb_uio 0000:84:00.0 0000:84:00.1 or @@ -202,7 +219,7 @@ devices managed by ``librte_pmd_bnx2x`` in Linux operating system. sudo chmod 0666 /dev/vfio/* - ./tools/dpdk_nic_bind.py --bind vfio-pci 0000:84:00.0 0000:84:00.1 + ./usertools/dpdk-devbind.py --bind vfio-pci 0000:84:00.0 0000:84:00.1 #. Start ``testpmd`` with basic parameters: @@ -297,7 +314,7 @@ This section provides instructions to configure SR-IOV with Linux OS. #. Assign VF MAC address: - Assign MAC address to the VF using iproute2 ulility. The syntax is: + Assign MAC address to the VF using iproute2 utility. The syntax is: ip link set vf mac Example output: @@ -307,7 +324,7 @@ This section provides instructions to configure SR-IOV with Linux OS. ip link set ens5f0 vf 0 mac 52:54:00:2f:9d:e8 -#. PCI passthrough: +#. PCI Passthrough: The VF devices may be passed through to the guest VM using virt-manager or virsh etc. bnx2x PMD should be used to bind the VF devices in the guest VM