]> git.baikalelectronics.ru Git - kernel.git/commit
i40iw: Reinitialize IEQ on MTU change
authorShiraz Saleem <shiraz.saleem@intel.com>
Mon, 16 Oct 2017 20:46:01 +0000 (15:46 -0500)
committerDoug Ledford <dledford@redhat.com>
Wed, 18 Oct 2017 17:28:46 +0000 (13:28 -0400)
commitc77cf9ac8bc4de9ceabed1f448540e866ac2b9cf
treeb8157d0028a66494a68f551d7ac378209a01f3b5
parent3900bd0d60dd60c393b26f4eb4602dcff708f19b
i40iw: Reinitialize IEQ on MTU change

On a netdev MTU change event, the iWARP
Exception Queue (IEQ) buffers may not be
sized properly to handle the new MTU.

Reinitialize the IEQ with new MTU size on MTU
change event.

Also, add define for the max ethernet frame size
field in IEQ QP context instead of the snd_mss
define which is for iWARP QPs' MSS field.

Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/i40iw_ctrl.c
drivers/infiniband/hw/i40iw/i40iw_d.h
drivers/infiniband/hw/i40iw/i40iw_main.c
drivers/infiniband/hw/i40iw/i40iw_p.h
drivers/infiniband/hw/i40iw/i40iw_puda.c