freebsd-nq/sys/dev/ixgbe
Eric Joyner adf93b56dc em/igb/ix(4): Port two Tx/Rx fixes made to ixl in r339338
- Fix assert/panic on receive when Jumbo Frames are enabled.

From the commit I made to ixl:
"It turns out that *_isc_rxd_available is supposed to return how many
packets are available to be cleaned on the rx ring. This patch removes
a section of code where if the budget argument is 1, the function would return
one if there was a descriptor available, not necessarily a packet.

This is okay in regular mtu 1500 traffic since the max frame size is less
than the configured receive buffer size (2048), but this doesn't work when
received packets can span more than one  descriptor, as is the case when the
mtu is 9000 and the receive buffer size is 4096."

- Fix possible Tx hang because *_isc_txd_credits_update returns incorrect result

From the commit by Krzysztof Galazka to ixl: "Function isc_txd_update_credits
called with clear set to false should return 1 if there are TX descriptors
already handled by HW. It was always returning 0 causing troubles with UDP TX
traffic."

PR:             231659
Reported by:    lev@
Approved by:	re (gjb@)
Sponsored by:   Intel Corporation
2018-10-14 05:09:43 +00:00
..
if_bypass.c
if_fdir.c
if_ix.c Fix PNP entries for if_ix and if_ixv properly using the IFLIB_PNP_INFO() 2018-10-11 22:27:12 +00:00
if_ixv.c Fix PNP entries for if_ix and if_ixv properly using the IFLIB_PNP_INFO() 2018-10-11 22:27:12 +00:00
if_sriov.c
ix_txrx.c em/igb/ix(4): Port two Tx/Rx fixes made to ixl in r339338 2018-10-14 05:09:43 +00:00
ixgbe_82598.c
ixgbe_82598.h
ixgbe_82599.c
ixgbe_82599.h
ixgbe_api.c
ixgbe_api.h
ixgbe_bypass.h
ixgbe_common.c
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_vf.c
ixgbe_vf.h
ixgbe_x540.c
ixgbe_x540.h
ixgbe_x550.c
ixgbe_x550.h
ixgbe.h Assorted TSO fixes for em(4)/iflib(9) and dead code removal: 2018-07-15 19:04:23 +00:00