|
Revision tags: v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2, v22.03-rc1 |
|
| #
7be78d02 |
| 29-Nov-2021 |
Josh Soref <[email protected]> |
fix spelling in comments and strings
The tool comes from https://github.com/jsoref
Signed-off-by: Josh Soref <[email protected]> Signed-off-by: Thomas Monjalon <[email protected]>
|
|
Revision tags: v21.11, v21.11-rc4, v21.11-rc3 |
|
| #
25cf2630 |
| 17-Nov-2021 |
Ferruh Yigit <[email protected]> |
net: add macro for VLAN header length
Multiple drivers are defining macros for VLAN header length, to remove the redundancy defining macro in the ether header. And updated drivers to use the new mac
net: add macro for VLAN header length
Multiple drivers are defining macros for VLAN header length, to remove the redundancy defining macro in the ether header. And updated drivers to use the new macro.
Signed-off-by: Ferruh Yigit <[email protected]> Acked-by: Haiyue Wang <[email protected]> Acked-by: Rosen Xu <[email protected]> Acked-by: Jiawen Wu <[email protected]>
show more ...
|
| #
0b62b3c9 |
| 15-Nov-2021 |
Conor Walsh <[email protected]> |
net/txgbe: fix build with clang 13
eicr serves as a placeholder for some read-on-clear nic register. clang 13 reports it as unused.
Bugzilla ID: 881 Fixes: b7311360fb67 ("net/txgbe: support VF inte
net/txgbe: fix build with clang 13
eicr serves as a placeholder for some read-on-clear nic register. clang 13 reports it as unused.
Bugzilla ID: 881 Fixes: b7311360fb67 ("net/txgbe: support VF interrupt") Cc: [email protected]
Reported-by: Liang Longfeng <[email protected]> Signed-off-by: Conor Walsh <[email protected]> Reviewed-by: David Marchand <[email protected]>
show more ...
|
|
Revision tags: v21.11-rc2 |
|
| #
2fe6f1b7 |
| 02-Nov-2021 |
Dmitry Kozlyuk <[email protected]> |
drivers/net: advertise no support for keeping flow rules
When RTE_ETH_DEV_CAPA_FLOW_RULE_KEEP capability bit is zero, the specified behavior is the same as it had been before this bit was introduced
drivers/net: advertise no support for keeping flow rules
When RTE_ETH_DEV_CAPA_FLOW_RULE_KEEP capability bit is zero, the specified behavior is the same as it had been before this bit was introduced. Explicitly reset it in all PMDs supporting rte_flow API in order to attract the attention of maintainers, who should eventually choose to advertise the new capability or not. It is already known that mlx4 and mlx5 will not support this capability.
For RTE_ETH_DEV_CAPA_FLOW_SHARED_OBJECT_KEEP similar action is not performed, because no PMD except mlx5 supports indirect actions. Any PMD that starts doing so will anyway have to consider all relevant API, including this capability.
Suggested-by: Ferruh Yigit <[email protected]> Signed-off-by: Dmitry Kozlyuk <[email protected]> Acked-by: Ajit Khaparde <[email protected]> Acked-by: Somnath Kotur <[email protected]> Acked-by: Hyong Youb Kim <[email protected]> Reviewed-by: Ferruh Yigit <[email protected]>
show more ...
|
|
Revision tags: v21.11-rc1 |
|
| #
d61138d4 |
| 22-Oct-2021 |
Harman Kalra <[email protected]> |
drivers: remove direct access to interrupt handle
Removing direct access to interrupt handle structure fields, rather use respective get set APIs for the same. Making changes to all the drivers acce
drivers: remove direct access to interrupt handle
Removing direct access to interrupt handle structure fields, rather use respective get set APIs for the same. Making changes to all the drivers access the interrupt handle fields.
Signed-off-by: Harman Kalra <[email protected]> Acked-by: Hyong Youb Kim <[email protected]> Signed-off-by: David Marchand <[email protected]> Tested-by: Raslan Darawsheh <[email protected]>
show more ...
|
| #
295968d1 |
| 22-Oct-2021 |
Ferruh Yigit <[email protected]> |
ethdev: add namespace
Add 'RTE_ETH' namespace to all enums & macros in a backward compatible way. The macros for backward compatibility can be removed in next LTS. Also updated some struct names to
ethdev: add namespace
Add 'RTE_ETH' namespace to all enums & macros in a backward compatible way. The macros for backward compatibility can be removed in next LTS. Also updated some struct names to have 'rte_eth' prefix.
All internal components switched to using new names.
Syntax fixed on lines that this patch touches.
Signed-off-by: Ferruh Yigit <[email protected]> Acked-by: Tyler Retzlaff <[email protected]> Acked-by: Andrew Rybchenko <[email protected]> Acked-by: Ajit Khaparde <[email protected]> Acked-by: Jerin Jacob <[email protected]> Acked-by: Wisam Jaddo <[email protected]> Acked-by: Rosen Xu <[email protected]> Acked-by: Chenbo Xia <[email protected]> Acked-by: Hemant Agrawal <[email protected]> Acked-by: Somnath Kotur <[email protected]>
show more ...
|
| #
1bb4a528 |
| 18-Oct-2021 |
Ferruh Yigit <[email protected]> |
ethdev: fix max Rx packet length
There is a confusion on setting max Rx packet length, this patch aims to clarify it.
'rte_eth_dev_configure()' API accepts max Rx packet size via 'uint32_t max_rx_p
ethdev: fix max Rx packet length
There is a confusion on setting max Rx packet length, this patch aims to clarify it.
'rte_eth_dev_configure()' API accepts max Rx packet size via 'uint32_t max_rx_pkt_len' field of the config struct 'struct rte_eth_conf'.
Also 'rte_eth_dev_set_mtu()' API can be used to set the MTU, and result stored into '(struct rte_eth_dev)->data->mtu'.
These two APIs are related but they work in a disconnected way, they store the set values in different variables which makes hard to figure out which one to use, also having two different method for a related functionality is confusing for the users.
Other issues causing confusion is: * maximum transmission unit (MTU) is payload of the Ethernet frame. And 'max_rx_pkt_len' is the size of the Ethernet frame. Difference is Ethernet frame overhead, and this overhead may be different from device to device based on what device supports, like VLAN and QinQ. * 'max_rx_pkt_len' is only valid when application requested jumbo frame, which adds additional confusion and some APIs and PMDs already discards this documented behavior. * For the jumbo frame enabled case, 'max_rx_pkt_len' is an mandatory field, this adds configuration complexity for application.
As solution, both APIs gets MTU as parameter, and both saves the result in same variable '(struct rte_eth_dev)->data->mtu'. For this 'max_rx_pkt_len' updated as 'mtu', and it is always valid independent from jumbo frame.
For 'rte_eth_dev_configure()', 'dev->data->dev_conf.rxmode.mtu' is user request and it should be used only within configure function and result should be stored to '(struct rte_eth_dev)->data->mtu'. After that point both application and PMD uses MTU from this variable.
When application doesn't provide an MTU during 'rte_eth_dev_configure()' default 'RTE_ETHER_MTU' value is used.
Additional clarification done on scattered Rx configuration, in relation to MTU and Rx buffer size. MTU is used to configure the device for physical Rx/Tx size limitation, Rx buffer is where to store Rx packets, many PMDs use mbuf data buffer size as Rx buffer size. PMDs compare MTU against Rx buffer size to decide enabling scattered Rx or not. If scattered Rx is not supported by device, MTU bigger than Rx buffer size should fail.
Signed-off-by: Ferruh Yigit <[email protected]> Acked-by: Ajit Khaparde <[email protected]> Acked-by: Somnath Kotur <[email protected]> Acked-by: Huisong Li <[email protected]> Acked-by: Andrew Rybchenko <[email protected]> Acked-by: Konstantin Ananyev <[email protected]> Acked-by: Rosen Xu <[email protected]> Acked-by: Hyong Youb Kim <[email protected]>
show more ...
|
| #
a7db3afc |
| 25-Aug-2021 |
Aman Deep Singh <[email protected]> |
net: add macro to extract MAC address bytes
Added macros to simplify print of MAC address. The six bytes of a MAC address are extracted in a macro here, to improve code readablity.
Signed-off-by: A
net: add macro to extract MAC address bytes
Added macros to simplify print of MAC address. The six bytes of a MAC address are extracted in a macro here, to improve code readablity.
Signed-off-by: Aman Deep Singh <[email protected]> Reviewed-by: Ferruh Yigit <[email protected]>
show more ...
|
| #
c2c4f87b |
| 25-Aug-2021 |
Aman Deep Singh <[email protected]> |
net: add macro for MAC address print
Added macro to print six bytes of MAC address. The MAC addresses will be printed in upper case hexadecimal format. In case there is a specific check for lower ca
net: add macro for MAC address print
Added macro to print six bytes of MAC address. The MAC addresses will be printed in upper case hexadecimal format. In case there is a specific check for lower case MAC address, the user may need to make a change in such test case after this patch.
Signed-off-by: Aman Deep Singh <[email protected]> Reviewed-by: Ferruh Yigit <[email protected]>
show more ...
|
| #
12a653eb |
| 12-Aug-2021 |
Jiawen Wu <[email protected]> |
net/txgbe: fix link status when device stopped
When device is stopped, the port status is not changed and only the Tx laser is turned off by hardware design.
Fixes: 0c061eadec59 ("net/txgbe: add li
net/txgbe: fix link status when device stopped
When device is stopped, the port status is not changed and only the Tx laser is turned off by hardware design.
Fixes: 0c061eadec59 ("net/txgbe: add link status change") Cc: [email protected]
Signed-off-by: Jiawen Wu <[email protected]>
show more ...
|
|
Revision tags: v21.08, v21.08-rc4, v21.08-rc3, v21.08-rc2 |
|
| #
1e0857c3 |
| 14-Jul-2021 |
Jiawen Wu <[email protected]> |
net/txgbe: fix VLAN filter setting for VF
Fix the function call error on VLAN filter table address setting for VF.
Fixes: aa1ae7941e71 ("net/txgbe: support VF VLAN") Cc: [email protected]
Signed-off
net/txgbe: fix VLAN filter setting for VF
Fix the function call error on VLAN filter table address setting for VF.
Fixes: aa1ae7941e71 ("net/txgbe: support VF VLAN") Cc: [email protected]
Signed-off-by: Jiawen Wu <[email protected]>
show more ...
|
|
Revision tags: v21.08-rc1, v21.05, v21.05-rc4, v21.05-rc3, v21.05-rc2 |
|
| #
f8aadb64 |
| 29-Apr-2021 |
Jiawen Wu <[email protected]> |
net/txgbe: add copyright owner
All rights reserved by Beijing Wangxun Technology Co., Ltd. Part of the code references Intel.
Signed-off-by: Jiawen Wu <[email protected]> Reviewed-by: Ferruh
net/txgbe: add copyright owner
All rights reserved by Beijing Wangxun Technology Co., Ltd. Part of the code references Intel.
Signed-off-by: Jiawen Wu <[email protected]> Reviewed-by: Ferruh Yigit <[email protected]>
show more ...
|
| #
89d2a106 |
| 29-Apr-2021 |
Jiawen Wu <[email protected]> |
net/txgbe: fix MTU limitation for VF
When requested MTU is bigger than mbuf size and scattered Rx is not enabled, setting MTU fails for VF.
But scattered Rx can be enabled in next port start if req
net/txgbe: fix MTU limitation for VF
When requested MTU is bigger than mbuf size and scattered Rx is not enabled, setting MTU fails for VF.
But scattered Rx can be enabled in next port start if required, so enabling setting MTU bigger than mbuf size if device is stopped independent from scattered Rx configuration.
Fixes: a2beaa4a769e ("net/txgbe: support VF MTU update") Cc: [email protected]
Signed-off-by: Jiawen Wu <[email protected]>
show more ...
|
|
Revision tags: v21.05-rc1 |
|
| #
6666db9d |
| 29-Mar-2021 |
Jiawen Wu <[email protected]> |
net/txgbe: update device ID
For more different devices, update device ID and subsystem id.
Signed-off-by: Jiawen Wu <[email protected]>
|
| #
d5f2880c |
| 25-Feb-2021 |
Jiawen Wu <[email protected]> |
net/txgbe: reuse some PF Rx/Tx features for VF
Some Rx/Tx operations like queue setup and release, packet type get, and Tx done cleanup have been supported on PF device. There are ops functions dire
net/txgbe: reuse some PF Rx/Tx features for VF
Some Rx/Tx operations like queue setup and release, packet type get, and Tx done cleanup have been supported on PF device. There are ops functions directly added.
Signed-off-by: Jiawen Wu <[email protected]>
show more ...
|
| #
3a123ba6 |
| 25-Feb-2021 |
Jiawen Wu <[email protected]> |
net/txgbe: support VF start and stop
Add support to start, stop and reset VF device.
Signed-off-by: Jiawen Wu <[email protected]>
|
| #
66ffac9a |
| 25-Feb-2021 |
Jiawen Wu <[email protected]> |
net/txgbe: support VF register dump
Add support to dump registers for VF.
Signed-off-by: Jiawen Wu <[email protected]>
|
| #
a2beaa4a |
| 25-Feb-2021 |
Jiawen Wu <[email protected]> |
net/txgbe: support VF MTU update
Add MTU set operation for VF device.
Signed-off-by: Jiawen Wu <[email protected]>
|
| #
c8307ada |
| 25-Feb-2021 |
Jiawen Wu <[email protected]> |
net/txgbe: support VF multicast MAC filter
Add multicast MAC filter support for VF driver.
Signed-off-by: Jiawen Wu <[email protected]>
|
| #
29072d59 |
| 25-Feb-2021 |
Jiawen Wu <[email protected]> |
net/txgbe: support VF promiscuous and allmulticast
Support to enable and disable promiscuous and allmulticast mode on VF device.
Signed-off-by: Jiawen Wu <[email protected]>
|
| #
64b5d946 |
| 25-Feb-2021 |
Jiawen Wu <[email protected]> |
net/txgbe: support VF RSS
Support RSS hash and RETA operations for VF device.
Signed-off-by: Jiawen Wu <[email protected]>
|
| #
aa1ae794 |
| 25-Feb-2021 |
Jiawen Wu <[email protected]> |
net/txgbe: support VF VLAN
Add VLAN filter, offload and strip set support to VF driver.
Signed-off-by: Jiawen Wu <[email protected]>
|
| #
27890a34 |
| 25-Feb-2021 |
Jiawen Wu <[email protected]> |
net/txgbe: support VF stats and xstats
Add VF device stats and extended stats get from reading hardware registers.
Signed-off-by: Jiawen Wu <[email protected]>
|
| #
92144bb3 |
| 25-Feb-2021 |
Jiawen Wu <[email protected]> |
net/txgbe: support VF Rx/Tx
Configure VF device with RX port. Initialize receive and transmit unit, set the receive and transmit functions. And support to check the status of RX and TX descriptors.
net/txgbe: support VF Rx/Tx
Configure VF device with RX port. Initialize receive and transmit unit, set the receive and transmit functions. And support to check the status of RX and TX descriptors.
Signed-off-by: Jiawen Wu <[email protected]>
show more ...
|
| #
7d9c9667 |
| 25-Feb-2021 |
Jiawen Wu <[email protected]> |
net/txgbe: support VF get link status
Add support to get link speed, duplex mode and state of VF device.
Signed-off-by: Jiawen Wu <[email protected]>
|