| #
186f8e8c |
| 24-Jan-2025 |
Jesna K E <jesna.k.e@amd.com> |
net/axgbe: support TSO
Added TSO (Transmit Segmentation offload) support for axgbe PMD.
Signed-off-by: Jesna K E <jesna.k.e@amd.com>
|
| #
6c04898f |
| 04-Jun-2024 |
Venkat Kumar Ande <venkatkumar.ande@amd.com> |
net/axgbe: support Rx adaptation
The existing implementation for non-Autonegotiation 10G speed modes does not enable RX adaptation in the Driver and FW. The RX Equalization settings (AFE settings al
net/axgbe: support Rx adaptation
The existing implementation for non-Autonegotiation 10G speed modes does not enable RX adaptation in the Driver and FW. The RX Equalization settings (AFE settings alone) are manually configured and the existing link-up sequence in the driver does not perform rx adaptation process as mentioned in the Synopsys databook. There's a customer request for 10G backplane mode without Auto-negotiation and for the DAC cables of more significant length that follow the non-Autonegotiation mode. These modes require PHY to perform RX Adaptation.
The proposed logic adds the necessary changes to Yellow Carp devices to ensure seamless RX Adaptation for 10G-SFI (LONG DAC) and 10G-KR without AN (CL72 not present). The RX adaptation core algorithm is executed by firmware, however, to achieve that a new mailbox sub-command is required to be sent by the driver.
Signed-off-by: Venkat Kumar Ande <venkatkumar.ande@amd.com> Acked-by: Selwin Sebastian <selwin.sebastian@amd.com>
show more ...
|
| #
627ab524 |
| 04-Jun-2024 |
Venkat Kumar Ande <venkatkumar.ande@amd.com> |
net/axgbe: separate C22 and C45 transactions
The xgbe MDIO bus driver can perform both C22 and C45 transfers, when using its MDIO bus hardware. The SFP I2C mdio bus driver only supports C22. Create
net/axgbe: separate C22 and C45 transactions
The xgbe MDIO bus driver can perform both C22 and C45 transfers, when using its MDIO bus hardware. The SFP I2C mdio bus driver only supports C22. Create separate functions for each and register the C45 versions using the new API calls where appropriate.
Signed-off-by: Venkat Kumar Ande <venkatkumar.ande@amd.com> Acked-by: Selwin Sebastian <selwin.sebastian@amd.com>
show more ...
|
| #
1f9d2d3a |
| 04-Jun-2024 |
Venkat Kumar Ande <venkatkumar.ande@amd.com> |
net/axgbe: support 10 Mbps speed
Add the necessary changes to support 10 Mbps speed for BaseT and SFP port modes. This is supported in MAC ver >= 30H.
Signed-off-by: Venkat Kumar Ande <venkatkumar.
net/axgbe: support 10 Mbps speed
Add the necessary changes to support 10 Mbps speed for BaseT and SFP port modes. This is supported in MAC ver >= 30H.
Signed-off-by: Venkat Kumar Ande <venkatkumar.ande@amd.com> Acked-by: Selwin Sebastian <selwin.sebastian@amd.com>
show more ...
|
| #
cf96031a |
| 04-Jun-2024 |
Venkat Kumar Ande <venkatkumar.ande@amd.com> |
net/axgbe: use definitions for mailbox commands
Instead of using hardcoded values, use enumerations for mailbox command and sub commands.
Signed-off-by: Venkat Kumar Ande <venkatkumar.ande@amd.com>
net/axgbe: use definitions for mailbox commands
Instead of using hardcoded values, use enumerations for mailbox command and sub commands.
Signed-off-by: Venkat Kumar Ande <venkatkumar.ande@amd.com> Acked-by: Selwin Sebastian <selwin.sebastian@amd.com>
show more ...
|
| #
a770d00a |
| 04-Jun-2024 |
Venkat Kumar Ande <venkatkumar.ande@amd.com> |
net/axgbe: improve SFP 100Mbps auto-negotiation
After changing speed to 100Mbps as a result of auto-negotiation (AN), some 10/100/1000Mbps SFPs indicate a successful link (no faults or loss of signa
net/axgbe: improve SFP 100Mbps auto-negotiation
After changing speed to 100Mbps as a result of auto-negotiation (AN), some 10/100/1000Mbps SFPs indicate a successful link (no faults or loss of signal), but cannot successfully transmit or receive data. These SFPs required an extra auto-negotiation (AN) after the speed change in order to operate properly. Add a quirk for these SFPs so that if the outcome of the AN actually results in changing to a new speed, re-initiate AN at that new speed.
Signed-off-by: Venkat Kumar Ande <venkatkumar.ande@amd.com> Acked-by: Selwin Sebastian <selwin.sebastian@amd.com>
show more ...
|
| #
323e8c91 |
| 04-Jun-2024 |
Venkat Kumar Ande <venkatkumar.ande@amd.com> |
net/axgbe: delay AN timeout during KR training
AN restart triggered during KR training not only aborts the KR training process but also move the HW to unstable state. Driver has to wait up to 500ms
net/axgbe: delay AN timeout during KR training
AN restart triggered during KR training not only aborts the KR training process but also move the HW to unstable state. Driver has to wait up to 500ms or until the KR training is completed before restarting AN cycle.
Without the fix the user will face KR training failure issues.
Fixes: a5c7273771e8 ("net/axgbe: add phy programming APIs") Cc: stable@dpdk.org
Signed-off-by: Venkat Kumar Ande <venkatkumar.ande@amd.com> Acked-by: Selwin Sebastian <selwin.sebastian@amd.com>
show more ...
|
| #
e82b0fe0 |
| 04-Jun-2024 |
Venkat Kumar Ande <venkatkumar.ande@amd.com> |
net/axgbe: disable RRC for yellow carp devices
Link stability issues are noticed on Yellow carp platforms when Receiver Reset Cycle is issued. Since the CDR workaround is disabled on these platforms
net/axgbe: disable RRC for yellow carp devices
Link stability issues are noticed on Yellow carp platforms when Receiver Reset Cycle is issued. Since the CDR workaround is disabled on these platforms, the Receiver Reset Cycle is not needed.
So, avoid issuing rrc on Yellow carp platforms.
Without the fix the user will not get the link UP.
Fixes: a5c7273771e8 ("net/axgbe: add phy programming APIs") Cc: stable@dpdk.org
Signed-off-by: Venkat Kumar Ande <venkatkumar.ande@amd.com> Acked-by: Selwin Sebastian <selwin.sebastian@amd.com>
show more ...
|
| #
a3ec01b4 |
| 05-Jan-2024 |
Venkat Kumar Ande <venkatkumar.ande@amd.com> |
net/axgbe: read and save port property register
Read and save the port property registers once during the device probe and then use the saved values as they are needed.
This is refactoring for futu
net/axgbe: read and save port property register
Read and save the port property registers once during the device probe and then use the saved values as they are needed.
This is refactoring for future code readability of the driver.
Signed-off-by: Venkat Kumar Ande <venkatkumar.ande@amd.com> Acked-by: Selwin Sebastian <selwin.sebastian@amd.com>
show more ...
|
| #
93bffd8f |
| 08-Sep-2022 |
Bhagyada Modali <bhagyada.modali@amd.com> |
net/axgbe: support segmented Tx
Enable segmented Tx support and add jumbo packet transmit capability.
Signed-off-by: Bhagyada Modali <bhagyada.modali@amd.com> Acked-by: Chandubabu Namburu <chandu@a
net/axgbe: support segmented Tx
Enable segmented Tx support and add jumbo packet transmit capability.
Signed-off-by: Bhagyada Modali <bhagyada.modali@amd.com> Acked-by: Chandubabu Namburu <chandu@amd.com>
show more ...
|
| #
7be78d02 |
| 29-Nov-2021 |
Josh Soref <jsoref@gmail.com> |
fix spelling in comments and strings
The tool comes from https://github.com/jsoref
Signed-off-by: Josh Soref <jsoref@gmail.com> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
|
| #
25cf2630 |
| 17-Nov-2021 |
Ferruh Yigit <ferruh.yigit@intel.com> |
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 <ferruh.yigit@intel.com> Acked-by: Haiyue Wang <haiyue.wang@intel.com> Acked-by: Rosen Xu <rosen.xu@intel.com> Acked-by: Jiawen Wu <jiawenwu@trustnetic.com>
show more ...
|
| #
295968d1 |
| 22-Oct-2021 |
Ferruh Yigit <ferruh.yigit@intel.com> |
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 <ferruh.yigit@intel.com> Acked-by: Tyler Retzlaff <roretzla@linux.microsoft.com> Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com> Acked-by: Jerin Jacob <jerinj@marvell.com> Acked-by: Wisam Jaddo <wisamm@nvidia.com> Acked-by: Rosen Xu <rosen.xu@intel.com> Acked-by: Chenbo Xia <chenbo.xia@intel.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com> Acked-by: Somnath Kotur <somnath.kotur@broadcom.com>
show more ...
|
| #
2570c033 |
| 18-Jan-2021 |
Steve Yang <stevex.yang@intel.com> |
net/axgbe: fix jumbo frame flag condition for MTU set
The jumbo frame uses the 'RTE_ETHER_MAX_LEN' as boundary condition. If the Ether overhead is larger than 18 when it supports VLAN tag, that will
net/axgbe: fix jumbo frame flag condition for MTU set
The jumbo frame uses the 'RTE_ETHER_MAX_LEN' as boundary condition. If the Ether overhead is larger than 18 when it supports VLAN tag, that will cause the jumbo flag rx offload is wrong when MTU size is 'RTE_ETHER_MTU'.
This fix will normalize the boundary condition with 'RTE_ETHER_MTU' and overhead even though current overhead is 18.
Fixes: b58d8781fa1f ("net/axgbe: support setting MTU") Cc: stable@dpdk.org
Signed-off-by: Steve Yang <stevex.yang@intel.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
| #
86578516 |
| 01-Dec-2020 |
Girish Nandibasappa <girish.nandibasappa@amd.com> |
net/axgbe: support VLAN
Added VLAN support for AMD XGBE driver
Adding below APIs for axgbe - axgbe_enable_rx_vlan_stripping: to enable vlan header stripping - axgbe_disable_rx_vlan_stripping: to di
net/axgbe: support VLAN
Added VLAN support for AMD XGBE driver
Adding below APIs for axgbe - axgbe_enable_rx_vlan_stripping: to enable vlan header stripping - axgbe_disable_rx_vlan_stripping: to disable vlan header stripping - axgbe_enable_rx_vlan_filtering: to enable vlan filter mode - axgbe_disable_rx_vlan_filtering: to disable vlan filter mode - axgbe_update_vlan_hash_table: crc calculation and hash table update based on vlan values post filter enable - axgbe_vlan_filter_set: setting of active vlan out of max 4K values before doing hash update of same - axgbe_vlan_tpid_set: setting of default tpid values - axgbe_vlan_offload_set: a top layer function to call strip/filter etc based on mask values
Signed-off-by: Girish Nandibasappa <girish.nandibasappa@amd.com> Acked-by: Somalapuram Amaranath <asomalap@amd.com>
show more ...
|
| #
e0444948 |
| 09-Jun-2020 |
Selwin Sebastian <selwin.sebastian@amd.com> |
net/axgbe: support IEEE 1588 PTP
Add ethdev APIs to support PTP timestamping
Signed-off-by: Selwin Sebastian <selwin.sebastian@amd.com> Acked-by: Amaranath Somalapuram <asomalap@amd.com>
|
| #
4693ae4a |
| 27-Apr-2020 |
Joyce Kong <joyce.kong@arm.com> |
net/axgbe: use common bit operations API
Remove its own bit operation APIs and use the common one, this can reduce the code duplication largely.
Signed-off-by: Joyce Kong <joyce.kong@arm.com> Revie
net/axgbe: use common bit operations API
Remove its own bit operation APIs and use the common one, this can reduce the code duplication largely.
Signed-off-by: Joyce Kong <joyce.kong@arm.com> Reviewed-by: Gavin Hu <gavin.hu@arm.com>
show more ...
|
| #
76d7664d |
| 29-May-2020 |
Chandu Babu N <chandu@amd.com> |
net/axgbe: support RSS RETA/hash query and update
add support for RSS reta/hash query and update function
Signed-off-by: Chandu Babu N <chandu@amd.com> Acked-by: Amaranath Somalapuram <asomalap@amd
net/axgbe: support RSS RETA/hash query and update
add support for RSS reta/hash query and update function
Signed-off-by: Chandu Babu N <chandu@amd.com> Acked-by: Amaranath Somalapuram <asomalap@amd.com>
show more ...
|
| #
e0543d4e |
| 03-Mar-2020 |
Amaranath Somalapuram <asomalap@amd.com> |
net/axgbe: support priority flow control
Adding API for priority_flow_ctrl_set. Priority flow control to set water high and low, pause_time and priority.
Signed-off-by: Amaranath Somalapuram <asoma
net/axgbe: support priority flow control
Adding API for priority_flow_ctrl_set. Priority flow control to set water high and low, pause_time and priority.
Signed-off-by: Amaranath Somalapuram <asomalap@amd.com> Acked-by: Ravi Kumar <ravi1.kumar@amd.com>
show more ...
|
| #
cf97f33e |
| 03-Mar-2020 |
Amaranath Somalapuram <asomalap@amd.com> |
net/axgbe: support flow control
Adding api for flow_ctrl_get and flow_ctrl_set. By default axgbe driver flow control is disabled. Adding dpdk flow control to set water high and low.
Signed-off-by:
net/axgbe: support flow control
Adding api for flow_ctrl_get and flow_ctrl_set. By default axgbe driver flow control is disabled. Adding dpdk flow control to set water high and low.
Signed-off-by: Amaranath Somalapuram <asomalap@amd.com> Acked-by: Ravi Kumar <ravi1.kumar@amd.com>
show more ...
|
| #
e01d9b2e |
| 28-Feb-2020 |
Chandu Babu N <chandu@amd.com> |
net/axgbe: support unicast hash table for MAC address
Implement eth_dev_ops uc_hash_table_set and uc_all_hash_table_set
Signed-off-by: Chandu Babu N <chandu@amd.com> Acked-by: Ravi Kumar <ravi1.kum
net/axgbe: support unicast hash table for MAC address
Implement eth_dev_ops uc_hash_table_set and uc_all_hash_table_set
Signed-off-by: Chandu Babu N <chandu@amd.com> Acked-by: Ravi Kumar <ravi1.kumar@amd.com>
show more ...
|
| #
49a5e622 |
| 28-Feb-2020 |
Chandu Babu N <chandu@amd.com> |
net/axgbe: support setting MAC address
Supports adding MAC addresses to enable whitelist filtering to accept packets implement eth_dev_ops mac_addr_set, mac_addr_add, mac_addr_remove and set_mc_addr
net/axgbe: support setting MAC address
Supports adding MAC addresses to enable whitelist filtering to accept packets implement eth_dev_ops mac_addr_set, mac_addr_add, mac_addr_remove and set_mc_addr_list
Signed-off-by: Chandu Babu N <chandu@amd.com> Acked-by: Ravi Kumar <ravi1.kumar@amd.com>
show more ...
|
| #
9d1ef6b2 |
| 20-Dec-2019 |
Chandu Babu N <chandu@amd.com> |
net/axgbe: add xstats
Implements eth dev ops xstats_get, xstats_reset, xstats_get_names, xstats_get_names_by_id, xstats_get_by_id
Signed-off-by: Chandu Babu N <chandu@amd.com> Acked-by: Ravi Kumar
net/axgbe: add xstats
Implements eth dev ops xstats_get, xstats_reset, xstats_get_names, xstats_get_names_by_id, xstats_get_by_id
Signed-off-by: Chandu Babu N <chandu@amd.com> Acked-by: Ravi Kumar <ravi1.kumar@amd.com>
show more ...
|
| #
35b2d13f |
| 21-May-2019 |
Olivier Matz <olivier.matz@6wind.com> |
net: add rte prefix to ether defines
Add 'RTE_' prefix to defines: - rename ETHER_ADDR_LEN as RTE_ETHER_ADDR_LEN. - rename ETHER_TYPE_LEN as RTE_ETHER_TYPE_LEN. - rename ETHER_CRC_LEN as RTE_ETHER_C
net: add rte prefix to ether defines
Add 'RTE_' prefix to defines: - rename ETHER_ADDR_LEN as RTE_ETHER_ADDR_LEN. - rename ETHER_TYPE_LEN as RTE_ETHER_TYPE_LEN. - rename ETHER_CRC_LEN as RTE_ETHER_CRC_LEN. - rename ETHER_HDR_LEN as RTE_ETHER_HDR_LEN. - rename ETHER_MIN_LEN as RTE_ETHER_MIN_LEN. - rename ETHER_MAX_LEN as RTE_ETHER_MAX_LEN. - rename ETHER_MTU as RTE_ETHER_MTU. - rename ETHER_MAX_VLAN_FRAME_LEN as RTE_ETHER_MAX_VLAN_FRAME_LEN. - rename ETHER_MAX_VLAN_ID as RTE_ETHER_MAX_VLAN_ID. - rename ETHER_MAX_JUMBO_FRAME_LEN as RTE_ETHER_MAX_JUMBO_FRAME_LEN. - rename ETHER_MIN_MTU as RTE_ETHER_MIN_MTU. - rename ETHER_LOCAL_ADMIN_ADDR as RTE_ETHER_LOCAL_ADMIN_ADDR. - rename ETHER_GROUP_ADDR as RTE_ETHER_GROUP_ADDR. - rename ETHER_TYPE_IPv4 as RTE_ETHER_TYPE_IPv4. - rename ETHER_TYPE_IPv6 as RTE_ETHER_TYPE_IPv6. - rename ETHER_TYPE_ARP as RTE_ETHER_TYPE_ARP. - rename ETHER_TYPE_VLAN as RTE_ETHER_TYPE_VLAN. - rename ETHER_TYPE_RARP as RTE_ETHER_TYPE_RARP. - rename ETHER_TYPE_QINQ as RTE_ETHER_TYPE_QINQ. - rename ETHER_TYPE_ETAG as RTE_ETHER_TYPE_ETAG. - rename ETHER_TYPE_1588 as RTE_ETHER_TYPE_1588. - rename ETHER_TYPE_SLOW as RTE_ETHER_TYPE_SLOW. - rename ETHER_TYPE_TEB as RTE_ETHER_TYPE_TEB. - rename ETHER_TYPE_LLDP as RTE_ETHER_TYPE_LLDP. - rename ETHER_TYPE_MPLS as RTE_ETHER_TYPE_MPLS. - rename ETHER_TYPE_MPLSM as RTE_ETHER_TYPE_MPLSM. - rename ETHER_VXLAN_HLEN as RTE_ETHER_VXLAN_HLEN. - rename ETHER_ADDR_FMT_SIZE as RTE_ETHER_ADDR_FMT_SIZE. - rename VXLAN_GPE_TYPE_IPV4 as RTE_VXLAN_GPE_TYPE_IPV4. - rename VXLAN_GPE_TYPE_IPV6 as RTE_VXLAN_GPE_TYPE_IPV6. - rename VXLAN_GPE_TYPE_ETH as RTE_VXLAN_GPE_TYPE_ETH. - rename VXLAN_GPE_TYPE_NSH as RTE_VXLAN_GPE_TYPE_NSH. - rename VXLAN_GPE_TYPE_MPLS as RTE_VXLAN_GPE_TYPE_MPLS. - rename VXLAN_GPE_TYPE_GBP as RTE_VXLAN_GPE_TYPE_GBP. - rename VXLAN_GPE_TYPE_VBNG as RTE_VXLAN_GPE_TYPE_VBNG. - rename ETHER_VXLAN_GPE_HLEN as RTE_ETHER_VXLAN_GPE_HLEN.
Do not update the command line library to avoid adding a dependency to librte_net.
Signed-off-by: Olivier Matz <olivier.matz@6wind.com> Reviewed-by: Stephen Hemminger <stephen@networkplumber.org> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
| #
6d13ea8e |
| 21-May-2019 |
Olivier Matz <olivier.matz@6wind.com> |
net: add rte prefix to ether structures
Add 'rte_' prefix to structures: - rename struct ether_addr as struct rte_ether_addr. - rename struct ether_hdr as struct rte_ether_hdr. - rename struct vlan_
net: add rte prefix to ether structures
Add 'rte_' prefix to structures: - rename struct ether_addr as struct rte_ether_addr. - rename struct ether_hdr as struct rte_ether_hdr. - rename struct vlan_hdr as struct rte_vlan_hdr. - rename struct vxlan_hdr as struct rte_vxlan_hdr. - rename struct vxlan_gpe_hdr as struct rte_vxlan_gpe_hdr.
Do not update the command line library to avoid adding a dependency to librte_net.
Signed-off-by: Olivier Matz <olivier.matz@6wind.com> Reviewed-by: Stephen Hemminger <stephen@networkplumber.org> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|