1.How to merge txgbe to official dpdk tree
wget http://dpdk.org/rel/dpdk-VERSION.tar.xz
tar -xJf dpdk-VERSION.tar.xz
cp -a dpdk-pmd dpdk-VERSION/drivers/net/netswift
cd dpdk-VERSION
patch -p1 < drivers/net/netswift/scripts/dpdk-VERSION.patch

2.patched file list
config/common_base
drivers/net/Makefile
mk/rte.app.mk

3.About dpdk-VERSION
legacy: version 16.04 includes 16.04~17.08
maintenance: version 17.11 includes 17.11~18.08
	     version 18.11 includes 18.11~19.08
	     version 19.11 includes 19.11~20.08
development: 20.11~25.07

******* Release notes *******

**** version 2.1.1 ****

2025.9.19
  - SP/AML*: fix compile errors and warnings
  - SP/AML*: fix to alert FDIR rules number has exceeded
  - SP/AML*: fix missing comma in devargs preventing parameters validation
2025.9.18
  - SP/AML*: fix FDIR flows number exceeds the maximum limit
  - SP/AML*: fix FDIR mode is not be cleared
  - SP/AML*: fix FDIR drop action for L4 match packets
2025.9.17
  - AML*: fix incorrect txwt mask bit width
  - SP/AML40: fix a issue where setup_link in dev_start didn't execute properly
  - SP/AML*: complete a switch of vector RX/TX for dpdk-20.11+
2025.9.16
  - SP/AML*: add support for dpdk-25.07
  - SP/AML*: complete TX debug feature for dpdk-21.11+
2025.9.11
  - SP/AML*: fix FDIR IPv4 mask
2025.9.5
  - EM: add support for centec sk21101 phy
2025.8.12
  - AML*: fix significant inaccuracy in TX rate limiting
  - change mbuf length to down rounding for VF
  - add vlan strip rxmode restore mechanism when configure failed
2025.8.5
  - SP/AML*: fix FDIR IPv6 mask
  - SP/AML*: format the code in txgbe_flow.c
  - SP/AML*: add device arguments for FDIR in new versions
  - SP/AML*: remove unsupported flow action MARK
  - SP/AML*: remove version management in FDIR parse functions
  - SP/AML*: support FDIR flex bytes match on tunnel packets
2025.8.4
  - SP/AML*: fix FDIR IPv4 and port mask
2025.7.31
  - SP/AML*: switch to use FDIR when ntuple filter is full
  - SP/AML*: fix floating point exception in VF RX caused by uninitialized rx_wait
2025.7.18
  - SP/AML*: add param string declaration for devargs
2025.7.17
  - change the allocated memory size to be based on the ring size
  - SP/AML*: add device argument rx_wait
  - SP/AML*: fix compile errors
2025.7.15
  - SP/AML*: add support for rx_l3_l4_xsum_error counter in xstats
  - SP/AML*: remove unsupported outer UDP checksum offload in tx_offload capabilities
  - AML*: add support for PF queue TX rate limit
2025.6.19
  - SP/AML*: support ipv6.hdr.proto in FDIR
  - SP/AML*: fix rte_flow FDIR in 16.04~21.08

**** version 2.1.0 ****

2025.5.29
  - fix compile warnings and errors
  - EM: fix vlan offload bug in dpdk-20.11
2025.5.26
  - AML: optimize bp event flow for 25G DAC
  - fix incorrect register access length for statistics counters
  - SP/AML*: add missing LRO flag in mbuf when LRO enabled
2025.5.21
  - AML*: optimize MAC reconfiguration to avoid packet loss in link polling mode
  - add restriction for VF that vlan strip offload cannot be configured when port is up
  - AML40: fix link up failure when using SR QSFP
2025.5.16
  - AML40: fix bug that cannot link up for a specific 40G QSFP
  - SP/AML*: remove debug macros for tx/rx/tx_free in config
2025.5.15
  - AML*: update DAC/AOC configuration flow
2025.5.14
  - AML40: fix missing MAC RX enable in 40G NIC code migration
2025.4.22
  - SP/AML*: fix compile errors
2025.4.21
  - AML*: fix bugs in temperature drift handling function
  - AML40: change FFE parameters to 44-0-0-6
  - AML*: fix clerical errors in phy config
2025.4.18
  - SP/AML*: add support for dpdk-25.03
2025.4.17
  - AML40: extend AML driver logic to handle 40G cases
  - SP/AML*: refactor driver configuration to use runtime devargs
  - SP: add legacy kernel driver compatibility for VF link status detection
  - fix incorrect register mappings in dev xstats
  - EM: fix mac ctrl frame fwd config
  - AML: set i2c sda hold time
2025.4.1
  - SP/AML: fix FDIR IPv6 perfect mode and flex bytes pattern
