]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/octeontx2/otx2_flow.c
net/ngbe: support MAC filters
[dpdk.git] / drivers / net / octeontx2 / otx2_flow.c
index 6df0732189eb9ffc60681e2d1cef66b1a535c09a..1d0fe4e950d422094c7010a413df9d2d38f3cb26 100644 (file)
@@ -625,7 +625,7 @@ otx2_flow_create(struct rte_eth_dev *dev,
                goto err_exit;
        }
 
-       if (hw->rx_offloads & DEV_RX_OFFLOAD_SECURITY) {
+       if (hw->rx_offloads & RTE_ETH_RX_OFFLOAD_SECURITY) {
                rc = flow_update_sec_tt(dev, actions);
                if (rc != 0) {
                        rte_flow_error_set(error, EIO,