X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=doc%2Fguides%2Fnics%2Fbnxt.rst;h=309b91a01fb0c1561576c3e50ffcbcee34627903;hb=refs%2Fheads%2Frename-olflags1;hp=e75f4fa9e3bc06e675903ff9f96e2666b0a68684;hpb=fce3169abae2e5e803df8f0e8701ad5776bec6e2;p=dpdk.git diff --git a/doc/guides/nics/bnxt.rst b/doc/guides/nics/bnxt.rst index e75f4fa9e3..309b91a01f 100644 --- a/doc/guides/nics/bnxt.rst +++ b/doc/guides/nics/bnxt.rst @@ -512,9 +512,9 @@ configured TPID. // enable VLAN insert offload testpmd> port config (port_id) rx_offload vlan_insert|qinq_insert (on|off) - if (mbuf->ol_flags && PKT_TX_QINQ) // case-1: insert VLAN to single-tagged packet + if (mbuf->ol_flags && RTE_MBUF_F_TX_QINQ) // case-1: insert VLAN to single-tagged packet     tci_value = mbuf->vlan_tci_outer - else if (mbuf->ol_flags && PKT_TX_VLAN) // case-2: insert VLAN to untagged packet + else if (mbuf->ol_flags && RTE_MBUF_F_TX_VLAN) // case-2: insert VLAN to untagged packet     tci_value = mbuf->vlan_tci VLAN Strip @@ -528,7 +528,7 @@ The application configures the per-port VLAN strip offload. testpmd> port config (port_id) tx_offload vlan_strip (on|off) // notify application VLAN strip via mbuf - mbuf->ol_flags |= PKT_RX_VLAN | PKT_RX_STRIPPED // outer VLAN is found and stripped + mbuf->ol_flags |= RTE_MBUF_F_RX_VLAN | RTE_MBUF_F_RX_STRIPPED // outer VLAN is found and stripped mbuf->vlan_tci = tci_value // TCI of the stripped VLAN Time Synchronization @@ -552,7 +552,7 @@ packets to application via mbuf. .. code-block:: console // RX packet completion will indicate whether the packet is PTP - mbuf->ol_flags |= PKT_RX_IEEE1588_PTP + mbuf->ol_flags |= RTE_MBUF_F_RX_IEEE1588_PTP Statistics Collection ~~~~~~~~~~~~~~~~~~~~~