Upgrading Oracle-Supported RDMA Packages for x86_64 platforms
Typical upgrade of Oracle-supported RDMA package can be achieved using the dnf update or yum update command. Note that the yum commands used in this procedure are interchangeable with the dnf command available in Oracle Linux 8.
 If you're upgrading a system where the oracle-rdma-release or
        oracle-rdma-release-guest package is installed and the package version is
      lower than version 0.18.1-1 and you intend to upgrade to version 0.18.1-1 or above, you must
      first manually remove the rdma-core-devel package before performing the
      upgrade. Remove this package using the rpm -e --nodeps command to
      remove the package outside of the standard yum or dnf package manager control and leaving any
      dependencies intact, for example: 
               
sudo /bin/rpm -e --nodeps rdma-core-devel sudo yum update
 If you're upgrading an older system where the oracle-ofed-release or
        oracle-ofed-release-guest package is installed and you intend to upgrade to
        oracle-rdma-release or oracle-rdma-release-guest version
      0.18.1-1 or above, you must manually remove development packages that were installed for OFED
      before performing the upgrade or installation of the oracle-rdma-release or
        oracle-rdma-release-guest package: 
               
sudo /bin/rpm -e --nodeps libibumad-devel libibverbs-devel librdmacm-devel libibmad-devel sudo yum install oracle-rdma-release-guest
 Note that these steps are only required for the transition from versions of the
        oracle-rdma-release and oracle-rdma-release-guest packages
      prior to 0.18.1-1 to version 0.18.1-1 or later; or for the transition from
        oracle-ofed-release to oracle-rdma-release version
      0.18.1-1 or later. These steps aren't required for upgrades after the packages are at version
      0.18.1-1 or later. 
               
oracle-rdma-release or
        oracle-rdma-release-guest package installed and if the package version is
      version 0.31.0-1, then you can remove it because that package no longer serves any
      purpose:sudo yum remove oracle-rdma-release*