Home
last modified time | relevance | path

Searched refs:hdr_sl (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/cavium/thunder/
Dnic_reg.h216 u64 hdr_sl:5; /* Header skip length */ member
228 u64 hdr_sl:5;
Dnic_main.c459 nic->pkind.hdr_sl = 0; in nic_init_hw()
911 if (ptp->enable && !pkind->hdr_sl) { in nic_config_timestamp()
915 pkind->hdr_sl = 4; in nic_config_timestamp()
917 pkind->maxlen += (pkind->hdr_sl * 2); in nic_config_timestamp()
921 } else if (!ptp->enable && pkind->hdr_sl) { in nic_config_timestamp()
922 pkind->maxlen -= (pkind->hdr_sl * 2); in nic_config_timestamp()
923 pkind->hdr_sl = 0; in nic_config_timestamp()