From 2d772503dd0ee8db2017f6dec6126c0bcf3deafe Mon Sep 17 00:00:00 2001 From: davidcs Date: Tue, 7 May 2013 22:58:42 +0000 Subject: 1. Updated Copyright Information 2. Added Flash Read/Update Support 3. Fixed TSO Handling Submitted by: David C Somayajulu (davidcs@freebsd.org) Reviewed by: George Neville-Neil (gnn@freebsd.org) Approved by: George Neville-Neil (gnn@freebsd.org) --- sys/dev/qlxgb/qla_hw.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sys/dev/qlxgb/qla_hw.h') diff --git a/sys/dev/qlxgb/qla_hw.h b/sys/dev/qlxgb/qla_hw.h index 46780be..57012dd 100644 --- a/sys/dev/qlxgb/qla_hw.h +++ b/sys/dev/qlxgb/qla_hw.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010-2011 Qlogic Corporation + * Copyright (c) 2011-2013 Qlogic Corporation * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -724,6 +724,8 @@ typedef struct _qla_sds { volatile uint32_t rcv_active; } qla_sds_t; +#define QL_FRAME_HDR_SIZE (ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN +\ + sizeof (struct ip) + sizeof (struct tcphdr) + 16) /* * struct for storing hardware specific information for a given interface */ @@ -791,6 +793,8 @@ typedef struct _qla_hw { bus_addr_t rx_cntxt_rsp_paddr; qla_sds_t sds[MAX_SDS_RINGS]; + + uint8_t frame_hdr[QL_FRAME_HDR_SIZE]; } qla_hw_t; #define QL_UPDATE_RDS_PRODUCER_INDEX(ha, i, val) \ -- cgit v1.1