freebsd-dev/sys/dev/ixgbe
Guinan Sun b3ebe337ff ixgbe: initialize data field in struct buffer
While sending request using ixgbe_hic_unlocked() the data field in
buffer struct is not used. It is set when the struct is overwritten by
FW to deliver the response. To not pass random data to FW the whole
structure should be zeroed before use.

Signed-off-by: Krzysztof Galazka <krzysztof.galazka@intel.com>
Signed-off-by: Piotr Pietruszewski <piotr.pietruszewski@intel.com>
Signed-off-by: Guinan Sun <guinanx.sun@intel.com>
Reviewed-by: Wei Zhao <wei.zhao1@intel.com>

Approved by:	imp
Obtained from:	DPDK (40543be5376ca415b2a7e196315d0555725b8bdf)
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D31621
2021-09-06 19:22:12 -07:00
..
if_bypass.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (15 of many) 2020-02-24 10:51:26 +00:00
if_fdir.c
if_ix.c ixgbe: Avoid sbuf_trim(9) in sysctl handler 2021-08-23 10:28:59 -07:00
if_ixv.c intel ethernet: Use ether_gen_addr(9) 2021-08-20 14:21:48 -07:00
if_sriov.c
ix_txrx.c ixgbe: Clean up ix_txrx 2021-07-17 23:25:56 -07:00
ixgbe_82598.c
ixgbe_82598.h
ixgbe_82599.c ixgbe: add IPv6 mask for flow director 2021-09-06 19:22:11 -07:00
ixgbe_82599.h
ixgbe_api.c
ixgbe_api.h
ixgbe_bypass.h
ixgbe_common.c ixgbe: fix maximum wait time in comment 2021-09-06 19:22:12 -07:00
ixgbe_common.h
ixgbe_dcb_82598.c
ixgbe_dcb_82598.h
ixgbe_dcb_82599.c
ixgbe_dcb_82599.h
ixgbe_dcb.c
ixgbe_dcb.h
ixgbe_fdir.h
ixgbe_features.h
ixgbe_mbx.c
ixgbe_mbx.h
ixgbe_osdep.c
ixgbe_osdep.h
ixgbe_phy.c
ixgbe_phy.h
ixgbe_rss.h
ixgbe_sriov.h
ixgbe_type.h ixgbe: fix host interface shadow RAM read 2021-09-06 19:22:11 -07:00
ixgbe_vf.c ixgbe: clear all queues on VF reset 2021-09-06 19:22:11 -07:00
ixgbe_vf.h
ixgbe_x540.c
ixgbe_x540.h
ixgbe_x550.c ixgbe: initialize data field in struct buffer 2021-09-06 19:22:12 -07:00
ixgbe_x550.h
ixgbe.h ixgbe: Restore AIM support 2021-05-03 13:47:14 -04:00