Author: vmaffione Date: Wed Mar 25 23:06:04 2020 New Revision: 359310 URL: https://svnweb.freebsd.org/changeset/base/359310
Log: netmap: ixl: add CRC to outbound frames With this change, ixl netmap_txsync instructs the NIC to add CRC to transmitted frames. Submitted by: Alexandre Snarskii <s...@snar.spb.ru> Reviewed by: vmaffione Modified: stable/11/sys/dev/netmap/if_ixl_netmap.h Modified: stable/11/sys/dev/netmap/if_ixl_netmap.h ============================================================================== --- stable/11/sys/dev/netmap/if_ixl_netmap.h Wed Mar 25 20:20:08 2020 (r359309) +++ stable/11/sys/dev/netmap/if_ixl_netmap.h Wed Mar 25 23:06:04 2020 (r359310) @@ -239,7 +239,8 @@ ixl_netmap_txsync(struct netmap_kring *kring, int flag curr->cmd_type_offset_bsz = htole64( ((u64)len << I40E_TXD_QW1_TX_BUF_SZ_SHIFT) | flags | - ((u64)I40E_TX_DESC_CMD_EOP << I40E_TXD_QW1_CMD_SHIFT) + ((u64)I40E_TX_DESC_CMD_EOP << I40E_TXD_QW1_CMD_SHIFT) | + ((u64)I40E_TX_DESC_CMD_ICRC << I40E_TXD_QW1_CMD_SHIFT) ); // XXX more ? /* make sure changes to the buffer are synced */ _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"