2025.3.11
  - AML: fix vector tx free buffers
  - AML: add PF-triggered VF link status change handling
  - SP/AML: add support for dpdk-24.11
2025.3.6
  - support RSS for SCTP field
  - SP/AML: fix a bug where FDIR reserved headroom twice
  - AML: fix mac datapath reset error
2025.2.28
  - AML: add link status mode config in reconfig mac
2025.2.27
  - AML: fix to open rx desc merge for dpdk-21.11 and later versions
  - AML: fix repeatly downup when set fec off
2025.2.15
  - AML: fix mac type restriction of VF queue rate limit ops
  - AML: fix a bug that always config phy when probe
  - AML: update e56 phy configuration
2025.1.22
  - AML: clean up code and update phy configuration process
2025.1.9
  - AML: add dma reset flow
2025.1.6
  - AML: fix fec mode config in 25G kr flow
2024.12.27
  - AML: make sure that all DAC use KR flow
  - SP/AML: fix mac ctrl frame fwd config
2024.12.24
  - AML: add VF queue tx rate limit support
  - AML: update mbox api version of VF queue rate limit to 2.2
  - AML: add support for 10/25CRKR switch
  - AML40: add support for AmberLite 40G NIC

**** version 2.0.1 ****

2024.12.23
  - EM: fix dpdk-21.05 compile errors on Sunway
  - AML: delete reconfig link alarm
2024.12.20
  - AML: default to set true for link valid in kr flow
2024.12.18
  - AML: fix a bug that after config phy the first rx packet will be lost
2024.12.13
  - AML: fix a bug that config phy periodically when sfp absent 
2024.12.12
  - AML: fix 10G speed link not unstable
  - AML: modify phy config flow and link status judgement
  - AML: modify phy reconfig rx flow
  - AML: fix some incorrect phy config code
  - AML: add reconfig link alarm and sw-fw semaphore for phy config
  - AML: fix a bug that port stop not work as expected
2024.12.10
  - AML: fix vf link status error
  - AML: reserve headroom in rx packet buffer for fdir
2024.12.5
  - AML: fix a compile error of fec ops in dpdk-20.11
2024.11.29
  - AML: fix when peer is fec auto, change fec may repeatly link downup
  - AML: fix can't set fec mode when link 25g speed in multispeed sfp
2024.11.25
  - AML: fix CR/KR FEC detect flow
  - AML: change phy config flow and link flow
  - AML: fix setup mac link phy retry flow
2024.11.22
  - SP/AML: add support for dpdk-22.03~24.07
2024.11.12
  - SP: fix a mass of interrupts when unplug the SFP module
  - SP/AML: reformat the code
  - AML: add support for FEC ops
  - AML: add temperature check thread to reconfig phy
2024.11.6
  - reset tx desc error statistics in .stats_reset()
2024.11.4
  - SP/AML: fix compile errors
2024.10.30
  - SP/AML: fix FDIR flexbytes and tunnel and mask
2024.10.28
  - SP/AML: add flow filter on VF

**** version 2.0.0 ****

2024.10.23
  - AML: fix phy init error in dpdk-21.11
  - SP/AML: revert the change for rss hash key
2024.10.18
  - AML: fix compile errors and warnings
  - EM: add vf support for dpdk-21.11
2024.10.17
  - AML: add polling function to fix kr intr flow
2024.10.16
  - AML: optimize kr flow for DAC
2024.10.15
  - AML: fix vector sse/neon tx func for dpdk-21.11
  - SP/AML: add support for dpdk-21.02 and 21.05
  - SP/AML: format code with astyle tool
2024.10.12
  - AML: fix compile errors and warnings
2024.10.9
  - SP/AML: add support for dpdk-21.08
2024.9.23
  - add support for Amber-Lite 25G NIC

**** version 1.3.0 ****

2024.9.10
  - SP: fix swfw mbox failure when build with higher gcc version
2024.9.3
  - SP: fix compile errors on dpdk 19.08
2024.9.2
  - EM: fix mac rx configuration
  - SP: fix tx offload length
2024.8.30
  - fix some compile warnings and patch hunk warnings
2024.8.22
  - SP: change I2C frequency to standard speed mode 100KHz
2024.8.16
  - add vector sse/neon support for dpdk 21.11
  - EM: fix compile errors on arm for 21.05/21.08
2024.8.15
  - EM: check length of tx packets
  - SP: enable Tdm_desc_chk and check length of tx packets
2024.7.31
  - fix driver load bit to inform firmware
2024.7.17
  - fix RSS for vlan packets in 21.02-21.11
2024.7.11
  - fix vlan strip offload in 17.02-17.08
  - EM: add restriction that vlan strip offload cannot be configured when port is up
2024.6.27
  - revert to enable vector by default for meson
2024.6.26
  - remove enabling vector by default for meson before 20.11
