summaryrefslogtreecommitdiff
path: root/doc/guides/nics
AgeCommit message (Collapse)Author
2019-10-23net/hinic: document missing featuresXiaoyun Wang
Add features to ini file. Signed-off-by: Xiaoyun Wang <cloud.wangxiaoyun@huawei.com>
2019-10-23net/hinic: support LRO offloadXiaoyun Wang
This patch supports LRO offload. Signed-off-by: Xiaoyun Wang <cloud.wangxiaoyun@huawei.com>
2019-10-23net/hinic: get firmware versionXiaoyun Wang
This patch adds support for getting firmware version. Signed-off-by: Xiaoyun Wang <cloud.wangxiaoyun@huawei.com>
2019-10-23net/hinic: set link down and upXiaoyun Wang
This patch supports setting link down and up. Signed-off-by: Xiaoyun Wang <cloud.wangxiaoyun@huawei.com>
2019-10-23net/hinic/base: add flow director config interfaceXiaoyun Wang
This patch adds fdir config operation, including set fdir filter, normal filter, set and clear fdir tcam. Signed-off-by: Xiaoyun Wang <cloud.wangxiaoyun@huawei.com>
2019-10-23net/hinic: add unicast and multicast MAC setXiaoyun Wang
This patch adds unicast and multicast set interfaces. Application can add or remove unicast MAC address, also can set multicast MAC address, the maximum multicast list size is 2048. Signed-off-by: Xiaoyun Wang <cloud.wangxiaoyun@huawei.com>
2019-10-23net/hinic: add allmulticast mode and MTU setXiaoyun Wang
When enable allmulticast mode, all multicast packets can be received. This patch also adds support for MTU set, the range of MTU is from 256 to 9600. Signed-off-by: Xiaoyun Wang <cloud.wangxiaoyun@huawei.com>
2019-10-23net/hinic: add VLAN filter and offloadXiaoyun Wang
This patch adds support for VLAN filter and VLAN offload. Signed-off-by: Xiaoyun Wang <cloud.wangxiaoyun@huawei.com>
2019-10-23net/hinic/base: add mbox command channel for SR-IOVXiaoyun Wang
Add mbox command channel for SR-IOV, which is used to communicate between VF and VF, VF and PF. This patch introduces data structures, initialization, interfaces and commands of mbox channel. Signed-off-by: Xiaoyun Wang <cloud.wangxiaoyun@huawei.com>
2019-10-23net/pfe: add link status updateGagandeep Singh
This patch add link related operations like link update, up and down. Signed-off-by: Gagandeep Singh <g.singh@nxp.com> Acked-by: Nipun Gupta <nipun.gupta@nxp.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
2019-10-23net/pfe: add allmulticast and promiscuousGagandeep Singh
This patch adds support to enable multicast and promiscuous mode. Signed-off-by: Gagandeep Singh <g.singh@nxp.com> Acked-by: Nipun Gupta <nipun.gupta@nxp.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
2019-10-23net/pfe: add MTU and MAC address setGagandeep Singh
To update MAC address or MTU, operations are added to the driver. Signed-off-by: Gagandeep Singh <g.singh@nxp.com> Acked-by: Nipun Gupta <nipun.gupta@nxp.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
2019-10-23net/pfe: add packet types and basic statisticsGagandeep Singh
This patch add support for supported packet types by the platform andbasic statistics like numbers of packets/bytes receive and transmit. Signed-off-by: Gagandeep Singh <g.singh@nxp.com> Acked-by: Nipun Gupta <nipun.gupta@nxp.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
2019-10-23net/pfe: add queue setup and releaseGagandeep Singh
This patch add RX/TX queue setup operations and supported checksum offloads. Signed-off-by: Gagandeep Singh <g.singh@nxp.com> Acked-by: Nipun Gupta <nipun.gupta@nxp.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
2019-10-23net/pfe: introduce basic functionsGagandeep Singh
pfe (packet forwarding engine) is a network poll mode driver for NXP SoC ls1012a. This patch introduces the framework of pfe driver with basic functions of initialisation and teardown. Signed-off-by: Gagandeep Singh <g.singh@nxp.com> Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com> Acked-by: Nipun Gupta <nipun.gupta@nxp.com>
2019-10-23net/enic: add flow implementation based on Flow Manager APIHyong Youb Kim
Flow Manager API is the new firmware interface that exposes match action capabilities in 1400 series VIC adapters. It is intended for virtual switch offloads and enables more advanced features than the existing filter API. For example, it supports VXLAN encap and decap actions, and exposes TCAM and exact match tables. Add the new flow implementation using Flow Manager and use it when available. When Flow Manager is not available, the driver will continue to use the old filter-based flow implementation. Signed-off-by: John Daley <johndale@cisco.com> Signed-off-by: Hyong Youb Kim <hyonkim@cisco.com>
2019-10-23net/enic: enable GENEVE with options offloadHyong Youb Kim
Latest firmware supports Geneve with options offload. Current overlay offload only supports Geneve with no options. This new feature is disabled by default, as it is intrusive and cannot be used with flow API. Add a new devarg 'geneve-opt' so the user can explicitly enable it. Signed-off-by: Hyong Youb Kim <hyonkim@cisco.com> Reviewed-by: John Daley <johndale@cisco.com>
2019-10-08net/mlx5: adjust inline setting for large Tx queue sizesViacheslav Ovsiienko
The hardware may have limitations on maximal amount of supported Tx descriptors building blocks (WQEBB). Application requires the Tx queue must accept the specified amount of packets. If inline data feature is engaged the packet may require more WQEBBs and overall amount of blocks may exceed the hardware capabilities. Application has to make a trade-off between Tx queue size and maximal data inline size. In case if the inline settings are not requested explicitly with devarg keys the default values are used. This patch adjusts the applied default values if large Tx queue size is requested and default inline settings can not be satisfied due to hardware limitations. The explicitly requested inline setting may be aligned (enlarging only) by configurations routines to provide better WQEBB filling, this implicit alignment is the subject for adjustment either. The warning message is emitted to the log if adjustment happens. Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
2019-10-08net/bnx2x: update to latest FW 7.13.11Rasesh Mody
Use latest firmware 7.13.11. 7.13.11 FW changelog: - Packets from a VF with pvid configured which were sent with a different vlan were transmitted instead of being discarded. - In some multi-function configurations, inter-PF and inter-VF Tx switching is incorrectly enabled. - Wrong assert code in FLR final cleanup in case it is sent not after FLR. - Chip may stall in very rare cases under heavy traffic with FW GRO enabled. - VF malicious notification error fixes. - Default gre tunnel to IPGRE which allows proper RSS for IPGRE packets, L2GRE traffic will reach single queue. - Removes unnecessary internal mem config, latest FW performs this autonomously. Update the PMD version to 1.1.0.1. Signed-off-by: Rasesh Mody <rmody@marvell.com>
2019-10-08net/octeontx2: support TSO offloadNithin Dabilpuram
Add support to below TCP segmentation offloads for 96XX A1 onwards and 95xx B0 onwards. - TCPv4, TCPv6 - VXLAN[v4 | v6][v4 | v6] - GENEVE[v4 | v6][v4 | v6] This patch also modifies a fastpath function to be forced inline due to performance reasons for multi-seg mode. Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
2019-10-08net/octeontx2: support Tx descriptor statusKiran Kumar K
Adding support for tx descriptor status dev ops for octeontx2. Signed-off-by: Kiran Kumar K <kirankumark@marvell.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
2019-10-08net/dpaa2: add optional non-prefetch Rx modeNipun Gupta
When we need particular number of packets from the rx routine, which would change in every call, we cannot prefetch the packets and provide previous results to the user. User can select the mode by using devargs for non prefetch mode. Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
2019-10-07doc: remove deprecated flow director from enic guideJohn Daley
The legacy filter API "flow director" has been superseded by rte_flow since 2017. Remove comments in the enic guide regarding the deprecated feature. Signed-off-by: John Daley <johndale@cisco.com> Reviewed-by: Hyong Youb Kim <hyonkim@cisco.com>
2019-10-07net/cxgbe: fetch max Tx coalesce limit from firmwareRahul Lakkireddy
Query firmware for max number of packets that can be coalesced by Tx. Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
2019-10-07net/cxgbe: add devarg to control Tx coalescingRahul Lakkireddy
Remove compile time option to control Tx coalescing Latency vs Throughput behavior. Add tx_mode_latency devarg instead, to dynamically control Tx coalescing behavior. Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
2019-10-07net/cxgbe: separate VF only devargsRahul Lakkireddy
Rework devargs parsing logic to separate VF only args. Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
2019-10-07net/cxgbe: use dynamic logging for debug printsRahul Lakkireddy
Remove compile time flags and use dynamic logging for debug prints. Also remove rarely used debug logs in register access and datapath. Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
2019-10-07net/vhost: support TSO disablingNoa Ezra
TSO (TCP Segmentation Offload) is enabled by default on vhost. Add the ability to disable TSO on vhost. The user should also disable the feature on the virtual machine's xml. Signed-off-by: Noa Ezra <noae@mellanox.com> Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com> Reviewed-by: Matan Azrad <matan@mellanox.com>
2019-10-07doc: clarify MAC/VLAN filtering in virtio guideTiwei Bie
Explicitly document that the MAC/VLAN filtering in virtio is best effort to help users understand why unwanted packets could still arrive. Signed-off-by: Tiwei Bie <tiwei.bie@intel.com> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2019-10-07net/hns3: support device statsWei Hu (Xavier)
This patch adds stats_get, stats_reset, xstats_get, xstats_get_names xstats_reset, xstats_get_by_id and xstats_get_names_by_id related function codes. Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com> Signed-off-by: Hao Chen <chenhao164@huawei.com> Signed-off-by: Chunsong Feng <fengchunsong@huawei.com> Signed-off-by: Min Hu (Connor) <humin29@huawei.com> Signed-off-by: Huisong Li <lihuisong@huawei.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2019-10-07net/hns3: add start/stop and configure operationsWei Hu (Xavier)
This patch adds dev_start, dev_stop, dev_configure, promiscuous_enable, promiscuous_disable, allmulticast_enable, allmulticast_disable, dev_infos_get related function codes. Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com> Signed-off-by: Chunsong Feng <fengchunsong@huawei.com> Signed-off-by: Min Hu (Connor) <humin29@huawei.com> Signed-off-by: Hao Chen <chenhao164@huawei.com> Signed-off-by: Huisong Li <lihuisong@huawei.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2019-10-07net/hns3: support Rx/Tx and related operationsWei Hu (Xavier)
This patch adds queue related operation, package sending and receiving function codes. Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com> Signed-off-by: Chunsong Feng <fengchunsong@huawei.com> Signed-off-by: Min Wang (Jushui) <wangmin3@huawei.com> Signed-off-by: Min Hu (Connor) <humin29@huawei.com> Signed-off-by: Hao Chen <chenhao164@huawei.com> Signed-off-by: Huisong Li <lihuisong@huawei.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2019-10-07net/hns3: support VFWei Hu (Xavier)
This patch adds support for hns3 VF PMD driver. In current version, we only support VF device is bound to vfio_pci or igb_uio and then driven by DPDK driver when PF is driven by kernel mode hns3 ethdev driver, VF is not supported when PF is driven by DPDK driver. Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com> Signed-off-by: Chunsong Feng <fengchunsong@huawei.com> Signed-off-by: Min Hu (Connor) <humin29@huawei.com> Signed-off-by: Hao Chen <chenhao164@huawei.com> Signed-off-by: Huisong Li <lihuisong@huawei.com> Signed-off-by: Chengchang Tang <tangchengchang@hisilicon.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2019-10-07net/hns3: support VLANWei Hu (Xavier)
This patch adds support for vlan related operation of hns3 PMD driver. Signed-off-by: Min Hu (Connor) <humin29@huawei.com> Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com> Signed-off-by: Chunsong Feng <fengchunsong@huawei.com> Signed-off-by: Hao Chen <chenhao164@huawei.com> Signed-off-by: Huisong Li <lihuisong@huawei.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2019-10-07net/hns3: support flow controlWei Hu (Xavier)
This patch adds support for MAC PAUSE flow control and priority flow control(PFC). MAC PAUSE flow control features: All user priorities(up) are mapped to tc0. It supports settings of flow mode and pause time. DCB features: Up can be mapped to other tc driver permits according to business requirement. We can config DCB information and enable PFC by rte_eth_dev_configure interface. Besides, enabling flow control of a priority is supported by rte_eth_dev_priority_flow_ctrl_set interface. we can also set flow mode and pause time by rte_eth_dev_priority_flow_ctrl_set. we do not support manual setting of ETS, but driver equally distributes bandwidth for each tc according to number of used tc. In addition, flow control function by default is turned off to ensure that app startup state is the same each time. Signed-off-by: Huisong Li <lihuisong@huawei.com> Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com> Signed-off-by: Chunsong Feng <fengchunsong@huawei.com> Signed-off-by: Min Hu (Connor) <humin29@huawei.com> Signed-off-by: Hao Chen <chenhao164@huawei.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2019-10-07net/hns3: support RSSWei Hu (Xavier)
This patch adds support for RSS of hns3 PMD driver. It included the follow functions: In file hns3_rss.c: 1) Set/query hash key, rss_hf by .rss_hash_update/.rss_hash_conf_get ops callback functions. 2) Set/query redirection table by .reta_update/.reta_query. ops callback functions. 3) Set/query hash algorithm by .filter_ctrl ops callback function when the 'filter_type' is RTE_ETH_FILTER_HASH. In file hns3_flow.c: 1) Set hash key, rss_hf, redirection table and algorithm by .create ops callback function. 2) Disable RSS by .destroy or .flush ops callback function. 3) Check the effectiveness of the RSS's configuration by .validate ops callback function. Signed-off-by: Hao Chen <chenhao164@huawei.com> Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com> Signed-off-by: Chunsong Feng <fengchunsong@huawei.com> Signed-off-by: Min Hu (Connor) <humin29@huawei.com> Signed-off-by: Huisong Li <lihuisong@huawei.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2019-10-07net/hns3: support flow directorWei Hu (Xavier)
This patch adds support for rte_flow_ops operation and flow director of hns3 PMD driver. Flow director feature is only supported in hns3 PF driver. It supports the network L2\L3\L4 and tunnel packet creation, deletion, flushing, and querying hit statistics. Signed-off-by: Chunsong Feng <fengchunsong@huawei.com> Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com> Signed-off-by: Hao Chen <chenhao164@huawei.com> Signed-off-by: Min Hu (Connor) <humin29@huawei.com> Signed-off-by: Huisong Li <lihuisong@huawei.com> Signed-off-by: Chengwen Feng <fengchengwen@huawei.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2019-10-07net/hns3: support link update operationWei Hu (Xavier)
This patch adds link_update operation to hns3 PMD driver. Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com> Signed-off-by: Chunsong Feng <fengchunsong@huawei.com> Signed-off-by: Min Hu (Connor) <humin29@huawei.com> Signed-off-by: Hao Chen <chenhao164@huawei.com> Signed-off-by: Huisong Li <lihuisong@huawei.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2019-10-07net/hns3: support some device operationsWei Hu (Xavier)
This patch adds the following operations defined in struct eth_dev_ops: mtu_set, infos_get and fw_version_get for hns3 PMD driver. Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com> Signed-off-by: Chunsong Feng <fengchunsong@huawei.com> Signed-off-by: Min Hu (Connor) <humin29@huawei.com> Signed-off-by: Hao Chen <chenhao164@huawei.com> Signed-off-by: Huisong Li <lihuisong@huawei.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2019-10-07net/hns3: support MAC address related operationsWei Hu (Xavier)
This patch adds the following mac address related operations defined in struct eth_dev_ops: mac_addr_add, mac_addr_remove, mac_addr_set and set_mc_addr_list. Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com> Signed-off-by: Chunsong Feng <fengchunsong@huawei.com> Signed-off-by: Min Hu (Connor) <humin29@huawei.com> Signed-off-by: Hao Chen <chenhao164@huawei.com> Signed-off-by: Huisong Li <lihuisong@huawei.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2019-10-07net/hns3: add build and doc infrastructureWei Hu (Xavier)
This patch adds build and doc infrastructure for hns3 PMD driver. Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com> Signed-off-by: Min Hu (Connor) <humin29@huawei.com> Signed-off-by: Chunsong Feng <fengchunsong@huawei.com> Signed-off-by: Hao Chen <chenhao164@huawei.com> Signed-off-by: Huisong Li <lihuisong@huawei.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2019-10-07net/ena: change license clause to SPDX tagsMaciej Bielski
Signed-off-by: Maciej Bielski <mba@semihalf.com> Acked-by: Michal Krawczyk <mk@semihalf.com>
2019-10-07net/ice: support protocol extraction per Rx queueHaiyue Wang
The ice has the feature to extract protocol fields into flex descriptor by programming per queue. Currently, the ice PMD will put the protocol fields into rte_mbuf::udata64 with different type format. Application can access the protocol fields quickly. Signed-off-by: Haiyue Wang <haiyue.wang@intel.com> Reviewed-by: Xiaolong Ye <xiaolong.ye@intel.com> Acked-by: Qi Zhang <qi.z.zhang@intel.com>
2019-10-07net/i40e: limit the number of VF messagesAlvin Zhang
PF driver supports counting VF adminQ messages. If any VF driver sends much more adminQ messages to its PF driver in a period of time, it will trigger the PF's message limitation, then in the next certain amount of seconds the PF driver will ignore any new adminQ message from that VF. Signed-off-by: Alvin Zhang <alvinx.zhang@intel.com> Reviewed-by: Xiaolong Ye <xiaolong.ye@intel.com> Acked-by: Qi Zhang <qi.z.zhang@intel.com>
2019-10-07doc: cleanup license in bnx2x guideRasesh Mody
Removed redundant BSD boilerplate text from bnx2x guide. Signed-off-by: Rasesh Mody <rmody@marvell.com>
2019-10-07net/ice: support device-specific DDP package loadingTing Xu
This patch adds the feature that supports loading DDP package according to the device serial number. Prior to loading the default DDP package (ice.pkg), the driver will check for the presence of a device-specific DDP package with the name containing 64-bit PCIe Device Serial Number (ice-xxxxxxxxxxxxxxxx.pkg) during initialization. Users can use "lspci -vs" to get the device serial number. The pkg search path are /lib/firmware/updates/intel/ice/ddp/ and /lib/firmware/intel/ice/ddp/. If the package exists, the driver will download it to the device instead of the default one. The loaded package type (OS default and COMMS) will be stored in ice_adapter->active_pkg_type. The package version is stored in ice_hw->active_pkg_ver. Signed-off-by: Ting Xu <ting.xu@intel.com> Reviewed-by: Xiaolong Ye <xiaolong.ye@intel.com> Acked-by: Qi Zhang <qi.z.zhang@intel.com>
2019-09-20net/qede: implement flow drop actionShahed Shaikh
Add support to configure drop action in rte_flow infrastructure and add counter for dropped packets due to this filter action "rx_gft_filter_drop". Also, update supported flows and actions in qede guide. Signed-off-by: Shahed Shaikh <shshaikh@marvell.com>
2019-09-20net/mlx5: support modify VLAN ID on existing VLAN headerMoti Haimovsky
This commit adds support for modifying the VID of the outermost VLAN header already present in the packet. Signed-off-by: Moti Haimovsky <motih@mellanox.com> Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
2019-09-20net/mlx5: support modify VLAN ID on new VLAN headerMoti Haimovsky
This commit adds support for modifying the VLAN ID (VID) field in an about-to-be-pushed VLAN header. This feature can only modify the VID field of a new VLAN header yet to be pushed. It does not support modifying an existing or already pushed VLAN headers. Signed-off-by: Moti Haimovsky <motih@mellanox.com> Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
2019-09-20net/mlx5: support modifying VLAN priority on VLAN headerMoti Haimovsky
This commit adds support for modifying the VLAN priority (PCP) field in about-to-be-pushed VLAN header. This feature can only modify the PCP field of a new VLAN header yet to be pushed. It does not support modifying an existing or already pushed VLAN headers. Signed-off-by: Moti Haimovsky <motih@mellanox.com> Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>