numam-dpdk/drivers/net
Rasesh Mody 9e33430517 net/qede: fix MTU set and max Rx length
This patch fixes issues related to MTU set and max_rx_pkt_len usage.
 - Adjust MTU during device configuration when jumbo is enabled

 - In qede_set_mtu():
   Return not supported for VF as currently we do not support it.

   Cache new mtu value in mtu_new for proper update.

   Add check for RXQ allocation before calculating RX buffer size
   if not allocated defer RX buffer size calculation till RXQ setup.

   Add check for before performing device start/stop.

 - Use max_rx_pkt_len appropriately

 - Change QEDE_ETH_OVERHEAD macro to adjust driver specifics

Fixes: 4c4bdadfa9 ("net/qede: refactoring multi-queue implementation")
Fixes: 9a6d30ae6d ("net/qede: refactoring vport handling code")
Fixes: 1ef4c3a5c1 ("net/qede: prevent crash while changing MTU dynamically")
Cc: stable@dpdk.org

Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
2018-01-29 10:48:16 +01:00
..
af_packet ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
ark ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
avf net/avf: fix VF Rx interrupt enabling 2018-01-29 10:04:28 +01:00
avp ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
bnx2x ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
bnxt net/bnxt: fix number of pools for RSS 2018-01-29 10:04:28 +01:00
bonding net/bonding: check dequeue result before proceeding 2018-01-29 10:04:28 +01:00
cxgbe ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
dpaa add experimental tag to appropriate functions 2018-01-29 23:35:29 +01:00
dpaa2 ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
e1000 net/e1000: fix VF Rx interrupt enabling 2018-01-29 10:04:28 +01:00
ena net/ena: do not set Tx L4 offloads in Rx path 2018-01-29 10:04:28 +01:00
enic net/enic: set L4 checksum flags for IPv6 packets 2018-01-29 10:04:28 +01:00
failsafe net/failsafe: add Rx interrupts 2018-01-29 10:04:28 +01:00
fm10k ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
i40e net/i40e: fix VF Rx interrupt enabling 2018-01-29 10:04:28 +01:00
ixgbe net/ixgbe: fix VF Rx interrupt enabling 2018-01-29 10:04:28 +01:00
kni ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
liquidio ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
mlx4 net/mlx4: fix broadcast Rx 2018-01-29 10:45:20 +01:00
mlx5 net/mlx5: map UAR address around huge pages 2018-01-29 10:04:28 +01:00
mrvl net/mrvl: fix mbuf to bpool lookup 2018-01-29 10:04:28 +01:00
nfp ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
null ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
octeontx ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
pcap ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
qede net/qede: fix MTU set and max Rx length 2018-01-29 10:48:16 +01:00
ring ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
sfc mk: add experimental tag check 2018-01-29 23:35:29 +01:00
softnic ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
szedata2 ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
tap net/tap: support Rx interrupt 2018-01-29 10:45:20 +01:00
thunderx ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
vdev_netvsc mk: add experimental tag check 2018-01-29 23:35:29 +01:00
vhost ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
virtio net/virtio: fix typo in function name 2018-01-29 10:04:28 +01:00
vmxnet3 ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
Makefile net/vdev_netvsc: introduce Hyper-V platform driver 2018-01-21 15:51:52 +01:00