2024.6.25
  - EM: fix interrupt lost due to reading shared interrupt
  - fix compile errors
2024.6.20
  - fix some issues indicated by code review
  - SP: fix vf rx interrupt enable failure
  - fix some issues indicated by sonarcloud and coverity
2024.6.13
  - EM: add support for dpdk 21.08 and 21.11
  - SP: add support for dpdk 21.11
2024.6.6
  - SP: sync new kr tarinning flow
  - fix some issues indicated by code review
2024.5.31
  - SP: configure pcie bus master
  - EM: set phy power down in driver probe process
2024.5.30
  - SP: fix mac rx configuration
2024.4.17
  - fix hotplug remove
2024.4.16
  - EM: add port_id to hw struct
  - SP: change the assignment of port_id
  - disable lldp by default
2024.3.13
  - add workaround for vf promisc configuration
  - EM: fix max_vmdq_pools display error
2024.3.12
  - fix flow filters in VT mode
2024.2.8
  - fix rx interrupt enable failure
2024.2.7
  - EM: add support for yt8531sh-ca
2024.2.6
  - SP: add restriction that vlan strip offload cannot be configured when port is up
2024.1.25
  - add support for vector sse/neon
2024.1.8
  - fix resource leak

**** version 1.2.2 ****

2023.11.15
  - EM: add support for ncsi
2023.11.14
  - SP: change the flow of tunnel packets parsing
  - fix a bug that mtu could be set out of valid range
2023.11.1
  - add proper memory barriers in Rx
2023.10.23
  - fix compile warning in 16.04-17.02
2023.9.22
  - SP: fix to set port id according to function field of pci addr
2023.9.8
  - add process type check in close operation
  - fix to reconfigure mac rx when link update
  - SP: fix GRE tunnel packets checksum offload
2023.9.7
  - EM: support 100M and auto-neg in yt phy fiber mode
  - EM: fix link status of internal phy
  - EM: fix to set the number of VMDq
  - EM: add dis fall 100m bit of internal phy
  - EM: fix RSS offload capability
2023.8.1
  - SP: add TX queue maximum limit

**** version 1.2.1 ****

2023.6.8
  - SP: fix autoneg in setup link
2023.6.7
  - EM: fix flow_ctrl threshold set
2023.6.2
  - fix to keep link down after device close
2023.5.31
  - SP: fix blocking system events
2023.5.12
  - remove redundant version control code
  - EM: fix internal phy init failure when lldp on
2023.4.24
  - SP: workaround gpio interrupt lost in lldp-on condition
  - add tx broadcast&multicast packets to xstats
2023.4.23
  - delete polling mode for link status
  - SP: delete mng reset in reset_hw
  - SP: fix txgbe_flush access wrong addr for vf
2023.4.20
  - SP: add protect for PCS VR reset
2023.3.7
  - SP: fix autoneg switch in 1000M speed
2023.2.7
  - SP: add autoneg switch in 1000M speed
2022.12.29
  - add polling mode to link up&down

**** version 1.2.0 ****

2022.12.5
  - SP: support SFP hot-plug identification
2022.11.23
  - SP: fix setting vlan tpid to make 16.04 consistent with other versions
  - EM: change mbuf length to down rounding
2022.10.20
  - EM: fix packet type to parse from offload flags
2022.10.17
  - add overheat detection support
2022.10.10
  - SP: support to set 'ETH_LINK_SPEED_FIXED'
2022.10.9
  - SP: fix packet type to parse from offload flags
  - SP: add config RTE_TXGBE_DEBUG_PKT to toggle display tx info
  - SP: fix default TX_EQ value for KX/KX4 on old FW versions
2022.9.26
  - Add support for meson in 18.02~20.05
2022.9.23
  - SP: merge some versions since 19.11
2022.9.22
  - EM: merge versions
  - EM: add version 21.02 support
2022.9.21
  - EM: add spinlock protection for all registers accessing on yt phy

**** version 1.1.1 ****

2022.8.25
  - Fix compile error when using meson in 19.11
2022.8.9
  - EM: fix yt phy fiber&utp mode
2022.8.3
  - EM: fix compile error in 16.04
  - EM: fix compile error in 21.05
2022.8.2
  - EM: fix compile error in polling mode
2022.7.28
  - SP: fix LED OEM by firmware
2022.7.22
  - SP: fix compile error in 17.11~20.08
  - remove FW semaphore
2022.7.20
  - EM: add spinlock protection on yt phy ext registers accessing
2022.7.14
  - EM: add dev_set_link_up/down support for internal phy
2022.7.1
  - SP: fix FDIR IPv6 rule for rte_flow ops
2022.6.29
  - fix extended statistics and Rx error counters
2022.6.28
  - fix to keep MTU after device restart
  - fix Rx oversize counters
  - fix to set hw addr before flash read
