Re: [dpdk-dev] [PATCH v2 03/10] net/bnxt: implement vector mode driver

2019-05-28 Thread Lance Richardson
On Tue, May 28, 2019 at 5:08 AM Ferruh Yigit wrote: > > On 5/24/2019 3:49 PM, Lance Richardson wrote: > > @@ -1597,6 +1659,8 @@ > > > > bnxt_txq_info_get_op(struct rte_eth_dev *dev, uint16_t queue_id, > > > > static int bnxt_mtu_set_op(struct rte_eth_dev *eth_dev, uint16_t new_mtu) > > { > > + ui

Re: [dpdk-dev] [PATCH v2 03/10] net/bnxt: implement vector mode driver

2019-05-28 Thread Ferruh Yigit
On 5/24/2019 3:49 PM, Lance Richardson wrote: > @@ -1597,6 +1659,8 @@ > > bnxt_txq_info_get_op(struct rte_eth_dev *dev, uint16_t queue_id, > > static int bnxt_mtu_set_op(struct rte_eth_dev *eth_dev, uint16_t new_mtu) > { > + uint32_t new_pkt_size = new_mtu + ETHER_HDR_LEN + ETHER_CRC_LEN + > + V

Re: [dpdk-dev] [PATCH v2 03/10] net/bnxt: implement vector mode driver

2019-05-28 Thread Ferruh Yigit
On 5/24/2019 3:49 PM, Lance Richardson wrote: > Introduce vector mode support for the bnxt pmd. > > Signed-off-by: Lance Richardson > Signed-off-by: Ajit Khaparde > --- > v2: > * Squashed with v1 patch 4 ("fix double counting VLAN tags"). > * Dropped two unnecessary coding style changes from bnx

[dpdk-dev] [PATCH v2 03/10] net/bnxt: implement vector mode driver

2019-05-24 Thread Lance Richardson
Introduce vector mode support for the bnxt pmd. Signed-off-by: Lance Richardson Signed-off-by: Ajit Khaparde --- v2: * Squashed with v1 patch 4 ("fix double counting VLAN tags"). * Dropped two unnecessary coding style changes from bnxt_txr.h. config/common_base | 1 + drive