net/bnxt: fix RSS action
[dpdk.git] / drivers / net / e1000 / em_ethdev.c
index 18fea4e..794496a 100644 (file)
@@ -1058,8 +1058,8 @@ eth_em_infos_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)
 
        /*
         * Starting with 631xESB hw supports 2 TX/RX queues per port.
-        * Unfortunatelly, all these nics have just one TX context.
-        * So we have few choises for TX:
+        * Unfortunately, all these nics have just one TX context.
+        * So we have few choices for TX:
         * - Use just one TX queue.
         * - Allow cksum offload only for one TX queue.
         * - Don't allow TX cksum offload at all.
@@ -1068,7 +1068,7 @@ eth_em_infos_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)
         * (Multiple Receive Queues are mutually exclusive with UDP
         * fragmentation and are not supported when a legacy receive
         * descriptor format is used).
-        * Which means separate RX routinies - as legacy nics (82540, 82545)
+        * Which means separate RX routines - as legacy nics (82540, 82545)
         * don't support extended RXD.
         * To avoid it we support just one RX queue for now (no RSS).
         */
@@ -1101,6 +1101,8 @@ eth_em_infos_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)
                        RTE_ETH_LINK_SPEED_100M_HD | RTE_ETH_LINK_SPEED_100M |
                        RTE_ETH_LINK_SPEED_1G;
 
+       dev_info->dev_capa &= ~RTE_ETH_DEV_CAPA_FLOW_RULE_KEEP;
+
        /* Preferred queue parameters */
        dev_info->default_rxportconf.nb_queues = 1;
        dev_info->default_txportconf.nb_queues = 1;
@@ -1556,7 +1558,7 @@ eth_em_interrupt_get_status(struct rte_eth_dev *dev)
 }
 
 /*
- * It executes link_update after knowing an interrupt is prsent.
+ * It executes link_update after knowing an interrupt is present.
  *
  * @param dev
  *  Pointer to struct rte_eth_dev.
@@ -1614,7 +1616,7 @@ eth_em_interrupt_action(struct rte_eth_dev *dev,
  * @param handle
  *  Pointer to interrupt handle.
  * @param param
- *  The address of parameter (struct rte_eth_dev *) regsitered before.
+ *  The address of parameter (struct rte_eth_dev *) registered before.
  *
  * @return
  *  void