net/cnxk: support meter action to flow create
[dpdk.git] / drivers / net / cnxk / cnxk_ethdev_ops.c
index b6cc528..d0924df 100644 (file)
@@ -92,7 +92,6 @@ cnxk_nix_rx_burst_mode_get(struct rte_eth_dev *eth_dev, uint16_t queue_id,
                {DEV_RX_OFFLOAD_HEADER_SPLIT, " Header Split,"},
                {DEV_RX_OFFLOAD_VLAN_FILTER, " VLAN Filter,"},
                {DEV_RX_OFFLOAD_VLAN_EXTEND, " VLAN Extend,"},
-               {DEV_RX_OFFLOAD_JUMBO_FRAME, " Jumbo Frame,"},
                {DEV_RX_OFFLOAD_SCATTER, " Scattered,"},
                {DEV_RX_OFFLOAD_TIMESTAMP, " Timestamp,"},
                {DEV_RX_OFFLOAD_SECURITY, " Security,"},
@@ -439,17 +438,6 @@ cnxk_nix_mtu_set(struct rte_eth_dev *eth_dev, uint16_t mtu)
                plt_err("Failed to max Rx frame length, rc=%d", rc);
                goto exit;
        }
-
-       frame_size += RTE_ETHER_CRC_LEN;
-
-       if (frame_size > RTE_ETHER_MAX_LEN)
-               dev->rx_offloads |= DEV_RX_OFFLOAD_JUMBO_FRAME;
-       else
-               dev->rx_offloads &= ~DEV_RX_OFFLOAD_JUMBO_FRAME;
-
-       /* Update max_rx_pkt_len */
-       data->dev_conf.rxmode.max_rx_pkt_len = frame_size;
-
 exit:
        return rc;
 }