2022.6.17
  - EM: support autoneg on/off on marvell and yt phy sfi mode
  - EM: add yt phy sgmii to rgmii mode
2022.6.15
  - EM: fix yt phy utp mode
2022.6.9
  - add support for oem svid and ssid
2022.6.2
  - fix to poll ipsec index reg
  - SP: fix register polling
2022.5.30
  - EM: fix marvell fiber phy to power down
2022.5.26
  - EM: fix probe failure introduced by the last fix
2022.5.25
  - EM: fix to check yt phy id
  - EM: change to read phy mode from flash for marvell mix mode
2022.5.19
  - EM: add version 21.05 support
2022.5.11
  - EM: fix marvell and yt PHY power down
  - EM: fix failure to set force speed in some versions
  - SP: fix SGMII link up
  - SP: fix max number of queues for SRIOV

**** version 1.1.0 ****

2022.3.29
  - EM: change pci mbox to rte ops, delete other mbox except dev init
  - EM: fix to power up for marvell phy
2022.3.28
  - EM: fix extended statistics
2022.3.25
  - EM: add macro config switch for AN retry
2022.3.3
  - EM: add AN retry when AN error bit occurs
  - EM: move reading flash to HW init
  - convert source files to unix format
2022.3.2
  - EM: read efuse from flash
  - EM: protect PHY init from check_link
2022.3.1
  - EM: add yt8531 support
2022.1.27
  - SP: fix KR always be force mode on some firmware version
2022.1.21
  - EM: fix force speed setting
  - EM: remove FW semaphore bit clear

**** version 1.0.4 ****

2022.1.17
  - EM: remove efuse configuration
  - EM: set DEBUGOUT log level to be debug
2022.1.14
  - fix compile warning
2022.1.5
  - EM: fix to get firmware version
  - EM: fix PHY init flow
  - EM: fix to read and write pcie bus master
2022.1.4
  - EM: add LED OEM control
  - EM: add sub device IDs and PHY types
2021.12.30
  - fix compile error in 20.05~20.11 for txgbe
2021.12.3
  - fix compile error in 16.04~17.08
2021.11.26
  - fix to set mtu
2021.11.23
  - support LED OEM flow for txgbe
2021.11.18
  - support to set link up/down for txgbe
2021.10.26
  - fix specific length packet statistics
  - set KR present value default to 0 for txgbe

**** version 1.0.3 ****

2021.10.11
  - fix to disable TX queues completely for ngbe
2021.9.29
  - fix PHY interrupt sometimes lost for ngbe
2021.9.28
  - fix compile error for txgbe
  - support to set pcie master for ngbe
2021.9.27
  - fix VXLAN-GPE with header in inner L2, and parse it in legacy versions

**** version 1.0.2 ****

2021.8.26
  - fix compile warning for txgbe
2021.8.25
  - fix legacy interrupt for txgbe
2021.8.3
  - fix fdir TCP/UDP port mask
2021.8.2
  - fix link status for txgbevf
  - add intertal YT8521 PHY for ngbe
2021.7.29
  - add polling mode to link up for YT8521 PHY
2021.7.28
  - fix link status when device stopped for txgbe
2021.7.22
  - fix I2C read issues
2021.7.13
  - fix to set vlan on vf

**** version 1.0.1 ****

2021.6.18
  - fix speed_capa in dev_info for ngbe
2021.6.9
  - add force-speed mode for ngbe
2021.5.20
  - fix dev_info get in some versions
2021.5.12
  - fix compile error in txgbe 16.04~18.08
2021.4.28
  - fix vxlan-gpe in txgbe
2021.4.16
  - fix fdir mask in txgbe
2021.4.14
  - fix 19.11 patch failed in 19.11.2
2021.4.13
  - support meson build in 19.11
  - fix 20.02 compile error
2021.4.12
  - fix txgbe 18.11 compile error
2021.4.8
  - disable BP log as default
  - fix vf mtu limit setting
2021.4.4
  - fix fw get error
2021.3.25
  - fix to get fw version for txgbe
2021.3.23
  - fix to support ngbe vf
  - fix double vlan config mask
2021.3.15
  - fix vf promisc disable in *~19.08
2021.3.11
  - fix rss in double vlan
2021.3.10
  - fix all tx dropped since KR support
2021.3.4
  - fix IPsec for txgbe
  - fix compile in arm neon
2021.3.1
  - update ngbe device id (0x0109~0x010B)
2021.2.19
  - add KR/KX4/KX support to txgbe
2021.1.25
  - fix vec sse to parse packet type
  - fix to set mc addr list for VF
  - fix rx packet missed counter
2021.1.8
  - add txgbe and ngbe support to 20.11
  - fix 20.08 patch script
2020.12.28
  - fix ngbe 20.02 compile error
2020.12.23
  - update packet type in txgbe and ngbe
